Office 365 - applyigng licenses to user ina group

Ask your PowerShell-related questions, including questions on cmdlet development!
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 6 years and 5 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
devereux0110
Posts: 38
Last visit: Mon Oct 02, 2017 7:11 am

Office 365 - applyigng licenses to user ina group

Post by devereux0110 »

Really struggling with this one
Don't seem to be able to even get a start

We have Office 365 and have synced our domain to the Office 365 System along with all users and group memberships,
Wehave installed and connected to Office 365 with Azure AD Module for Powershell and are now trying to give all members of the group "All Staff"the license "Office 365 ProPlus for faculty"

We are licensed for this and have enough licenses to cover the members of the group but cannot quite workout the code to do this at all,anyhelp apprecaited.
Only just started messing with POwershell on a computer, adding Office 365 into the mix throwing us a little.
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: Office 365 - applyigng licenses to user ina group

Post by jvierra »

Just use the license commands to add the licenses to the users in a loop. For detailed instructions see: https://technet.microsoft.com/en-us/lib ... 71770.aspx
User avatar
devereux0110
Posts: 38
Last visit: Mon Oct 02, 2017 7:11 am

Re: Office 365 - applyigng licenses to user ina group

Post by devereux0110 »

Thanks for the link
This topic is 6 years and 5 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked