How to get all tenants subscription details for Office365

Nagarajan Rengamani 21 Reputation points


I am having an account which is having multitenant access. I can access those tenant using switch tenant in Office 365 Portal. But when i try to get tenant subscription details through powershell and MS Graph API. It is returning primary domain's subscription only. Is there a way access all tenants subscription details using both powershell and MS Graph.

I have tried SubscribedSku in MS Graph and MsolSubscription in Powershell. Both are returning primary domain's subscription.

Thanks in advance.

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
755 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,182 questions
0 comments No comments
{count} votes

Accepted answer
  1. Vasil Michev 85,641 Reputation points MVP

    If you are a partner/have the other tenants added as POR, you can use the -TenantId parameter for Get-MsolSubscription/Get-MsolAccountSKU. If you are using a regular Guest account, I dont believe it is possible to get this info in any way.

    0 comments No comments

0 additional answers

Sort by: Most helpful