【发布时间】:2019-11-29 15:57:44
【问题描述】:
在使用 Azure AD 进行身份验证时,我收到此错误。
AADSTS90008: The user or administrator has not consented to use the application with ID 'Application (client) ID'(appname). This happened because application is misconfigured: it must require access to Windows Azure Active Directory by specifying at least 'Sign in and read user profile' permission.
我在AD中注册的应用中配置的API权限是
但在此错误之后,如果在用户同意选项卡下检查我的应用程序权限页面,我可以看到三个权限。
我没有添加到我的应用程序中的第三个 选中后,仅对第三个启用用户权限,而不是对必需的两个启用。用户在登录时已同意。
同意屏幕如下所示:
我该如何解决这个问题?
【问题讨论】:
标签: c# azure authentication active-directory azure-active-directory