![]() ![]() Example 3: Assign a license to a user with some disabled plans Connect-Graph -Scopes, Set-MgUserLicense -UserId '38955658-c844-4f59-9430-6519430ac89b' -AddLicenses $addLicenses -RemoveLicenses DisplayName Mail UserPrincipalName UserType $FlowSku = Get-MgSubscribedSku -All | Where SkuPartNumber -eq 'FLOW_FREE' ![]() ![]() Example 2: Assign more than one licenses to a user Connect-Graph -Scopes, This example assigns a license from the EMSPREMIUM (ENTERPRISE MOBILITY + SECURITY E5) licensing plan to the unlicensed user 38955658-c844-4f59-9430-6519430ac89b.įor more information, see assign licenses to users accounts with PowerShell. $EmsSku = Get-MgSubscribedSku -All | Where SkuPartNumber -eq 'EMSPREMIUM' Invoke action assignLicense Examples Example 1: Assign a license to a user Connect-Graph -Scopes, Invoke action assignLicense In this article Syntax Set-Mg User License ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |