Unable to add additional DNS Zone to Private Endpoint
Apurva Pathak
640
Reputation points
Hi,
I am trying to add one more DNS zone to one of my private endpoints using Azure CLI, but it is failing with below error message. This PE is already registered with a local DNS Zone, but I am trying to integrate it with my Central Zone.
PS C:\Users\apurva.pathak> az network private-endpoint dns-zone-group add --endpoint-name blob-pe -g perg -n default --zone-name deployedByPolicy --private-dns-zone /subscriptions/xxxxxx-xxxx-xxxx/resourceGroups/privatednszone/providers/Microsoft.Network/privateDnsZones/Privatelink.blob.core.windows.netaz : ERROR: (InternalServerError) An error occurred.At line:1 char:1+ az network private-endpoint dns-zone-group add --endpoint-name gahdls ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (ERROR: (Interna...error occurred.:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError Code: InternalServerErrorMessage: An error occurred.
Sign in to answer