last sync: 2025-May-07 18:08:45 UTC

Configure private DNS zones for private endpoints connected to Static Web App

Community Policy definition

Source Repository Community-Policy GitHub
JSON Community-Policy GitHub
Deploy policy ee8e785b-1d5a-4e73-971e-e54bb75450f8 (1.0.0) to Azure
Display name Configure private DNS zones for private endpoints connected to Static Web App
Id ee8e785b-1d5a-4e73-971e-e54bb75450f8
Version 1.0.0
Details on versioning
Category App Service
Microsoft Learn
Description Use private DNS zones to override the DNS resolution for a private endpoint. This policy automatically selects the private DNS zone with the corresponding partition id used by the Static Web App.
Mode Indexed
Type Custom Community
Effect Default
DeployIfNotExists
Allowed
DeployIfNotExists, Disabled
RBAC role(s)
Role Name Role Id
Network Contributor 4d97b98b-1d4f-4787-a291-c67834d212e7
Rule aliases IF (3)
Alias Namespace ResourceType Path PathIsDefault DefaultPath Modifiable
Microsoft.Network/privateEndpoints/privateLinkServiceConnections[*] Microsoft.Network privateEndpoints properties.privateLinkServiceConnections[*] True False
Microsoft.Network/privateEndpoints/privateLinkServiceConnections[*].groupIds[*] Microsoft.Network privateEndpoints properties.privateLinkServiceConnections[*].properties.groupIds[*] True False
Microsoft.Network/privateEndpoints/privateLinkServiceConnections[*].privateLinkServiceId Microsoft.Network privateEndpoints properties.privateLinkServiceConnections[*].properties.privateLinkServiceId True False
Rule resource types IF (2)
Microsoft.Network/privateEndpoints
Microsoft.Web/staticSites
THEN-Deployment (1)
Microsoft.Network/privateEndpoints/privateDnsZoneGroups
JSON
EPAC
Deploy policy ee8e785b-1d5a-4e73-971e-e54bb75450f8 (1.0.0) to Azure