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

Published Aug 26 2021 09:00 AM 15.5K Views

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:

6 Comments
Regular Visitor

What do you mean, "I remind" you? That is news to me. I just upgraded a PowerShell application from MSOnline to AzureAD this morning. What's going on? Is PowerShell being depreciated as a way to manage my tenant? How come there is no warning in the official documentation of AzureAD? Should I expect my PowerShell applications to start failing one after the other because the endpoitns for the cmdlets are being turned off one after the other in favor of Graph API and JavaScript?

Regular Visitor

Moving from Azure AD Graph to Microsoft Graph with the PowerShell management modules is appreciated, as it seems to be the Microsoft API for such topics. Unfortunately, the documentation status for the Microsoft Graph PowerShell modules is less-than-optimal, it's rather underwhelming in fact.

We had an initial look at some of Microsoft.Graph.Identity.DirectoryManagement and Microsoft.Graph.Users PowerShell modules' licensing cmdlets, as we use both MSOnline and AzureADPreview PowerShell modules for license management, and the documentation is merely a list of parameters. They're missing helpful descriptions, examples, etc.

 

Even if customers are willing to migrate their scripts to the new API, the current level of documentation probably doesn't really help.

Occasional Contributor

All Graph is completely undocumented as far as Powershell is concerned. Also, all Powershell logic (when and how parameters are used and should be used) is drifting to a "custom" logic for each of the Powershell Graph based cmdlets...

 

This is dissapointing unless real effort is put into:

1. Delivering proper training and documentation for the Graph APIs 

2. Delivering Powershell cmdlets to manage Azure AD, no matter the underlying endpoint/protocols/technology used

 

Making simple tasks like Azure AD management more complicated and unstandardized is not the way to go.

Occasional Contributor

What is this? No dashes on operators any more?

 

Get-MgUser -Filter "DisplayName eq 'Lee Gu'"

 

I mean this is NOT how Poweshell syntax is supposed to be working.

New Contributor

Neither of the articles linked initially ("In June, I reminded you to...") Mention PowerShell.  

 

I am hoping that the "new License Management platform" will alleviate the need for me to use programmatic license assignment and this will all be moot. 

 

I am not looking forward to a whole new class of questions about License Assignment being asked on Reddit/StackExchange, etc.

Occasional Visitor

Hi!! Is anyone aware of this new cmdlet?  if so can you please describe with an example pls. 
I would like to understand the use case of this new cmdlet, and there is no examples in the article 


https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.actions/set-mguserlicense?v...

%3CLINGO-SUB%20id%3D%22lingo-sub-2464366%22%20slang%3D%22en-US%22%3EMigrate%20your%20apps%20to%20access%20the%20license%20managements%20APIs%20from%20Microsoft%20Graph%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2464366%22%20slang%3D%22en-US%22%3E%3CP%3EHowdy%20folks!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20June%2C%20I%20reminded%20you%20to%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-active-directory-identity%2Fhave-you-updated-your-applications-to-use-the-microsoft%2Fba-p%2F1144698%22%20target%3D%22_blank%22%3Eupdate%20your%20apps%20to%20use%20Microsoft%20Graph%3C%2FA%3E%20due%20to%20%3CA%20href%3D%22https%3A%2F%2Fnam06.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Ftechcommunity.microsoft.com%252Ft5%252Fazure-active-directory-identity%252Fupdate-your-applications-to-use-microsoft-authentication-library%252Fba-p%252F1257363%26amp%3Bdata%3D04%257C01%257CNamyoon.Han%2540microsoft.com%257C788c8eaa44784ff940d008d95c23ffa8%257C72f988bf86f141af91ab2d7cd011db47%257C1%257C0%257C637642131953720201%257CUnknown%257CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%253D%257C1000%26amp%3Bsdata%3Dc23BSkdVizlIF0AKcZfSk8eNM%252F1ngxvKuQMV7IWopIg%253D%26amp%3Breserved%3D0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ethe%20end%20of%20support%20for%20Azure%20Active%20Directory%20(Azure%20AD)%20Graph%3C%2FA%3E%20on%20June%2030%2C%202022.%20Apps%20using%20Azure%20AD%20Graph%20after%20this%20time%20will%20no%20longer%20receive%20responses%20from%20the%20Azure%20AD%20Graph%20endpoint.%20%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-2060604052%22%20id%3D%22toc-hId-2119832497%22%20id%3D%22toc-hId-2119832497%22%20id%3D%22toc-hId-2119832497%22%20id%3D%22toc-hId-2119832497%22%20id%3D%22toc-hId-2119832497%22%20id%3D%22toc-hId-2119832497%22%20id%3D%22toc-hId-2119832497%22%20id%3D%22toc-hId-2119832497%22%20id%3D%22toc-hId-2119832497%22%20id%3D%22toc-hId-2119832497%22%20id%3D%22toc-hId-2119832497%22%20id%3D%22toc-hId-2119832497%22%20id%3D%22toc-hId-2119832497%22%3E%3CSTRONG%3ERetiring%20license%20assignment%20APIs%3C%2FSTRONG%3E%3C%2FH3%3E%0A%3CP%3ESince%20the%20Azure%20AD%20Graph%20APIs%20are%20being%20retired%2C%20we%20are%20also%20retiring%20the%20license%20assignment%20operation%20in%20the%20MSOnline%20and%20Azure%20AD%20PowerShell%20modules.%20We%20recommend%20that%20you%20update%20existing%20applications%20to%20access%20the%20license%20assignment%20APIs%20from%20the%20%3CA%20href%3D%22https%3A%2F%2Fnam06.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Fdocs.microsoft.com%252Fgraph%252Fapi%252Fuser-assignlicense%253Fview%253Dgraph-rest-1.0%2526tabs%253Dhttp%26amp%3Bdata%3D04%257C01%257CNamyoon.Han%2540microsoft.com%257C788c8eaa44784ff940d008d95c23ffa8%257C72f988bf86f141af91ab2d7cd011db47%257C1%257C0%257C637642131953740119%257CUnknown%257CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%253D%257C1000%26amp%3Bsdata%3DB04CuCsFixKomVGyftyO9wPfQuRcLmdKqA05w4eGaQk%253D%26amp%3Breserved%3D0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EMicrosoft%20Graph%3C%2FA%3E%20endpoint%20and%20update%20your%20scripts%20to%20use%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fpowershell%2Fmicrosoftgraph%2Fmigration-steps%3Fview%3Dgraph-powershell-1.0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EMicrosoft%20Graph%20PowerShell%3C%2FA%3E%20module%20to%20reduce%20the%20impact%20on%20operations.%20Other%20operations%20in%20the%20MSOnline%20and%20Azure%20AD%20PowerShell%20modules%20won%E2%80%99t%20be%20impacted.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBelow%20are%20some%20of%20the%20operations%20that%20will%20no%20longer%20receive%20a%20successful%20response%20beginning%20on%20June%2030%2C%202022.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CTABLE%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22349%22%3E%3CP%3E%3CSTRONG%3EExisting%20operation%20(will%20no%20longer%20receive%20a%20successful%20response)%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22349%22%3E%3CP%3E%3CSTRONG%3EMicrosoft%20Graph%20equivalent%20to%20use%20going%20forward%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22349%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fnam06.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Fdocs.microsoft.com%252Fpowershell%252Fmodule%252Fmsonline%252F%253Fview%253Dazureadps-1.0%26amp%3Bdata%3D04%257C01%257CNamyoon.Han%2540microsoft.com%257C788c8eaa44784ff940d008d95c23ffa8%257C72f988bf86f141af91ab2d7cd011db47%257C1%257C0%257C637642131953720201%257CUnknown%257CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%253D%257C1000%26amp%3Bsdata%3DHIDKhUkxz%252Bp4wJGHtLtOBSBZCV4Hp6idYOgMkL4AIhk%253D%26amp%3Breserved%3D0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EMSOnline%20PowerShell%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%C2%B7%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Set-MsolUserLicense%3C%2FP%3E%0A%3CP%3E%C2%B7%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20New-MsolUser%20(where%20-LicenseAssignment%20or%20-LicenseOptions%20is%20provided)%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20rowspan%3D%222%22%20width%3D%22349%22%3E%3CP%3EMicrosoft%20Graph%20PowerShell%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%C2%B7%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fpowershell%2Fmodule%2Fmicrosoft.graph.users.actions%2Fset-mguserlicense%3Fview%3Dgraph-powershell-1.0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ESet-MgUserLicense%3C%2FA%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22349%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fnam06.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Fdocs.microsoft.com%252Fen-us%252Fpowershell%252Fazure%252Factive-directory%252Foverview%253Fview%253Dazureadps-2.0%26amp%3Bdata%3D04%257C01%257CNamyoon.Han%2540microsoft.com%257C788c8eaa44784ff940d008d95c23ffa8%257C72f988bf86f141af91ab2d7cd011db47%257C1%257C0%257C637642131953730155%257CUnknown%257CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%253D%257C1000%26amp%3Bsdata%3DbEr3aB8GRPHkxlnqYFI9SKLfv%252Fyq0rSlPE811ewS7O4%253D%26amp%3Breserved%3D0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EAzure%20AD%20PowerShell%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%C2%B7%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Set-AzureADUserLicense%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22349%22%3E%3CP%3EAzure%20AD%20Graph%20API%20(graph.windows.net)%3C%2FP%3E%0A%3CP%3E%C2%B7%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20assignLicense%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22349%22%3E%3CP%3EMicrosoft%20Graph%20API%3C%2FP%3E%0A%3CP%3E%C2%B7%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fgraph%2Fapi%2Fuser-assignlicense%3Fview%3Dgraph-rest-1.0%26amp%3Btabs%3Dhttp%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EassignLicense%3C%2FA%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-253149589%22%20id%3D%22toc-hId-312378034%22%20id%3D%22toc-hId-312378034%22%20id%3D%22toc-hId-312378034%22%20id%3D%22toc-hId-312378034%22%20id%3D%22toc-hId-312378034%22%20id%3D%22toc-hId-312378034%22%20id%3D%22toc-hId-312378034%22%20id%3D%22toc-hId-312378034%22%20id%3D%22toc-hId-312378034%22%20id%3D%22toc-hId-312378034%22%20id%3D%22toc-hId-312378034%22%20id%3D%22toc-hId-312378034%22%20id%3D%22toc-hId-312378034%22%3E%3CSTRONG%3EWhat%E2%80%99s%20next%3A%20new%20license%20management%20platform%20%3C%2FSTRONG%3E%3C%2FH3%3E%0A%3CP%3EThe%20current%20license%20management%20features%20have%20grown%20to%20address%20the%20needs%20of%20our%20customers%2C%20with%20key%20innovations%20like%20group-based%20licensing.%20But%20as%20the%20needs%20of%20our%20customers%20have%20evolved%2C%20we%20decided%20to%20rebuild%20the%20online%20services%20licensing%20platform%20from%20the%20ground%20up.%20Below%20is%20an%20early%20look%20into%20future%20changes%20to%20the%20platform%2C%20designed%20with%20four%20key%20goals%20in%20mind%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EFlexibility%3C%2FSTRONG%3E%3A%20Expanding%20beyond%20a%20single%20administration%20structure%2C%20single%20megalithic%20pool%20of%20seats%2C%20or%20even%20a%20single%20tenant.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3ESimplicity%3C%2FSTRONG%3E%3A%20Reducing%20unnecessary%20complexity%20and%20simplify%20getting%20your%20licenses%20to%20your%20end%20users.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3ESpeed%3C%2FSTRONG%3E%3A%20Gaining%20quick%20access%20to%20what%20you%E2%80%99ve%20purchased.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EAccuracy%3C%2FSTRONG%3E%3A%20Reflecting%20what%20you%20have%20purchased%20and%20the%20licenses%20you%20have%20available%20to%20assign.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ERealizing%20the%20entire%20vision%20will%20take%20time%2C%20but%20today%20we%20are%20sharing%20the%20first%20milestone%20in%20this%20journey.%20Starting%20in%20the%20first%20quarter%20of%202022%2C%20customers%20can%20opt-in%20to%20use%20the%20new%20license%20management%20platform.%20Here%20are%20the%20features%20you%20will%20see%20as%20part%20of%20this%20milestone%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EAllotments%3C%2FSTRONG%3E%20will%20help%20you%20separate%20your%20licenses%20into%20smaller%20batches%20so%20you%20can%20set%20limits%20on%20how%20many%20licenses%20are%20used%2C%20and%20delegate%20ownership%20to%20manage%20them.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EGroup%20licensing%20%3C%2FSTRONG%3Ewill%20be%20extended.%20In%20the%20new%20licensing%20platform%2C%20Azure%20AD%20Premium%20or%20Office%20365%20E3%20will%20no%20longer%20be%20required%20to%20use%20group-based%20licensing%20for%20license%20assignments.%20In%20addition%2C%20%3CSTRONG%3Enested%20groups%20%3C%2FSTRONG%3Ewill%20now%20work%20for%20license%20assignments.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3ENew%20license%20types%2C%20%3C%2FSTRONG%3Eincluding%20%3CA%20href%3D%22https%3A%2F%2Fnam06.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Fdocs.microsoft.com%252Fdeployoffice%252Fdevice-based-licensing%26amp%3Bdata%3D04%257C01%257CNamyoon.Han%2540microsoft.com%257C788c8eaa44784ff940d008d95c23ffa8%257C72f988bf86f141af91ab2d7cd011db47%257C1%257C0%257C637642131953740119%257CUnknown%257CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%253D%257C1000%26amp%3Bsdata%3DQsaog562ZTfn95lj8BArp0eNrxgIIRcE03%252B3it9CbMI%253D%26amp%3Breserved%3D0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Edevice-based%20licenses%3C%2FA%3E%20and%20%3CA%20href%3D%22https%3A%2F%2Fnam06.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Faka.ms%252FisvlicenseManagement%26amp%3Bdata%3D04%257C01%257CNamyoon.Han%2540microsoft.com%257C788c8eaa44784ff940d008d95c23ffa8%257C72f988bf86f141af91ab2d7cd011db47%257C1%257C0%257C637642131953750076%257CUnknown%257CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%253D%257C1000%26amp%3Bsdata%3D1D%252BXWeCmRsC7xCkA%252F3Bg5cudh8y5wymlEZebvgiZrOI%253D%26amp%3Breserved%3D0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EISV%20app%20licensing%3C%2FA%3E%2C%20will%20work%20natively%20on%20the%20new%20platform.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20the%20future%2C%20look%20forward%20to%20hearing%20more%20about%20the%20new%20license%20management%20platform%2C%20including%20how%20to%20get%20started%20using%20it%20and%20details%20on%20new%20API%20and%20PowerShell%20options%20to%20leverage%20the%20new%20features.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAlex%20Simons%20(Twitter%3A%26nbsp%3B%3CA%20href%3D%22http%3A%2F%2Ftwitter.com%2Falex_a_simons%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%40Alex_A_Simons%3C%2FA%3E)%3C%2FP%3E%0A%3CP%3ECorporate%20Vice%20President%20of%20Program%20Management%3C%2FP%3E%0A%3CP%3EMicrosoft%20Identity%20Division%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CEM%3ELearn%20more%20about%20Microsoft%20identity%3A%3C%2FEM%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CEM%3EReturn%20to%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FEM%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-active-directory-identity%2Fbg-p%2FIdentity%22%20target%3D%22_blank%22%3E%3CEM%3EAzure%20Active%20Directory%20Identity%20blog%20home%3C%2FEM%3E%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CEM%3EJoin%20the%20conversation%20on%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FEM%3E%3CA%20href%3D%22https%3A%2F%2Ftwitter.com%2Fazuread%2Fstatus%2F1278418103903363074%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%3CEM%3ETwitter%3C%2FEM%3E%3C%2FA%3E%3CEM%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eand%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FEM%3E%3CA%20href%3D%22https%3A%2F%2Fwww.linkedin.com%2Fshowcase%2Fmicrosoft-security%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%3CEM%3ELinkedIn%3C%2FEM%3E%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CEM%3EShare%20product%20suggestions%20on%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FEM%3E%3CA%20href%3D%22https%3A%2F%2Ffeedback.azure.com%2Fforums%2F169401-azure-active-directory%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%3CEM%3EAzure%20Feedback%20Forum%3C%2FEM%3E%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2464366%22%20slang%3D%22en-US%22%3E%3CP%3EOn%20June%2030%2C%202022%2C%20apps%20using%20Azure%20AD%20Graph%20after%20this%20time%20will%20no%20longer%20receive%20responses%20from%20the%20Azure%20AD%20Graph%20endpoint.%20%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22thumbnail.JPG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F305237i202ED80E3B06F2B3%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22thumbnail.JPG%22%20alt%3D%22thumbnail.JPG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2464366%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EProduct%20Announcements%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2697856%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20your%20apps%20to%20access%20the%20license%20managements%20APIs%20from%20Microsoft%20Graph%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2697856%22%20slang%3D%22en-US%22%3E%3CP%3E%3CEM%3EBesant%20Technologies%3C%2FEM%3E%3CSPAN%3E%26nbsp%3BOffers%20the%20Best%20Online%20Training%20Courses%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CA%20title%3D%22Azure%20training%20in%20Chennai%22%20href%3D%22https%3A%2F%2Fwww.besanttechnologies.com%2Ftraining-courses%2Fmicrosoft-training%2Fwindows-azure-training-institute-in-chennai%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EAzure%20training%20in%20Chennai%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20title%3D%22Selenium%20Training%20in%20Chennai%22%20href%3D%22https%3A%2F%2Fwww.besanttechnologies.com%2Ftraining-courses%2Fsoftware-testing-training%2Fselenium-training-institute-in-chennai%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3ESelenium%20Training%20in%20Chennai%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20title%3D%22Devops%20Training%20in%20Chennai%22%20href%3D%22https%3A%2F%2Fwww.besanttechnologies.com%2Ftraining-courses%2Fother-training-courses%2Fdevops-training-institute-in-chennai%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EDevops%20Training%20in%20Chennai%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20title%3D%22Azure%20training%20in%20Bangalore%22%20href%3D%22https%3A%2F%2Fwww.besanttechnologies.com%2Fmicrosoft-azure-training-in-bangalore%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EAzure%20training%20in%20Bangalore%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20title%3D%22Selenium%20Training%20in%20Bangalore%22%20href%3D%22https%3A%2F%2Fwww.besanttechnologies.com%2Ftraining-courses%2Fsoftware-testing-training%2Fselenium-training-institute-in-bangalore%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3ESelenium%20Training%20in%20Bangalore%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3CA%20title%3D%22Devops%20Training%20in%20Bangalore%22%20href%3D%22https%3A%2F%2Fwww.besanttechnologies.com%2Ftraining-courses%2Fdevops-training-in-bangalore%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EDevops%20Training%20in%20Bangalore%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2699652%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20your%20apps%20to%20access%20the%20license%20managements%20APIs%20from%20Microsoft%20Graph%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2699652%22%20slang%3D%22en-US%22%3E%3CP%3EWhat%20do%20you%20mean%2C%20%22I%20remind%22%20you%3F%20That%20is%20news%20to%20me.%20I%20just%20upgraded%20a%20PowerShell%20application%20from%20MSOnline%20to%20AzureAD%20this%20morning.%20What's%20going%20on%3F%20Is%20PowerShell%20being%20depreciated%20as%20a%20way%20to%20manage%20my%20tenant%3F%20How%20come%20there%20is%20no%20warning%20in%20the%20official%20documentation%20of%20AzureAD%3F%20Should%20I%20expect%20my%20PowerShell%20applications%20to%20start%20failing%20one%20after%20the%20other%20because%20the%20endpoitns%20for%20the%20cmdlets%20are%20being%20turned%20off%20one%20after%20the%20other%20in%20favor%20of%20Graph%20API%20and%20JavaScript%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2728106%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20your%20apps%20to%20access%20the%20license%20managements%20APIs%20from%20Microsoft%20Graph%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2728106%22%20slang%3D%22en-US%22%3E%3CP%3EMoving%20from%20%3CEM%3EAzure%20AD%20Graph%3C%2FEM%3E%20to%20%3CEM%3EMicrosoft%20Graph%3C%2FEM%3E%20with%20the%20PowerShell%20management%20modules%20is%20appreciated%2C%20as%20it%20seems%20to%20be%26nbsp%3B%3CU%3Ethe%3C%2FU%3E%26nbsp%3BMicrosoft%20API%20for%20such%20topics.%20Unfortunately%2C%20the%20documentation%20status%20for%20the%20%3CEM%3EMicrosoft%20Graph%3C%2FEM%3E%20PowerShell%20modules%20is%20less-than-optimal%2C%20it's%20rather%20underwhelming%20in%20fact.%3C%2FP%3E%3CP%3EWe%20had%20an%20initial%20look%20at%20some%20of%20%3CEM%3EMicrosoft.Graph.Identity.DirectoryManagement%3C%2FEM%3E%26nbsp%3Band%20%3CEM%3EMicrosoft.Graph.Users%3C%2FEM%3E%20PowerShell%20modules'%20licensing%20cmdlets%2C%20as%20we%20use%20both%20%3CEM%3EMSOnline%3C%2FEM%3E%20and%20%3CEM%3EAzureADPreview%3C%2FEM%3E%20PowerShell%20modules%20for%20license%20management%2C%20and%20the%20documentation%20is%20merely%20a%20list%20of%20parameters.%20They're%20missing%20helpful%20descriptions%2C%20examples%2C%20etc.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEven%20if%20customers%20are%20willing%20to%20migrate%20their%20scripts%20to%20the%20new%20API%2C%20the%20current%20level%20of%20documentation%20probably%20doesn't%20really%20help.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2735918%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20your%20apps%20to%20access%20the%20license%20managements%20APIs%20from%20Microsoft%20Graph%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2735918%22%20slang%3D%22en-US%22%3E%3CP%3EAll%20Graph%20is%20completely%20undocumented%20as%20far%20as%20Powershell%20is%20concerned.%20Also%2C%20all%20Powershell%20logic%20(when%20and%20how%20parameters%20are%20used%20and%20should%20be%20used)%20is%20drifting%20to%20a%20%22custom%22%20logic%20for%20each%20of%20the%20Powershell%20Graph%20based%20cmdlets...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20dissapointing%20unless%20real%20effort%20is%20put%20into%3A%3C%2FP%3E%3CP%3E1.%20Delivering%20proper%20training%20and%20documentation%20for%20the%20Graph%20APIs%26nbsp%3B%3C%2FP%3E%3CP%3E2.%20Delivering%20Powershell%20cmdlets%20to%20manage%20Azure%20AD%2C%20no%20matter%20the%20underlying%20endpoint%2Fprotocols%2Ftechnology%20used%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMaking%20simple%20tasks%20like%20Azure%20AD%20management%20more%20complicated%20and%20unstandardized%20is%20not%20the%20way%20to%20go.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2735948%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20your%20apps%20to%20access%20the%20license%20managements%20APIs%20from%20Microsoft%20Graph%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2735948%22%20slang%3D%22en-US%22%3E%3CP%3EWhat%20is%20this%3F%20No%20dashes%20on%20operators%20any%20more%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EGet-MgUser%20-Filter%20%22DisplayName%20eq%20'Lee%20Gu'%22%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20mean%20this%20is%20NOT%20how%20Poweshell%20syntax%20is%20supposed%20to%20be%20working.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2746162%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20your%20apps%20to%20access%20the%20license%20managements%20APIs%20from%20Microsoft%20Graph%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2746162%22%20slang%3D%22en-US%22%3E%3CP%3ENeither%20of%20the%20articles%20linked%20initially%20(%22%3CSPAN%3EIn%20June%2C%20I%20reminded%20you%20to...%22)%20Mention%20PowerShell.%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20am%20hoping%20that%20the%20%22new%20License%20Management%20platform%22%20will%20alleviate%20the%20need%20for%20me%20to%20use%20programmatic%20license%20assignment%20and%20this%20will%20all%20be%20moot.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20am%20not%20looking%20forward%20to%20a%20whole%20new%20class%20of%20questions%20about%20License%20Assignment%20being%20asked%20on%20Reddit%2FStackExchange%2C%20etc.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2777619%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20your%20apps%20to%20access%20the%20license%20managements%20APIs%20from%20Microsoft%20Graph%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2777619%22%20slang%3D%22en-US%22%3E%3CP%3EHi!!%20Is%20anyone%20aware%20of%20this%20new%20cmdlet%3F%26nbsp%3B%20if%20so%20can%20you%20please%20describe%20with%20an%20example%20pls.%26nbsp%3B%3CBR%20%2F%3EI%20would%20like%20to%20understand%20the%20use%20case%20of%20this%20new%20cmdlet%2C%20and%20there%20is%20no%20examples%20in%20the%20article%26nbsp%3B%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fmicrosoft.graph.users.actions%2Fset-mguserlicense%3Fview%3Dgraph-powershell-beta%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fmicrosoft.graph.users.actions%2Fset-mguserlicense%3Fview%3Dgraph-powershell-beta%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Version history
Last update:
‎Aug 23 2021 02:44 PM
Updated by: