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

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
Possible to use AD groups in Yammer?
Florian Hein in Yammer on
1 Replies
MSTeams PowerShell Module - Expected behavior?
Ali Salih in Microsoft Teams on
9 Replies
Native apps SSO on mobile
almennn in Microsoft Intune on
1 Replies
Dual Factor Conditional Access
Stefanie Cortese in Office 365 on
6 Replies