@MartinJaffer-MSFT I have a situation
I have 2 data factories, one for dev and other for testing.
I have created a managed private endpoint in dev data factory that points to azure sql (pointing to dev sql server and db) eg: az_mpe_dev
I have created a managed private endpoint in test data factory that points to azure sql (pointing to testsql server and db) eg: az_mpe_test
Now when I use azure pipeline to deploy dev adf to test, I get the following error:
ManagedPrivateEndpointInvalidPayload: Managed private endpoint 'az_mpe_dev' is invalid.
In the templateparameter.json
its:
"az_mpe_dev_properties_privateLinkResourceId": {
"value": "/subscriptions/abc/resourceGroups/rg-dev/providers/Microsoft.Sql/servers/sqlserver-dev
},
"az_mpe_dev_properties_groupId": {
"value": "sqlServer"
},
"az_mpe_dev_properties_ipAddress": {
"value": null
},
az_mpe_dev_properties_resourceId": {
"value": "/subscriptions/abc/resourceGroups/vnet-b4549a5weqwee-UKSouth-243-rg/providers/Microsoft.Network/privateEndpoints/az-df-dev.az_mpe_de"
}
Now when I override the template parameters with test values I get the above error.
How should I resolve this ?