DNS Resolver failing to deploy

Mike Matthews 1 Reputation point
2023-03-08T13:58:53.1933333+00:00

We have a DNS Resolver as part of our Bicep configuration. This resource was first deployed some time ago, and the Bicep definition has not recently chagned. Our DevOps pipeline therefore does not need to modify it.

Starting this morning, however, the pipeline has been hanging and eventually failing when attempting to deploy the DNS Resolver. The specific error type is:

Microsoft.Azure.Networking.Dns.ManagedResolver.Frontend.Contracts.Exceptions.Service.FrontendServiceException

Our Bicep code is as follows:

resource dnsResolver 'Microsoft.Network/dnsResolvers@2022-07-01' = {
  name: dnsResolverName
  location: location
  properties: {
    virtualNetwork: {
      id: dnsResolverSubnetResourceId
    }
  }

  resource dnsResolvers_PrivateDNSResolver_name_InboundEndpoint 'inboundEndpoints' = {
    name: 'InboundEndpoint'
    location: location
    properties: {
      ipConfigurations: [
        { 
          subnet: {
            id: dnsResolverSubnetResourceId
          }
          privateIpAllocationMethod: 'Dynamic'
        }
      ]
    }
  }
}
Azure DNS
Azure DNS
An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
595 questions
{count} votes