Azure AD 需要管理员批准

标签 azure flutter azure-active-directory

我在azure中创建了一个应用程序并使用AAD进行身份验证,但是当用户尝试登录时,他们不断收到需要管理员批准的消息但是无论我如何在Azure门户中配置应用程序,我总是在之后收到以下消息我已使用普通用户登录,但管理员可以登录,应用程序不会显示错误:

enter image description here

我的企业应用程序 |用户设置

enter image description here

我的 API 权限 enter image description here

我需要我的用户像管理员一样正常登录,我做错了什么?

最佳答案

此问题已由 @juunas 评论解决,将其作为答案发布以关闭问题。

If you are using /common or /organizations as the authority in the app, the user will authenticate against their home tenant. It might be what is happening here. Your tenant's settings will not apply there, and they may be required to give admin consent.

解决方案是将管理员同意设置为:"is"

关于Azure AD 需要管理员批准,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64119472/

相关文章:

azure - 在 AD B2C 中根据电子邮件地址选择身份提供商?

azure - 使用serviceBus时Nuget将Azure webjobs SDK 2.3升级到3.0

c# - 列出 KeyVault 中的 secret 而无需登录每个 secret ?

flutter - 如何在Flutter中实现与此类似的设计?

Flutter Google 登录 - 此应用程序未验证错误

c# - 如何从 azure OAuth 2.0 token (v2) 端点获取/生成访问 token ?

powershell - Cosmos DB 的 Powershell 查询出现 404

python - 用于检查 VM 是否具有公共(public) IP 的 Azure Python API

oop - 如何在dart中实现继承?

azure - 重新启动 Azure 身份管理访问审查