EASYENTRA Blog

News & Updates

How to Assign Group-Based Licensing in Microsoft 365

How to Assign Group-Based Licensing in Microsoft 365

Assigning Microsoft 365 licenses individually might work when managing a handful of users. But as your organization grows, manually assigning licenses to every new employee becomes time-consuming and increases the chances of mistakes. Group-based licensing in Microsoft Entra ID simplifies this process. Instead of assigning licenses to users individually, administrators can assign licenses to a group. Users automatically inherit those licenses when they become members, and group-based licenses are removed when they leave the group. In this guide, we’ll see how to configure group-based licensing in Microsoft 365.

Prerequisites for Group-Based Licensing

Before configuring group-based licensing, check the following requirements:

Administrative permissions: You need an appropriate role, such as Global Administrator, License Administrator, or User Administrator.

Supported groups: Group-based licensing supports Security groups and Microsoft 365 groups. This includes cloud-only groups as well as groups synchronized from on-premises AD (allowing you to manage licensing via local AD group membership).

Direct membership: Nested group membership is not processed, so users must be direct members of the licensed group.

1. Configure Group-Based Licensing in Microsoft 365 Admin Center

The Microsoft 365 admin center provides a straightforward way to assign licenses to groups without using PowerShell.

  1. Sign in to the Microsoft 365 admin center.
  2. Navigate to Billing → Licenses.
  3. Select the license you want to assign, such as Microsoft 365 E3 or E5.
  4. Choose Assign licenses.
  5. Search for and select the security group or Microsoft 365 group you want to license.
  6. Review the available apps and services. If necessary, turn off individual service plans that members do not require.
  7. Click Assign licenses to save the configuration.

Once configured, Microsoft Entra ID processes the license assignments for the group’s direct members.

When an employee leaves the group, the license inherited from that group is removed. However, licenses assigned directly or through another group remain unaffected.

2. Assign Microsoft 365 Licenses to Groups Using PowerShell

Microsoft Graph PowerShell provides another way to configure group-based licensing. This is useful when managing multiple groups or incorporating license assignments into administrative scripts.

Install the Microsoft Graph PowerShell module if you haven’t already.

Install-Module Microsoft.Graph -Scope CurrentUser 

Connect to Microsoft Graph with the required permissions.

Connect-MgGraph -Scopes "Group.Read.All", "Organization.Read.All", "LicenseAssignment.ReadWrite.All" 

Before assigning licenses to a group, check which license subscriptions are available in your tenant.

Get-MgSubscribedSku | Select-Object SkuPartNumber, SkuId, ConsumedUnits 

This command displays the license SKU name, its unique identifier, and the number of licenses currently assigned. Next, retrieve the Microsoft Entra groups in your tenant along with their unique IDs.

Get-MgGroup -All | Select-Object DisplayName, Id 

This displays the group names and their corresponding IDs.

Now that you have the group ID and license SKU ID, use the following command to assign the license.

Set-MgGroupLicense -GroupId "<GroupID>" -AddLicenses @{SkuId = "< SkuId >"} -RemoveLicenses @() 

Once the assignment is processed, eligible direct members of the group automatically inherit the license. New users added to the group will also receive it, provided sufficient licenses are available.

After assigning the license, verify that it appears in the group’s assigned licenses.

Get-MgGroup -GroupId "<GroupID>" -Property DisplayName,AssignedLicenses | Select-Object DisplayName -ExpandProperty AssignedLicenses 

The output should include the assigned license SKU ID.

View Group-Based License Assignments in EasyEntra

If you want a quick overview of which licenses are assigned to your Microsoft Entra groups, EasyEntra makes it easy to check without opening each group individually.

Open EasyEntra and navigate to Entra ID → Groups.

In the group list, locate the Licenses column.

If it isn’t visible, switch to Full Loading Mode.

Click Export List to export the group details, including license information, for further review.

This gives administrators a convenient way to review group license assignments alongside group type, membership configuration, and synchronization status, all from a single view.

Free 30-minute demo

try 30 days for free

GET EASYENTRA NEWS

Opt out at any time

“One of the best products I've used.”
Gary Shurland
Chief Information Officer, Mirick, United States
“This tool has been invaluable in streamlining our IT processes.”
Tyson Mckay
Chief Information Officer, Southwest Network, United States
“EasyEntra includes offboarding steps we’d never even thought of, like removing inbox rules.”
Jerry Jacobson
IT Operations Manager, MetalTek International, United States
“This product has been a miracle for our Help Desk. EasyEntra has completely transformed how we handle Microsoft 365 administration.”
Doug Sanders
Manager of Technical Customer Support, Junior Achievement USA, United States
“Your product is such a time saver. I love it!”
Scott Fehr
IT Infrastructure, MEC Aerial Work Platforms, United States
“It's a good product and saves us lots of time for these ongoing quick admin tasks.” 
Chris McFerran
Managing Director, CTech IT Solutions Ltd, United Kingdom
“The speed of creating a user is magic.” 
John Duncan
IT Administrator, MetalTek International, United States
“EasyEntra has significantly streamlined our workflow, simplifying everything. It feels almost like a revolution.”
Johan Sadelius
IT-chef, Arjeplog Kommun, Sweden
I greatly appreciate your assistance and willingness to enhance the already outstanding product.”
Michael I. Wilson
Executive Director of Information Technology, Archdiocese Of Washington, United States
“It's great not having to switch back and forth between the O365 admin center and the Teams admin center to assign groups. I am sold!”
Thomas Madden
Director Information Technology, AutoPayPlus, United States
“I would highly recommend organizations use the solution as it greatly simplifies various tasks.”
S. Roger Singh
Chief Technology Officer, Prasad & Company LLP, Canada
“EasyEntra is time-saving. Love the copy/paste for user/computer groups and the copy to new user.”
Damian Nita
Associate Network Administrator, Shenandoah Valley Westminster-Canterbury, United States
“EasyEntra has transformed our daily IT operations by simplifying user management, reducing errors, and enhancing overall efficiency.”
Henrik Nefling
IT- and Digitalization Manager, Animal Protection Denmark, Denmark