Excel,Odata,Oauth2,在名为的租户中找不到名为的应用程序 [英] Excel, Odata, Oauth2, The application named was not found in the tenant named

查看:43
本文介绍了Excel,Odata,Oauth2,在名为的租户中找不到名为的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Using OAuthProtectionModule from this tutorial which is based off another article

在Excel,OData Feed,组织帐户中,登录:我可以使用租户oauth2/authorize窗口获得Office 365弹出窗口.我登录,但随后得到:

In Excel, OData Feed, Organizational account, Sign in: I can get the Office 365 popup with my tenant oauth2/authorize window. I login, but then I get:

invalid_resource:AADSTS50001:名为

invalid_resource: AADSTS50001: The application named http://localhost:44221 was not found in the tenant named .onmicrosoft.com.

我确定我创建了App注册,并复制了正确的AppID,密码等.

I am sure I created App registration, and copied the correct AppID, secret, etc.

推荐答案

AADSTS50001:名为  .onmicrosoft.com/sample"> https://< resource> .onmicrosoft.com/sample  不是在名为< tenant> .onmicrosoft.com的租户中找到. 如果租户的管理员未安装该应用程序,或者该租户中的任何用户未同意该应用程序,则可能会发生这种情况.您可能已将身份验证请求发送给错误的租户.

AADSTS50001: The application named .onmicrosoft.com/sample">https://<resource>.onmicrosoft.com/sample was not found in the tenant named <tenant>.onmicrosoft.com.  This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant.  You might have sent your authentication request to the wrong tenant.

检查以下链接可能会帮助您解决此错误.

Check the below links it might help you to resolve this error.

https://stackoverflow.com/questions/36059051/the-application-named-https-test113-onmicrosoft-com-ftp-was-not-found-in-the-t

https://stackoverflow.com/questions/36059051/the-application-named-https-test113-onmicrosoft-com-ftp-was-not-found-in-the-t

https://community.dynamics.com/ax/f/33/t/231990

https://community.dynamics.com/ax/f/33/t/231990

https://bartwullems.blogspot.com/2016/08/aadsts50001-application-named-was-not.html

https://bartwullems.blogspot.com/2016/08/aadsts50001-application-named-was-not.html


这篇关于Excel,Odata,Oauth2,在名为的租户中找不到名为的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆