Assign Office 365 Licenses with Active Directory Groups

Published on
4,837 Points
Last Modified:
Shaun Hardneck
Passionate and Experienced IT Professional with experience in Microsoft Exchange Messaging and Office 365 solutions.
Microsoft Office 365 is a subscriptions based service which includes services like Exchange Online and Skype for business Online. These services integrate with Microsoft's online version of Active Directory called Azure Active Directory.

Assign Office 365 Licenses with Active Directory Groups


In this post I will walk through the options of assigning Office 365 Licenses based on Active Directory Group membership. Microsoft recently released the new feature in Azure Active Directory which allows you to apply Azure licenses, as well as Office 365 licenses based on group membership.


To get started and make use of this feature in Azure Active Directory an Azure Active Directory Premium Plan subscription needs to be enabled.


For the purpose of this demonstration I have created a 30 Day trail of Azure AD Premium. I have also already configured Microsoft Azure Active Directory Connect to sync my groups and users to Azure AD. Tool can be downloaded here.


To get started I have created the following group in my On-premises Active Directory and this group has been synced to AZ AD.

Now connect to your Azure AD Portal link, then navigate to Azure Active Directory.

On the right hand side under "Quick tasks" click on "Find a group" and then click on the newly created and synced group.

On the overview page of the selected group we can see that there is two users part of the newly created group.

Next lets go ahead and click on Licenses on the left hand side menu.

And then click on "Assign" on the top of the next menu.

In the "License Assigning" menu , click "Configure required settings".

Then select the available licenses. For this post I have Office 365 Enterprise E3 licenses and I will be selecting those and then clicking select at the bottom on the Menu.

On the Assignment menu, select which options you do not want to assign to users of this group and then click OK.

Once back on the "Assign License" menu, click on "Assign" at the bottom of the menu.

Next we can see that the licenses are now available and assigned to the group.

Now that the licenses have been assigned to the Active Directory group, lets connect to Office 365 and verify that the licenses have been assigned to the two mentioned users in the group.

Connect to the Office 365 Admin Portal.

Once connected to the Admin portal, go to "Users" then "Active users" and then from the Menu on top, select "Views > Licensed users"


As you can see, the two users have been synced and the Office 365 License has been assigned to the Users.

With this option available, it makes it easy to configure and provision Office 365 mailboxes, as well as configuring different groups, which will allow users to have access to different types of online services.

Hope that these steps will be as beneficial for some as they were for me. Configuring Azure and Office 365 Licenses based on groups freed up my time to do something else.



Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Join & Write a Comment

In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month