Automate Microsoft License assignment as Easy as 1-2-3

lemon in body of water

Let us squeeze this lemon to automate as much as possible of the tedious work regarding the administration of a Dynamics 365 Customer Engagement or PowerApps.

The most natural tedious work to automate with the most significant impact will be the license assignment if you ask me, so let us explore how to automate this by looking at what is built into Azure Active Directory

When done with the below steps,  you only need AD group access role rather than Microsoft Office 365 Admin to add a license to a user.

Step 1 – How to Automate License Assignment

  1. Start with log in to Azure portal https://portal.azure.com/ and navigate to Azure Active Directory and open up Groups section https://portal.azure.com/#blade/Microsoft_AAD_IAM/GroupsManagementMenuBlade/AllGroups and click the + “New Group.”AD1
  2. Create a new Security Group by giving it a name and descriptionAD2
  3. Open the newly created groupAD3
  4. Navigate to the “Licenses” section and click “+ Assign.”AD5
  5. Click “configure Required Settings” and select the “Product license” to related to AD GroupAD7
  6. Click “Assignment Options” to add sub-license sections if needed. Click “Assign”AD8
  7. That is it.. if a User is added to this new Group the user will automatically have the selected security role assigned… Click “Member” and add a user.AD10

For details read, see Microsoft documentation:

https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/active-directory-licensing-whatis-azure-portal

https://docs.microsoft.com/en-us/azure/active-directory/users-groups-roles/licensing-groups-assign

See here how I did it and if it works…spoiler alert, it actually works:

 

One thought on “Automate Microsoft License assignment as Easy as 1-2-3

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.