Jump to content

Recommended Posts

Posted

 

About time too, don't worry MS I'll come up with some more ideas to improve your services soon, how about getting that Explorer \ placeholder \ OneDrive system sorted out in the next Win10 release :p

  • Thanks 1
  • 3 weeks later...
Posted

I cannot wait for AD Group license assignment directly into Admin Centre or Azure portal! That is how it should have been made from the start.

 

Anyway the solution I used is based on the powershell script you can find here :https://365lab.net/2014/04/15/office-365-assign-licenses-based-on-groups-using-powershell/

 

I added a line that adds a disabled Service Plans (if you look at the scripts, that line goes between the 46th and 47th lines and the 51st and the 52nd). The line goes as follow :

 

[font=century gothic]LicenseOptions = New-MsolLicenseOptions -AccountSkuId ":STANDARDWOFFPACK_IW_FACULTY" -DisabledPlans "EXCHANGE_S_STANDARD"[/font]

 

This line adds the information for disabling Exchange Online for every users when you later give the license. In my case my hybrid configuration wasn't reader yet, but you can disable any Service Plans, YAMMER for example, or any other. Of course when the script actually set the license, you need to add the -LicenseOptions option to make it work, just like this :

 

[font=century gothic]Set-MsolUserLicense -UserPrincipalName $User -AddLicenses $AccountSKU.AccountSkuId -LicenseOptions $Licenses[$license].LicenseOptions -ErrorAction Stop -WarningAction Stop[/font]

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...