0
votes

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
  }
}
2

2 Answers

0
votes

Can I suggest you to please try and create a new test ADF and select the Enable encryption using CMK ? It should work that way .

enter image description here

0
votes

Microsoft resolved this issue last week. Able to add CMK keys to new data factories with no entities.