获取Invalid_grant:AADSTS65001:即使admin已同意,用户或管理员也尚未同意使用该应用程序
我正在尝试访问从reactjs客户端应用程序中编写的.NET核心编写的Web API。我已经在Azure AD中注册了该应用程序,并在ReactJS API许可部分中对Web API征得了管理员同意。即使在配置此之后,我也会得到Invalid_grant:AADSTS65001:用户或管理员尚未同意使用该应用程序
可以为此提供帮助。我应该如何连接到Web API。
I am trying to access my web api written in .Net Core from a ReactJs client application. I have registered both the application in Azure AD and given Admin Consent to the Web API in ReactJs API Permission section. Even after configuring this I am getting invalid_grant: AADSTS65001: The user or administrator has not consented to use the application
Can any please help me regarding this please. How should I connect to the web api.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
用户或管理员尚未同意使用应用程序 ”
转到Azure Portal - > Azure Active Directory->应用注册 - >您的应用程序 - > API许可 - >添加权限
授予管理员同意后,请检查状态是否变成绿色。
确保在您的身份验证选项卡中检查以下选项是否已检查如下:
如果仍然存在问题,请使用以下文档,如果有用:
4个方法来修复错误AADSTS65001(与管理员同意有关!) - #sharepointproblems / koskila.net
To resolve the error "invalid_grant: AADSTS65001: The user or administrator has not consented to use the application", try the following:
Go to Azure Portal -> Azure Active Directory -> App Registrations -> Your app -> API permissions -> Add permissions
After granting admin consent, please check whether the status turned green or not.
Make sure whether the below options are checked or not in your authentication tab like below:
If still the issue persists, make use of below document if helpful:
4 ways to fix error AADSTS65001 (issues with Admin Consent!) - #SharePointProblems / Koskila.net