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.


Asad AliRank #1,139 · 1.6K reputationPosted Dec 8, 2019, 10:19 PM EST
Harsh GuptaRank #1,237 · 1.4K reputationPosted Dec 9, 2019, 10:10 PM EST
Asad Ali: This is for one tenant. I want to get all subscriptions from all related tenants in a single sign-in.
Asad AliRank #1,139 · 1.6K reputationPosted Dec 10, 2019, 3:55 AM EST
Harsh GuptaRank #1,237 · 1.4K reputationPosted Dec 10, 2019, 9:38 PM EST
Ravishankar NRank #241 · 10.2K reputationPosted Dec 19, 2019, 5:07 AM EST