无法使用AAD V2端点授权Web Api [英] Unable to authorise Web Api using AAD V2 endpoint

查看:74
本文介绍了无法使用AAD V2端点授权Web Api的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我们已经使用apps.dev.microsoft.com注册了一个应用程序.它添加了多个平台,分别是Native,Web Api和Web App.我们还有另一个在Azure中托管并在AAD中注册的移动应用程序服务.现在我们面临的问题是我们不 能够使用与使用通过AAD v2端点注册的应用程序的应用程序ID所获得的令牌相同的令牌来访问Web API.请帮助我们解决此问题

Hi , we have registered an app using apps.dev.microsoft.com. It has multiple platforms added, Native , Web Api and Web App. We have another mobile App service hosted in Azure and registered in AAD. Now the problem that we are facing is that we are not able to access the Web API with the same token that we have got using the application ID of the app registered using AAD v2 endpoint. Please help us in getting this resolved

推荐答案

v2.0终结点不支持所有Azure Active Directory方案和功能.要确定是否应使用v2.0端点,请阅读有关v2.0的限制.

The v2.0 endpoint doesn't support all Azure Active Directory scenarios and features. To determine whether you should use the v2.0 endpoint, read about v2.0 limitations.

https://docs.microsoft.com/zh-cn/azure/active-directory/develop/active-directory-v2-limitations

https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-v2-limitations

https://docs.microsoft.com/zh-CN/azure/active-directory/develop/active-directory-v2-flows

https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-v2-flows

当前,v2.0端点不支持以下类型的应用程序.有关受支持的应用程序类型的描述,请参见 应用程序 Active Directory v2.0终结点的类型.

Currently, the following types of apps are not supported by the v2.0 endpoint. For a description of supported app types, see App types for the Azure Active Directory v2.0 endpoint.

https://docs.microsoft.com/zh-cn/azure/active-directory/develop/active-directory-v2-flows

https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-v2-flows


这篇关于无法使用AAD V2端点授权Web Api的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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