azure - 系统组成员身份无法更改

标签 azure azure-api-management azure-rm-template

我已经从现有的 Azure API 管理资源生成了模板,对其进行了一些修改,并尝试使用 Azure CLI 进行部署。但我收到以下错误:

Deployment failed. Correlation ID: 7561a68f-54d1-4370-bf6a-175fd93a4b99. {
      "error": {
        "code": "MethodNotAllowed",
        "message": "System group membership cannot be changed",
        "details": null
      }
    }

但是所有 API 都已创建并且运行良好。谁能帮我解决这个错误。这是我尝试在我的 ubuntu 机器上部署的命令:

az group deployment create -g XXXX --template-file azuredeploy.json --parameters @param.json

服务组模板:

{
            "type": "Microsoft.ApiManagement/service/groups",
            "apiVersion": "2018-06-01-preview",
            "name": "[concat(parameters('service_name'), '/administrators')]",
            "dependsOn": [
                "[resourceId('Microsoft.ApiManagement/service', parameters('service_name'))]"
            ],
            "properties": {
                "displayName": "Administrators",
                "description": "Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.",
                "type": "system"
            }
        }

最佳答案

如果您想要将 API 管理实例复制到新实例,您有多种选择。使用未列出的模板here

更新:

我已与 Microsoft 工程师确认,APIM 的 ARM 模板部署失败是一个已知问题,并计划修复该问题。(2019 年 5 月 7 日)

关于azure - 系统组成员身份无法更改,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55932603/

相关文章:

image - Azure:对 BLOB 存储的请求会占用 CPU 吗?

azure - Microsoft Graph API 应用程序集合

azure-devops - 如何在 XML 策略文件中将 Azure API 后端设置为 Azure 资源?

Azure 资源管理器模板 : Is there a way to get resourceId with a regular expression representing resource name?

azure - 从 ARM 模板部署事件网格订阅时出现 "Resource cannot be updated during provisioning"错误

通过powershell进行Azure模板部署: "Template parameter JToken type is not valid"

Azure函数nodejs : How can I extract the object from the request body in this azure function?

Azure - AKS 与 API Manager 集成以进行 JWT 身份验证

Azure API 管理访问 token 无效

python - 使用 Azure 容器注册表 python API 列出图像标签