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.

Ravishankar NPosted Dec 19, 2019, 10:07 AM
Harsh GuptaPosted Dec 11, 2019, 2:38 AM
Asad AliPosted Dec 10, 2019, 8:55 AM
Harsh GuptaPosted Dec 10, 2019, 3:10 AM
Asad Ali: This is for one tenant. I want to get all subscriptions from all related tenants in a single sign-in.
Asad AliPosted Dec 9, 2019, 3:19 AM