![]() The UPN or object identifier of the target Azure AD account.The most basic operation is to assign a license to an Azure AD account using the Set-MgUserLicense cmdlet. You need to sign into an administrator account and access the beta endpoint to have full access to license information. To start off, connect to the Microsoft Graph using the Connect-MgGraph cmdlet. ![]() It’s evident from the questions I received since and what I see in internet searches that the basics of license assignment and removal needs more discussion and examples, which is what I attempt here. I show how to approach using the SDK for license management in an example which creates a licensing report for a tenant. Microsoft’s suggests that tenant use cmdlets from the Microsoft Graph PowerShell SDK to replace those from the two deprecated modules. Update (July 29): Microsoft has extended the deadline to retire the Azure AD and MSOL licensing cmdlets to March 31, 2023. The extra eight weeks is appreciated, but time is slipping away to inventory and update license management scripts. The new schedule includes some extra breathing space for license management cmdlets as Microsoft now plans to introduce the new license management platform for Microsoft 365 on August 26, 2022, instead of June 30. Microsoft’s revised schedule to retire the Azure AD and Microsoft Online Services (MSOL) PowerShell modules gives tenant administrators a little extra time to upgrade scripts before support ceases in early 2023. Assigning Multiple Licenses in One OperationĬovering Microsoft 365 License Management Basics.Covering Microsoft 365 License Management Basics.
0 Comments
Leave a Reply. |