about Set-MgUserLicense -skuid number limit

Mobu 20 Reputation points Microsoft Vendor

Hi team,

I'm automating user license assignment using Set-MgUserLicense command. I'd like to assign multiple licenses to a user at one time as described in this doc:


I'm wondering when specify -AddLicenses parameter with skuid, is there a maximum limit for the number of licenses that I can assign at once. I understand it should not exceed the total number of licenses I own in my tenant. Just want to check any limitation or restriction on the Graph API or Entra ID side.

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
4,324 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,381 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,559 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Andy David - MVP 145.1K Reputation points MVP

    Im not aware of any limits there.

    Consider using Licensing groups instead of direct assignment however and simply add or remove users to those groups as needed


    0 comments No comments