本文介绍了使用Azure AD-App(OAuth2)访问Microsoft API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在尝试使用Azure AD应用程序(使用oauth2)访问其他租户Microsoft API数据(图形API,存储API等)

I'm trying to use Azure AD application (using oauth2) to access another tenants Microsoft API data (graph API, storage API , etc...)


我的问题是,是否可以使用在全球云中创建的应用程序来授权和获取来自另一个国家云(USGov /德国/中国)的租户的数据?

My question is, is it possible to use an app created in global cloud to authorize and fetch dat from a tenant who is in another national cloud (USGov/Germany/China) ?


通过将应用程序设置为"多租户",我能够成功获取其他租户数据

I was able to successfully fetch another tenant data by setting the app to "multi tenant"


作为总结,我想在全球国家云中创建一个应用程序,并要求来自另一个国家云中的租户的用户授权我的应用程序,然后在他/她授权我的应用程序的情况下获取数据

As a summary I want to create an app in global national cloud and ask a user from a tenant in another national cloud to authorize my app, and then fetch data given he/she authorized my app

推荐答案

因此,无法从公共云访问任何其他环境中的数据。

Hence, it is not possible to access data from the Public Cloud to any of these other environments.

Even当您将应用程序设为"多租户"时,它仍然无法访问Gov / Germany / China Azure Cloud中的信息。

Even when you make the Application as "Multi-Tenant", it would still not be able to access the information from the Gov/Germany/China Azure Cloud.


这篇关于使用Azure AD-App(OAuth2)访问Microsoft API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-27 11:29
查看更多