Unable to add additional DNS Zone to Private Endpoint

Apurva Pathak 640 Reputation points
2023-09-08T16:30:22.5+00:00

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.
Azure DNS
Azure DNS
An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
743 questions
{count} votes

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.