Getting Error: Code="DeploymentFailed" Message="At least one resource deployment operation failed. Details=[{"code":"BadRequest","message":ManagedPrivateEndpointInvalidPayload Details=[{"code":"BadRequest","mess

Mittal, Abhinav (Contractor) 0 Reputation points

I am trying to deploy ADF code to the higher environments using the ARM templates. I have built a CI/CD pipeline to use these templates. When I run the pipeline, all the components like pipelines, datasets, linked services etc are getting deployed, but it is failing when trying to deploy the Managed private endpoints. I am getting the below error:

Error: waiting for creation of Template Deployment "ep-tst-uks-1-001-cd-consdataadf-001-20231113175743"

(Resource Group "EP-DEV-UKS-1.0-001-consdata-rg"): Code="DeploymentFailed" Message="At least one resource deployment operation failed.

Please list deployment operations for details. Please see for usage details."

Details=[{"code":"BadRequest","message":"{\r\n "error": {\r\n "code": "ManagedPrivateEndpointInvalidPayload"

I have checked the payload and couldn't find any issue with that.

Any pointers here will be really helpful.



Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
8,510 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. SatishBoddu-MSFT 19,461 Reputation points

    Hello @Mittal, Abhinav (Contractor)

    Based on the error message you provided, it seems like there is an issue with the payload of the Managed Private Endpoint. However, without looking at the exact payload and the ARM template, it is difficult to pinpoint the exact issue.

    Here are a few things you can check to troubleshoot the issue:

    Check if the private endpoint already exists in the factory?

    Check if you have the correct permissions to deploy the managed private endpoint?

    0 comments No comments