Mar 22 2018
- last edited on
Jan 14 2022
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.
Mar 22 2018 12:05 PM
Not that I know of. And yes, the AzureAD module (and the Graph altogether) is not yet a proper replacement for MSOnline...
Mar 23 2018 08:01 AM
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.
Mar 23 2018 11:20 AM
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.
May 05 2021 06:33 AM - edited May 05 2021 06:33 AM
@Tore Melberg it has been almost 3 years, did you ever find a working solution without the MSOL module for this?
Sep 09 2021 06:31 AM
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.