We have an issue with deploying Managed Private Endpoints (MPEs) for PrivateLink Service from Azure DevOps via Synapse Workspace deployment extension, the deployment task returns following error (shortened/redacted):
##[error]Encountered with exception:Error: ManagedPrivateEndpoint deployment status "Failed" Invalid Request: Message=Invalid payload received. FQDN needs to be specified for the private endpoint targeting Private Link Service: /subscriptions/....
I've seen some similar reports in forums, but most of them were related to GitHub action or Terraform.
The issue occurs only when deploying Managed Private Endpoint for PrivateLink Service; MPEs for other services such as Key Vaults, Storage Accounts, etc. do not seem to be affected.
I tried to disable parameterization, and compare ARM template to the JSON view of that MPE (whole properties object is basically identical), nothing helps.
{
"...": "...",
"properties": {
"privateLinkResourceId": "/subscriptions/id/of/proper/privatelink/services/resource)",
"groupId": "",
"fqdns": [
"my.domain.name"
]
},
"dependsOn": [
"..."
]
}
Normally, I could live without deploying MPEs in a release pipeline, as these do not change too often in my use case. However, when Delete Artifacts Not In Template is enabled, and I'm not deploying MPEs, the task just deletes them (which doesn't make too much sense).
Any ideas how to resolve (or at least where to report) this? Thanks!