How to get all tenants subscription details for Office365

Nagarajan Rengamani 21 Reputation points
2021-02-15T17:33:23.96+00:00

Hi,

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.
983 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,530 questions
0 comments No comments
{count} votes

Accepted answer
  1. Vasil Michev 106.3K Reputation points MVP
    2021-02-15T18:01:54.917+00:00

    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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.