Home

Is there a Get-MsolSubcription equivalent in the AzureAD module ?

Tore Melberg
Occasional Contributor

Hi,
Just a quick question as I find very little information online regarding this command.
Is there a Get-MsolSubcription equivalent in the AzureAD module ?


Get-AzureADSubscribedSku does give somewhat the same output but does not "expand" each license if we have CSP and Creditcard bought licenses of the same product.

 

Also, the Get-MsolSubscription now has a property called "OwnerObjectId" that we can use to identify licenses bought from our CSP or other (However this ID is not the same as our Tenant ID?)
Help is updated in Powershell, but shows no information on this property.

 

Really trying to utilize the new AzureAD module as much as I can, but it clearly cant replace the msol module quite yet.

Regards
Tore Melberg

3 Replies
Highlighted

Not that I know of. And yes, the AzureAD module (and the Graph altogether) is not yet a proper replacement for MSOnline...

Hi Vasil Michev, do you know what the OwnerObjectId relates to? The Guid is not the same as our Tenant Id, however its the same on all customers, so its easy to identify.

It's basically indicator of the type of subscription(s) the customer has. Empty string designates regular subscription purchased from Microsoft, otherwise if designates the tenant ID of the CSP.

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
48 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
30 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies