gpt4 book ai didi

java - AADSTS7000012 : The grant was obtained for a different tenant

转载 作者:行者123 更新时间:2023-12-04 03:59:23 32 4
gpt4 key购买 nike

当我尝试使用个人帐户连接 Microsoft Graph 时,我收到以下错误消息:AADSTS7000012:为其他租户获得了授权。

我正在学习本教程 https://github.com/Azure-Samples/ms-identity-java-webapp/tree/master/msal-java-webapp-sample ,并且它适用于专业帐户。

此外,我没有找到有关此 AADSTS7000012 错误代码的任何文档!

最佳答案

我找到了解决方案,对于我的情况,我不得不使用这个 url:https://login.microsoftonline.com/common/

仅对于组织,url 必须是:https://login.microsoftonline.com/organizations

并且仅适用于组织的同一租户:https://login.microsoftonline.com/{tenantId}

关于java - AADSTS7000012 : The grant was obtained for a different tenant,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63320876/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com