如何在 Microsoft Graph Explorer 中更改默认租户 [英] How can I change default tenant in Microsoft Graph Explorer
问题描述
我正在使用 Graph Explorer 来试验权限:
I am working with Graph Explorer to experiment with permissions:
https://developer.microsoft.com/en-us/graph/图形浏览器
当我向 Graph Explorer 进行身份验证时,它总是向创建我的身份的 AD 租户发送查询.
When I authenticate to Graph Explorer, it always sends queries to the AD tenant that my identity is created in.
但是,我使用的身份可以查询多个 Azure AD 租户.
However, the identity I am using can query multiple Azure AD tenants.
如何在 Graph Explorer 中更改默认租户
How can I change default tenant in Graph Explorer
推荐答案
如果你想在 Graph explorer 中登录自己的租户,请使用租户查询字符串参数.
If you want to sign into your own tenant in Graph explorer, use tenant query string parameter.
https://developer.microsoft.com/en-us/graph/graph-explorer?tenant=contoso.onmicrosoft.com
当您登陆时,转到 Graph explorer 的简单网址是 https://aka.ms/ge在目的地,只需添加租户查询字符串参数(域名或tenantId,都可以).
A simple url to go to Graph explorer is https://aka.ms/ge, when you land on the destination, just add tenant query string parameter (domain name or tenantId, both work).
如果您已登录租户,则必须退出那里.目前暂不支持自动切换租户.
If you are already signed into a tenant, you will have to logout from there. currently automatic switch of tenant is not supported.
这篇关于如何在 Microsoft Graph Explorer 中更改默认租户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!