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

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

问题描述

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

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

看下图:

解决方案

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

正如错误消息所说:

<块引用>

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

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

(1) 如果您在 AAD 中只有 guest 权限,则在 Azure Devops 中遇到此错误.

只需联系管理员,授予您最低附加权限即可.对于如何授予此权限,请根据此

请参阅此部分:用户无权在目录中添加应用程序.

<小时>

最后,另一种方式是授予您全局管理员角色.但这取决于您的公司政策.如果政策允许,请让管理员按照文档进行操作.

注意:我不推荐这种方式,因为这是 AAD 中非常重要的角色.

<小时>

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

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

Look the following image:

解决方案

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

As what the error message said:

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) 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) 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.

Please refer to this section: The user is not authorized to add applications in the directory.


At last, the other way is grant you the global admin role. But this depend on your company policy. If the policy allowed, please let the admin follow the doc.

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


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

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