·

,

How to Automate Microsoft License Assignment as Easy as 1-2-3

Automate Microsoft License assignment

Automate Microsoft License assignmentlemon 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://learn.microsoft.com/en-us/azure/active-directory/fundamentals/active-directory-licensing-whatis-azure-portal

https://learn.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:


Discover more from Jens Kofod

Subscribe to get the latest posts sent to your email.


// about the author

Jens Kofod, Senior Solution Engineer at Microsoft Denmark

Jens Kofod

Senior Solution Engineer at Microsoft Denmark. Writes about Power Platform, Copilot Studio, and Dynamics 365. About → · LinkedIn ↗

2 responses to “How to Automate Microsoft License Assignment as Easy as 1-2-3”

  1. […] To Complete Automation for License assignment, please see this post: Automate Microsoft License assignment as Easy as 1-2-3 […]

  2. […] Assignment of licensing can be automated Learn here how-to in less that 5 minutes. […]

Leave a Reply

Discover more from Jens Kofod

Subscribe now to keep reading and get access to the full archive.

Continue reading

Discover more from Jens Kofod

Subscribe now to keep reading and get access to the full archive.

Continue reading