Handling a licence through a group: how group-based licensing works
Instead of giving every new employee a licence separately, you can tie it to group membership. That saves manual work, as long as the right people end up in the right group.
Without groups you assign a licence per user: in the Microsoft 365 admin center, with PowerShell or through a script. That is called a direct assignment. With group-based licensing you assign the licence to a group once. Entra ID then works out for itself who is a member and gives those people the licence. That is called an inherited assignment: the user has the licence because they are in the group.
If someone joins the group, they get the licence. If they leave it, they lose it, unless they also have the same licence through another group or directly. You can attach a licence to a security group, a mail-enabled security group or a Microsoft 365 group, and the group can come from your own Active Directory or be dynamic. How those groups differ is covered in the difference between security groups and Microsoft 365 groups.
You can also turn off service plans per group. A group "Office" then gets Microsoft 365 E3 without, for example, Sway or Viva Engage, while the licence itself stays the same. That applies to everyone who gets the licence through that group.
| Direct assignment | Through a group | |
|---|---|---|
| Who decides | An administrator, per user | Membership of the group |
| Licence requirement | No extra licence | Entra ID P1 or higher for every user who benefits from it |
| On departure or transfer | Someone has to remove it | Follows the membership |
| Turning off service plans | Per user | Per group, for everyone at once |
| Where it goes wrong | Forgetting to remove it | Wrong membership and silent errors |
