Hello,
we have a pipeline in bicep which creates a Synapse workspace.
We would like to change it in order to automatize the creation of the managed private endpoint of the storage account and we followed the bicep API described here:
https://learn.microsoft.com/en-us/azure/templates/microsoft.synapse/2021-06-01/workspaces?tabs=bicep#datalakestorageaccountdetails
so in the property DataLakeStorageAccountDetails we added the flag createManagedPrivateEndpoint with value true and then we added the resourceId with the resource Id of the storage account.
The deploy doesn't work and it ends with the error:
[\r\n {\r\n \"code\": \"BadRequest\",\r\n \"message\": \"{\\r\\n \\\"error\\\": {\\r\\n \\\"code\\\": \\\"ValidationFailed\\\",\\r\\n \\\"message\\\": \\\"Workspace request validation failed, check error details for more information\\\",\\r\\n \\\"details\\\": [\\r\\n {\\r\\n \\\"code\\\": \\\"DefaultDataLakeStorageCannotBeUpdated\\\",\\r\\n \\\"message\\\": \\\"Default data lake storage cannot be updated. resourceId: /subscriptions/............, createManagedPrivateEndpoint: \\\"\\r\\n }\\r\\n ]\\r\\n }\\r\\n}\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n}"}]}}
Do you know the reason of this error?
Thank you
Regards
Hi @Paolo Panvini ,
It seems irrespective of your createManagedPrivateEndPoint value, Somehow your ARM temple trying to either create or update existing data lake resource.
It would be great if you can review your ARM template which is getting deployed to actually see what is happening there. Feel free to share ARM template here too to check from my end as well if I can spot anything. Thank you.
Hi @Paolo Panvini - Just checking if you get chance to share updates