Assigning licenses with groups in Entra ID

Assigning a license to every new employee by hand is a lot of clicking, and it's easy to forget. With group-based licensing you link a license to a group. Anyone in the group gets the license automatically; anyone who leaves loses it. Combine that with a dynamic group per persona, such as Sales, Office or Frontline, and assigning licenses runs by itself. This article explains how to set it up, what you need first and how to fix errors.

Updated on 21 October 2026. Expanded with the requirements, working with personas, moving from direct to group licenses, common errors and tips for admins.

What do you need?

Define your personas

A persona is a group of employees with the same needs. Think of office workers with a full license, frontline workers who only need Teams and mobile apps, or interns with a limited set. Create one group per persona and link the right license to it. That way you see at a glance who gets what. Read more about groups in manage users and groups in Microsoft Entra ID, and use compare Microsoft 365 plans to choose the right product per persona.

1. Create a group per persona

  1. In the Entra admin center, go to Groups > All groups > New group.
  2. Choose the type Security and give the group a clear name, for example LIC-Sales-BusinessPremium.
  3. Choose the membership type Dynamic user and set a rule, for example user.department -eq "Sales". Or choose Assigned and add members yourself.
  4. Use Validate rules to test whether the right users fall into the group, then select Create.
Creating a new group in Microsoft Entra
A dynamic membership rule

A dynamic rule only works if the attributes are correct. Make sure fields such as department or job title are filled in, for example through your HR integration or when you bulk import users. Assigned groups also work well for a small persona; you can add multiple users at once in a similar way in Teams.

2. Link the license to the group

  1. Go to Billing > Licenses > All products and choose the product, such as Microsoft 365 Business Premium.
  2. Select Assign and pick the group.
  3. Optionally turn off components this group doesn't need, such as an app you don't use.
  4. Select Assign.

Microsoft is increasingly bringing license management together in the Microsoft 365 admin center. There you'll find the same option via Billing > Licenses, the product and the Groups tab. Menu names can differ slightly.

Licenses in the Entra admin center
Assigning a license to a group
Choosing license components

3. Check

Under Licenses on the group you see whether the assignment succeeded. Processing can take a while for large groups. If there aren't enough licenses, the affected users show an error. On a user you can see for each license whether it was assigned directly or inherited (through a group). Also read check which license a user has.

The status of group licenses

From direct to group licenses

Do your users already have a license assigned directly? First add them to the group and wait until the group license is active. Only then remove the direct assignment. That way nobody temporarily loses access to mail or files. If a user is in two groups with the same product, they get the combination of the enabled components and use only one license.

Common problems

Tips for admins

Nederlandstalige versie: Microsoft 365-licenties automatisch toewijzen met groepen in Entra ID


Related articles