microsoft-graph-explorer-v4
microsoft-graph-explorer-v4 copied to clipboard
add tenant switch support in the sign-in area
Is your feature request related to a problem? Please describe.
Today if I use the graph explorer to GET /beta/servicePrincipals
, it will return only the service principals on the main tenant I'm part of. But I might have created other service principals on other tenants using the Azure Portal for example.
Whenever I'm writing an application, I can switch tenant by requesting different tokens to MIP. When using Azure I can switch tenant from the portal's UI. It'd be interesting to allow users to switch between the tenants they are part of so they can access different datasets.
Describe the solution you'd like Next to the profile card, in the little gear, a "switch tenant" button that lists out the tenant you are part of. Click on any tenant and you are redirected to complete auth on that specific tenant instead.
Describe alternatives you've considered No alternatives possible using the graph explorer, using Postman collections or hand-written code is the only option at this point. AB#7492
@baywet might #568 have solved this?
@thewahome I believe it partially does, all what's missing now is to query the same API the azure portal uses to get the list of tenants I'm part of and add some kind of UI switch. Or at least make it discoverable so people know it exists.
@RabebOthmani do you think there's more that should be done on this issue or should it be closed?
This could be similar to #1982