Harsh Gupta

Harsh Gupta

  • NA
  • 1.4k
  • 138k

Access to Multiple tenants on Azure AD using single sign on

Dec 6 2019 2:22 AM
I have multiple tenants on azure. I want to access them using a single sign-on from my app. e.g I want to get all subscriptions related to all tenants by tenantId with a single hit. I tried the below api and it gives me one tenant information at a time. It requires the access_token for each tenant separately.
 
https://docs.microsoft.com/en-us/rest/api/resources/subscriptions/get
 
I am able to get all tenant's information using (https://docs.microsoft.com/en-us/rest/api/resources/tenants/list), but after that is there any option to pass the tenantId and get the other information like subscriptions and other detail based on passing tenantId. 

Answers (5)