Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/entity-framework/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Azure active directory 当我使用login.windows.net页面时,如何更改azure目录_Azure Active Directory_Azureportal - Fatal编程技术网

Azure active directory 当我使用login.windows.net页面时,如何更改azure目录

Azure active directory 当我使用login.windows.net页面时,如何更改azure目录,azure-active-directory,azureportal,Azure Active Directory,Azureportal,这使用了我可以访问的azure active directory之一。不幸的是,这不是一个好的。如何更改此行为以指向好的行为或在登录后给我选择?更改Azure门户订阅筛选器中的目录无效 我更喜欢不更改url的解决方案(我将不得不使用Skype for Business Online Application Registration Portal,我也有同样的问题)。如果我理解正确,您希望使用特定于租户的OAuth2授权端点。为了获得特定于租户的授权令牌,您只需编写: https://login.

这使用了我可以访问的azure active directory之一。不幸的是,这不是一个好的。如何更改此行为以指向好的行为或在登录后给我选择?更改Azure门户订阅筛选器中的目录无效


我更喜欢不更改url的解决方案(我将不得不使用Skype for Business Online Application Registration Portal,我也有同样的问题)。

如果我理解正确,您希望使用特定于租户的OAuth2授权端点。为了获得特定于租户的授权令牌,您只需编写:

https://login.windows.net/{yourtenantname}.onmicrosoft.com/oauth2/authorize?api-version=1.0

有关更多详细信息,请参阅此

https://login.windows.net/{tenantid}/oauth2/authorize?api-version=1.0