microsoft-graph-explorer-v4 icon indicating copy to clipboard operation
microsoft-graph-explorer-v4 copied to clipboard

add tenant switch support in the sign-in area

Open baywet opened this issue 4 years ago • 4 comments

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. image

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 avatar Apr 29 '20 13:04 baywet

@baywet might #568 have solved this?

thewahome avatar Feb 09 '21 13:02 thewahome

@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.

baywet avatar Feb 09 '21 13:02 baywet

@RabebOthmani do you think there's more that should be done on this issue or should it be closed?

ddyett avatar Aug 02 '22 18:08 ddyett

This could be similar to #1982

ElinorW avatar Aug 04 '22 10:08 ElinorW