作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
当我尝试使用个人帐户连接 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/
我是一名优秀的程序员,十分优秀!