Loading...

Migrate your apps to access the license managements APIs from Microsoft Graph

Migrate your apps to access the license managements APIs from Microsoft Graph

Update 7/29/2022: We have updated the retirement date of the Azure AD Graph and MSOnline PowerShell licensing assignment APIs and PowerShell cmdlets for existing tenants to March 31, 2023. APIs and Cmdlets will not work for new tenants created after November 1, 2022. Customers may notice performance delays as we approach the retirement deadline, so we recommend prioritizing migration to MS Graph following the guidance below and in Find Azure AD and MSOnline cmdlets in Microsoft Graph PowerShell | Microsoft Docs.

 

Update 6/23/2022: Please note that adoption of the new platform is not available for Q1 2022. Customers will be able to opt in to use the new licensing platform and its functionality at a future, to-be-determined date. We will provide another update at the end of CY2022.

 

Update 5/19/2022: We have changed the retirement date of the Azure AD Graph and MSOnline PowerShell licensing assignment APIs and PowerShell cmdlet. Going forward, we are centralizing our change announcements. For up-to-date information, please refer to change management blog posts: Azure AD: Change Management Simplified - Microsoft Tech Community.

 

 

Howdy folks!

 

In June, I reminded you to update your apps to use Microsoft Graph due to the end of support for Azure Active Directory (Azure AD) Graph on June 30, 2022. Apps using Azure AD Graph after this time will no longer receive responses from the Azure AD Graph endpoint.  

 

Retiring license assignment APIs

Since the Azure AD Graph APIs are being retired, we are also retiring the license assignment operation in the MSOnline and Azure AD PowerShell modules. We recommend that you update existing applications to access the license assignment APIs from the Microsoft Graph endpoint and update your scripts to use the Microsoft Graph PowerShell module to reduce the impact on operations. Other operations in the MSOnline and Azure AD PowerShell modules won’t be impacted.

 

Below are some of the operations that will no longer receive a successful response beginning on June 30, 2022.

 

Existing operation (will no longer receive a successful response)

Microsoft Graph equivalent to use going forward

MSOnline PowerShell

·       Set-MsolUserLicense

·       New-MsolUser (where -LicenseAssignment or -LicenseOptions is provided)

Microsoft Graph PowerShell

·       Set-MgUserLicense

Azure AD PowerShell

·       Set-AzureADUserLicense

Azure AD Graph API (graph.windows.net)

·       assignLicense

Microsoft Graph API

·       assignLicense

 

 

What’s next: new license management platform

The current license management features have grown to address the needs of our customers, with key innovations like group-based licensing. But as the needs of our customers have evolved, we decided to rebuild the online services licensing platform from the ground up. Below is an early look into future changes to the platform, designed with four key goals in mind:

  • Flexibility: Expanding beyond a single administration structure, single megalithic pool of seats, or even a single tenant.
  • Simplicity: Reducing unnecessary complexity and simplify getting your licenses to your end users.
  • Speed: Gaining quick access to what you’ve purchased.
  • Accuracy: Reflecting what you have purchased and the licenses you have available to assign.

 

Realizing the entire vision will take time, but today we are sharing the first milestone in this journey. Starting in the first quarter of 2022, customers can opt-in to use the new license management platform. Here are the features you will see as part of this milestone:

  • Allotments will help you separate your licenses into smaller batches so you can set limits on how many licenses are used, and delegate ownership to manage them.
  • Group licensing will be extended. In the new licensing platform, Azure AD Premium or Office 365 E3 will no longer be required to use group-based licensing for license assignments. In addition, nested groups will now work for license assignments.
  • New license types, including device-based licenses and ISV app licensing, will work natively on the new platform.

 

In the future, look forward to hearing more about the new license management platform, including how to get started using it and details on new API and PowerShell options to leverage the new features.

 

Best regards, 

Alex Simons (Twitter: @Alex_A_Simons)

Corporate Vice President of Program Management

Microsoft Identity Division

 

 

Learn more about Microsoft identity:

Published on:

Learn more
Azure Active Directory Identity Blog articles
Azure Active Directory Identity Blog articles

Azure Active Directory Identity Blog articles

Share post:

Related posts

SharePoint Framework Community Call – August 21st, 2025 – Screenshot Summary

Community Call Highlights   SharePoint Quicklinks: Primary Community Websites: https://aka.ms/m365pnp —– PnP Sharing Is Caring: Pn...

4 hours ago

Build SharePoint automations with Workflows—now aligned with the Teams experience

SharePoint introduces a new Workflows experience aligned with Teams, powered by Power Automate, for streamlined automation in lists, libraries...

4 hours ago

New admin control in Microsoft 365 admin center for org-wide sharing of user-built Copilot agents

Microsoft 365 is introducing a new admin control for tenant-level management of org-wide sharing links for user-built Copilot agents. Rolling ...

4 hours ago

Collaborate with Microsoft Loop Pages in Teams Channels

Microsoft Loop Pages will be integrated as tabs in Teams channels, allowing creation, editing, sharing, and mobile viewing. Rolling out from S...

4 hours ago

Microsoft 365 Copilot Chat: new service listing in Service health and Message center

Microsoft 365 is introducing a new service listing, Microsoft 365 Copilot Chat, in Service health and Message center to improve communication ...

4 hours ago

Unread News Notifications in Viva Connections

Viva Connections will send weekly Microsoft Teams notifications starting late August 2025, reminding users of unread SharePoint news from the ...

4 hours ago

Viva Insights: New Power BI report for Microsoft 365 Copilot agent metrics

Microsoft Viva Insights introduces a new Power BI report for Microsoft 365 Copilot declarative agents, providing leaders and admins with adopt...

4 hours ago

Viva Engage: Public discussions now available in Workplace Search and Copilot Search

Viva Engage public discussion posts will appear in Microsoft 365 enterprise searches on Office.com, SharePoint.com, and Copilot Search startin...

4 hours ago

Viva Glint: Focus area enhancements and retirement of goal periods

Viva Glint will enhance focus areas by linking them to survey cycles and retiring goal periods, simplifying reporting and aligning with survey...

4 hours ago

Microsoft Teams: App Deployment in Teams Admin Center

We’re introducing a new admin setting that replaces the Installed apps section in app setup policies, enabling more streamlined per-app ...

4 hours ago
Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!
* Yes, I agree to the privacy policy