Azure-Player / azure.datafactory.tools

Tools for deploying Data Factory (v2) in Microsoft Azure
https://azureplayer.net/adftools
MIT License
209 stars 69 forks source link

Unable to deploy managed private endpoints #306

Closed waldemar-sarmiento closed 1 year ago

waldemar-sarmiento commented 1 year ago

I don't think this is a bug but I cannot find any documentation on how to do it and I am getting an error:

##[error]ADFT0010: Wrong path defined in config for object(path): managedPrivateEndpoint.pep-adf-dev-syn-dev(properties.name)

To Reproduce In order to deploy the managed private endpoints that go into Synapse (adf->synapse with private access) I change it in the config file like this:

type,name,path,value managedPrivateEndpoint,"pep-adf-dev-syn-dev-sql","$.name", "pep-adf-uat-syn-uat-sql" managedPrivateEndpoint,"pep-adf-dev-syn-dev-sql","$.properties", "{'privateLinkResourceId': '/subscriptions/guid/resourceGroups/rg-uat-001/providers/Microsoft.Synapse/workspaces/syn-uat-001','groupId': 'sql','fqdns': ['syn-uat.sql.azuresynapse.net']}"

NowinskiK commented 1 year ago

This discussion can help: https://github.com/Azure-Player/azure.datafactory.tools/discussions/298