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

%3CLINGO-SUB%20id%3D%22lingo-sub-174444%22%20slang%3D%22en-US%22%3EIs%20there%20a%20Get-MsolSubcription%20equivalent%20in%20the%20AzureAD%20module%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-174444%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%20%3CBR%20%2F%3E%20Just%20a%20quick%20question%20as%20I%20find%20very%20little%20information%20online%20regarding%20this%20command.%20%3CBR%20%2F%3E%20Is%20there%20a%20Get-MsolSubcription%20equivalent%20in%20the%20AzureAD%20module%20%3F%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E%20Get-AzureADSubscribedSku%20does%20give%20somewhat%20the%20same%20output%20but%20does%20not%20%22expand%22%20each%20license%20if%20we%20have%20CSP%20and%20Creditcard%20bought%20licenses%20of%20the%20same%20product.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAlso%2C%20the%20Get-MsolSubscription%20now%20has%20a%20property%20called%20%22OwnerObjectId%22%20that%20we%20can%20use%20to%20identify%20licenses%20bought%20from%20our%20CSP%20or%20other%20(However%20this%20ID%20is%20not%20the%20same%20as%20our%20Tenant%20ID%3F)%20%3CBR%20%2F%3E%20Help%20is%20updated%20in%20Powershell%2C%20but%20shows%20no%20information%20on%20this%20property.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EReally%20trying%20to%20utilize%20the%20new%20AzureAD%20module%20as%20much%20as%20I%20can%2C%20but%20it%20clearly%20cant%20replace%20the%20msol%20module%20quite%20yet.%3C%2FP%3E%0A%3CP%3ERegards%3CBR%20%2F%3E%20Tore%20Melberg%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-174444%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20AD%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-175319%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20there%20a%20Get-MsolSubcription%20equivalent%20in%20the%20AzureAD%20module%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-175319%22%20slang%3D%22en-US%22%3E%3CP%3EIt's%20basically%26nbsp%3Bindicator%20of%20the%20type%20of%20subscription(s)%20the%20customer%20has.%20Empty%20string%20designates%20regular%20subscription%20purchased%20from%20Microsoft%2C%20otherwise%20if%20designates%20the%20tenant%20ID%20of%20the%20CSP.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-175013%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20there%20a%20Get-MsolSubcription%20equivalent%20in%20the%20AzureAD%20module%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-175013%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Vasil%20Michev%2C%20do%20you%20know%20what%20the%20OwnerObjectId%20relates%20to%3F%20The%20Guid%20is%20not%20the%20same%20as%20our%20Tenant%20Id%2C%20however%20its%20the%20same%20on%20all%20customers%2C%20so%20its%20easy%20to%20identify.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-174703%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20there%20a%20Get-MsolSubcription%20equivalent%20in%20the%20AzureAD%20module%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-174703%22%20slang%3D%22en-US%22%3E%3CP%3ENot%20that%20I%20know%20of.%20And%20yes%2C%20the%20AzureAD%20module%20(and%20the%20Graph%20altogether)%20is%20not%20yet%20a%20proper%20replacement%20for%20MSOnline...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2326367%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20there%20a%20Get-MsolSubcription%20equivalent%20in%20the%20AzureAD%20module%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2326367%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F4247%22%20target%3D%22_blank%22%3E%40Tore%20Melberg%3C%2FA%3E%26nbsp%3Bit%20has%20been%20almost%203%20years%2C%20did%20you%20ever%20find%20a%20working%20solution%20with%20the%20MSOL%20module%20for%20this%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethanks%3C%2FP%3E%3CP%3EStefan%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2736294%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20there%20a%20Get-MsolSubcription%20equivalent%20in%20the%20AzureAD%20module%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2736294%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F400299%22%20target%3D%22_blank%22%3E%40stefanpeters2020%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%2C%20no%2C%20have%20not%20seen%20anything%20like%20this%20other%20than%20in%20the%20MSOL%20module%20yet.%3CBR%20%2F%3ETried%20Graph%2C%20AzureAD.%3C%2FP%3E%3CP%3ESeen%20some%20commands%20when%20I%20search%20for%20it%20on%20a%20%22provisioning%20api%22%20but%20I%20have%20not%20found%20much%20on%20this%2C%20so%20might%20be%20a%20dead%20end%20to%20search%20further%20in%20to%20that%20one.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHopefully%20there%20will%20come%20a%20solution%20before%20the%20MSOL%20module%20stops%20working.%3CBR%20%2F%3EI%20think%20this%20part%20here%20needs%20to%20be%20added%20as%20a%20userstory%20so%20that%20it%20will%20become%20available%20in%20Graph%20or%20similar%20solutions%2C%20as%20it%20is%20very%20usefull%20information%20at%20times.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%3C%2FP%3E%3CP%3ETore%20Melberg%3C%2FP%3E%3C%2FLINGO-BODY%3E
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

5 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.

@Tore Melberg it has been almost 3 years, did you ever find a working solution without the MSOL module for this?

 

thanks

Stefan

 

edit: typo

@stefanpeters2020 

 

Hi, no, have not seen anything like this other than in the MSOL module yet.
Tried Graph, AzureAD.

Seen some commands when I search for it on a "provisioning api" but I have not found much on this, so might be a dead end to search further in to that one.

 

Hopefully there will come a solution before the MSOL module stops working.
I think this part here needs to be added as a userstory so that it will become available in Graph or similar solutions, as it is very usefull information at times.

 

Regards

Tore Melberg