【问题标题】:"Insufficient privileges to complete the operation." in Azure“权限不足,无法完成操作。”在天蓝色
【发布时间】:2020-01-27 12:06:10
【问题描述】:

我的情况如下:我想创建一个 Azure 服务主体。但是当我尝试使用此命令az ad sp create-for-rbac 执行此操作时,我总是收到错误“Insufficient privileges to complete the operation.

我是否正确地假设这是因为我被普通用户邀请订阅此订阅?

为了扩展我的权限,我是否需要在此订阅中被分配管理员角色?

【问题讨论】:

    标签: azure azure-active-directory service-principal


    【解决方案1】:

    您可能不是User Access Administrator,因为这是一个需要非常明确地设置的角色。

    归根结底,原因很简单:您“权限不足,无法完成操作”。您可以在此处继续阅读并尝试Understand role definitions for Azure resources

    【讨论】:

      【解决方案2】:

      az ad sp create-for-rbac 需要订阅/资源组中的权限(具体为所有者或用户访问管理员角色),此外还需要链接的 Azure Active Directory 中的权限才能注册应用程序(因为该命令会创建应用程序注册) .

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2017-11-03
        • 2018-06-13
        • 2018-01-24
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多