[英]Azure AD authentication : Permission error while fetching access token
使用 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
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权限是
但是在出现此错误后,如果在用户同意选项卡下检查我的应用程序权限页面,我可以看到三个权限。
第三个我没有添加到我的应用程序中 选中时,仅对第三个启用用户权限,而不是所需的两个。 用户在登录时已表示同意。
同意屏幕如下所示:
我怎样才能解决这个问题 ?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.