首页 > 解决方案 > Adding CMK(Customer Managed Key) failing for empty Azure data factory

问题描述

Adding Customer managed key to brand new Data factory failing with below error message. Same error when i tried from Azure Portal or REST API (PUT https://management.azure.com/subscriptions/#####/resourceGroups/####/providers/Microsoft.DataFactory/factories/ )

I just created Data factory and it is empty. Following below link https://docs.microsoft.com/en-us/azure/data-factory/enable-customer-managed-key

{
  "error": {
    "code": "AddCMKToExistingFactoriesWithEntities",
    "message": "Update factory failed. You cannot add CMK settings for factories with existing entities",
    "target": null,
    "details": null
  }
}

标签: azureazure-data-factory-2

解决方案


微软上周解决了这个问题。能够将 CMK 密钥添加到没有实体的新数据工厂。


推荐阅读