Azure AD 授权端点请求管理员同意 [英] Azure AD Authorization endpoint asking for admin consent

查看:19
本文介绍了Azure AD 授权端点请求管理员同意的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我正在尝试使用从

解决方案

该应用程序注册为多租户应用程序,尽管它不是预期的.自 2020 年 11 月 9 日起,Microsoft 要求为多租户应用授予管理员同意,如果发布者未通过输入 MPN Id 进行验证,则最终用户无法授予同意.

这就是我的问题.它通过授予管理员同意来解决.身份验证刀片中显示的小注释帮助我确定了问题.

Hi I'm trying to Embed a PowerBI report in Asp.Net application using the sample application downloaded from here . I'm using UsersOwnData flow.

The same portal has created the Azure AD app registration with the permissions shown in below image. Although none of the permissions need admin consent, I'm getting an error saying admin consent is needed as shown in below image when I hit the authorize endpoint. Am I missing something?

解决方案

The app was registered as a multitenant application although it was not intended. Since Nov 9th 2020 Microsoft requires admin consent to be granted for multitenant apps and end users cannot grant the consent if the publisher is not verified by entering the MPN Id.

This was the issue in my case. It was solved by granting the admin consent. The small note displayed in the Authentication blade helped me to identify the issue.

这篇关于Azure AD 授权端点请求管理员同意的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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