我目前正在尝试使用管理员同意流程与Azure AD集成.
我在我们的域中设置了一个应用程序,为它设置了一些权限,然后导航到以下链接:
https://login.microsoftonline.com/mytestdomain.onmicrosoft.com/oauth2/authorize?client_id=12345678-1234-1234-1234-123456789012&response_type=code&redirect_uri=http://example.com/responsehandler&resource=12345678-1234-1234-1234-123456789012&prompt=admin_consent&state=12345
Run Code Online (Sandbox Code Playgroud)
(此处的某些值已换出"示例"值)
当我在那里导航时,我被要求登录,我使用不同的测试域进行导入应用程序.
登录后,我显示了应用程序所需的所有权限列表(看起来是正确的),我单击"接受",然后出现以下错误:
AADSTS90002: Requested tenant identifier '00000000-0000-0000-0000-000000000000' is not valid. Tenant identifiers may not be an empty GUID.
Run Code Online (Sandbox Code Playgroud)
我不确定这个空GUID来自何处,经过一些搜索后,我找不到任何可能导致它的内容的参考.