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

Mittal, Abhinav (Contractor) 5 Reputation points
2023-11-14T15:57:03.91+00:00

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 https://aka.ms/arm-deployment-operations 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.

Regards,

Abhinav

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,705 questions
{count} votes

1 answer

Sort by: Most helpful
  1. QuantumCache 20,266 Reputation points
    2023-11-15T04:06:23.67+00:00

    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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.