Microsoft 365 License Management for Azure AD Accounts with the Microsoft Graph PowerShell SDK
MSOL and Azure AD license management cmdlets stop working in August 2022 when Microsoft 365 switches to a new license management platform. The Microsoft Graph PowerShell SDK includes cmdlets which can replace the older code, once you know how. The good news is that this article is packed full of practical examples of how to add, remove, and update licenses assigned to Azure AD accounts.
April 13, 2022