Manage Office 365 Licenses AD Group
Hello,
Since a few days, Microsoft finally allow us to manage the Office 365 licenses affectation with AD group. There are some prerequisites, but none of them are show stopper.
- Use a group in Azure AD (can be synced from AD)
- Azure AD Basic or above required for setup (during preview only)
- Nested groups won’t work (for now)
- Can’t be configured from PowerShell (for now)
- Only available from Azure portal (Not Office 365)
Manage Office 365 Licenses AD Group
First, you need to connect to the Azure portal with your Office 365 admin account, or you can connect to Office 365 admin page, and then open the Azure AD admin page:
Then, you need to use the new portal:
Next, go on the Azure AD blade:
Next, Licenses:
You need to choose which SKU you will manage by the Azure AD group. You can assign multiple groups for multiples SKU, you just need to repeat the operation for each group.
Now, you can choose which Azure AD group (synced from AD or not) you want to use to auto affect Office 365 licenses:
The last step is to choose your licenses template, indeed, you can only affect a subset of service plan if you want to:
And now you’re done:
Now, each time you put a user inside the group, it will have a Office 365 E3 license in matters of minutes after the Active Directory sync. If you make a combo AADConnect and this feature, you can assign licenses at light speed ! 30 minutes max between sync, then a few minutes for Azure AD to assign the license. You can now retire your old PowerShell script for managing licenses.
Verify Which Groups Assign Licenses
If you’ve configured this some time ago, and want to see which groups assigns licenses dynamically, you need to go on the portal, just like before, on then, click on the product name:
Then, you’ll see all the licensed users, but, you can also see the groups:
If you click on the group, you’ll be able to modify some properties, and you’ll also be able to modify licenses options if you changed your mind:
Keep Track about Licenses Activation Method
Now that you setup this new feature, you can start “migrating” the licenses affectation method from the “Direct” or “Inherited”. You can keep track of which one is used on a per user basis with the blade of the license and the “Licensed Users” view:
Note: All of those users came from an old blog post.
Conclusion
This feature is very welcome, it simplify the licenses affectation process for Office 365 that was kind of painful previously. There was a lot of public PowerShell script to help us, but they all required some form of credentials on disk to be able to run on a schedule, and the schedule wasn’t great in much cases.
This feature enable or disable based on AD group membership within minutes after the group membership changed.