-> The name of the private DNS zone depends upon the default domain name suffix of the static web app. For example, if the default domain suffix of the app is `3.azurestaticapps.net`, the name of the private DNS zone must be `privatelink.3.azurestaticapps.net`. When a new static web app is created, its default domain suffix might be different from the default domain suffix(es) of previous static web apps. If you are using an automated deployment process to create the private DNS zone, you can use the `DefaultHostname` property in your app to programmatically extract the domain suffix. The `DefaultHostname` property value resembles `<StaticWebAppDefaultDomainPrefix>.<PartitionId>. azurestaticapps.net` or `<StaticWebAppDefaultDomainPrefix>. azurestaticapps.net`, where `<PartitionId>.azurestaticapps.net` or `azurestaticapps.net` is the respective default domain suffix.
0 commit comments