无法在azure活动目录中创建应用程序-权限不足 [英] failed to create an app in azure active directory - insufficient privileges

查看:170
本文介绍了无法在azure活动目录中创建应用程序-权限不足的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在Azure Devops中部署Azure Function App,但收到以下错误:

Im trying to deploy Azure Function App in Azure Devops but I received the following error:

无法在azure活动目录中创建应用-权限不足

failed to create an app in azure active directory - insufficient privileges

查看下图:

推荐答案

非常同意@ 4c74356b41上面评论的内容,但不是唯一可以尝试的解决方案.

Very agree with what @4c74356b41 commented above, but not the only solution you can try with.

错误消息所显示的内容:

As what the error message said:

权限不足,无法完成操作.请确保用户 有权创建Azure Active Directory应用程序.

Insufficient privileges to complete the operation.Ensure that the user has permission to create an Azure Active Directory application.

这是特权不足的问题,有两种解决方案.这两种解决方案可以根据不同的实际情况应用.

This is an Insufficient privileges issue, and has two solutions to solve it. These two solution can apply depend on different actual situations.

(1)如果您在AAD中仅具有来宾权限,则在Azure Devops中遇到此错误.

(1) If you only have guest permission in AAD, then meet this error in Azure Devops.

只需联系管理员即可向您授予最低其他权限.有关如何授予此权限的信息,请使用

Just go contact the admin to grant the minimum additional permissions to you. For how to grant this, please due to this doc. Let the admin to set Guest user permissions are limited to No. At this time, you will get the minimum additional permissions.

(2)如果您是AAD的成员,并且没有被授权在目录中添加应用程序.

(2) If you are the member of AAD, and just not be authorized to add applications in the directory.

转到用户设置,然后在应用程序注册"部分下将用户可以注册应用程序更改为.

Go User settings, then change Users can register applications to Yes under App registrations section.

请参考本节:用户无权在目录中添加应用程序.

最后,另一种方法是授予您全局管理员角色.但这取决于您的公司政策.如果政策允许,请让管理员关注该文档.

注意:我不建议这样做,因为这在AAD中非常重要.

Note: I do not recommend this way since this is a very important role in AAD.

这篇关于无法在azure活动目录中创建应用程序-权限不足的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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