Closed svscheg closed 5 months ago
Have problem for using some values for the Subnet delegation.
Use Microsoft.Network/managedResolvers value for the Subnet delegation - have an error for Subnet resource: message: 'apply failed: creating Subnet: (Name "examplesubnet" / Virtual Network Name "examplevn" / Resource Group "rgresolveroutboundendpoint"): network.SubnetsClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="InvalidServiceNameOnDelegation" Message="The service name Microsoft.Network/managedResolvers specified on delegation /subscriptions/038f2b7c-3265-43b8-8624-c9ad5da610a8/resourceGroups/rgresolveroutboundendpoint/providers/Microsoft.Network/virtualNetworks/examplevn/subnets/examplesubnet/delegations/Microsoft.Network.dnsResolvers is not valid. Valid value(s) are: Microsoft.Network/fpgaNetworkInterfaces,Microsoft.Web/serverFarms,Microsoft.ContainerInstance/containerGroups,Microsoft.Netapp/volumes,Microsoft.HardwareSecurityModules/dedicatedHSMs,Microsoft.ServiceFabricMesh/networks,Microsoft.Logic/integrationServiceEnvironments,Microsoft.Batch/batchAccounts,Microsoft.Sql/managedInstances,Microsoft.Web/hostingEnvironments,Microsoft.BareMetal/CrayServers,Microsoft.BareMetal/MonitoringServers,Microsoft.Databricks/workspaces,Microsoft.BareMetal/AzureHostedService,Microsoft.BareMetal/AzureVMware,Microsoft.BareMetal/AzureHPC,Microsoft.BareMetal/AzurePaymentHSM,Microsoft.StreamAnalytics/streamingJobs,Microsoft.DBforPostgreSQL/serversv2,Microsoft.AzureCosmosDB/clusters,Microsoft.MachineLearningServices/workspaces,Microsoft.DBforPostgreSQL/singleServers,Microsoft.DBforPostgreSQL/flexibleServers,Microsoft.DBforMySQL/serversv2,Microsoft.DBforMySQL/flexibleServers,Microsoft.ApiManagement/service,Microsoft.Synapse/workspaces,Microsoft.PowerPlatform/vnetaccesslinks,Microsoft.Network/dnsResolvers,Microsoft.Kusto/clusters,Microsoft.DelegatedNetwork/controller,Microsoft.ContainerService/managedClusters,Microsoft.PowerPlatform/enterprisePolicies,Microsoft.Network/virtualNetworkGateways,Microsoft.StoragePool/diskPools,Microsoft.DocumentDB/cassandraClusters,Microsoft.Apollo/npu,Microsoft.AVS/PrivateClouds,Microsoft.Orbital/orbitalGateways,Microsoft.Singularity/accounts/jobs,Microsoft.Singularity/accounts/models,Microsoft.Singularity/accounts/networks,Microsoft.Singularity/accounts/npu,Microsoft.AISupercomputer/accounts/jobs,Microsoft.AISupercomputer/accounts/models,Microsoft.AISupercomputer/accounts/npu,Microsoft.ContainerService/TestClients,Microsoft.LabServices/labplans,Microsoft.Fidalgo/networkSettings,Microsoft.DevCenter/networkConnection,NGINX.NGINXPLUS/nginxDeployments,Microsoft.CloudTest/pools,Microsoft.CloudTest/hostedpools,Microsoft.CloudTest/images,Microsoft.Codespaces/plans,PaloAltoNetworks.Cloudngfw/firewalls,Qumulo.Storage/fileSystems,Microsoft.App/testClients,Microsoft.App/environments,Microsoft.ServiceNetworking/trafficControllers."
Use any f valid values for example Microsoft.ApiManagement/service - root resource PrivateDNSResolverOutboundEndpoint will have an error: message: |- apply failed: creating Outbound Endpoint (Subscription: "038f2b7c-3265-43b8-8624-c9ad5da610a8" Resource Group Name: "rgresolveroutboundendpoint" Dns Resolver Name: "example" Outbound Endpoint Name: "example"): polling after CreateOrUpdate: Code="BadRequest" Message="The specified subnet /subscriptions/038f2b7c-3265-43b8-8624-c9ad5da610a8/resourceGroups/rgresolveroutboundendpoint/providers/Microsoft.Network/virtualNetworks/examplevn/subnets/examplesubnet could not be used to provision the outbound endpoint. Please make sure you use a subnet of at least /28 and at most /24 size, which is not currently in use by any other DNS resolver endpoint or any other Azure service workloads, and does not collide with the reserved subnet spaces of '10.0.1.0/24;10.0.2.0/24;10.0.3.0/24;10.0.4.0/24;10.0.5.0/24;10.0.6.0/24;10.0.7.0/24;10.0.8.0/24;10.0.9.0/24;10.0.10.0/24;10.0.11.0/24;10.0.12.0/24;10.0.13.0/24;10.0.14.0/24;10.0.15.0/24;10.0.16.0/24'.": creating Outbound Endpoint (Subscription: "038f2b7c-3265-43b8-8624-c9ad5da610a8" Resource Group Name: "rgresolveroutboundendpoint" Dns Resolver Name: "example" Outbound Endpoint Name: "example"): polling after CreateOrUpdate: Code="BadRequest" Message="The specified subnet /subscriptions/038f2b7c-3265-43b8-8624-c9ad5da610a8/resourceGroups/rgresolveroutboundendpoint/providers/Microsoft.Network/virtualNetworks/examplevn/subnets/examplesubnet could not be used to provision the outbound endpoint. Please make sure you use a subnet of at least /28 and at most /24 size, which is not currently in use by any other DNS resolver endpoint or any other Azure service workloads, and does not collide with the reserved subnet spaces of '10.0.1.0/24;10.0.2.0/24;10.0.3.0/24;10.0.4.0/24;10.0.5.0/24;10.0.6.0/24;10.0.7.0/24;10.0.8.0/24;10.0.9.0/24;10.0.10.0/24;10.0.11.0/24;10.0.12.0/24;10.0.13.0/24;10.0.14.0/24;10.0.15.0/24;10.0.16.0/24'."
Also will attach error for described in the documentation Subnet delegation value Microsoft.Network/dnsResolvers(and the same error will be appeared for the Subnet resource id we will not specify value for the Subnet delegation)
This provider repo does not have enough maintainers to address every issue. Since there has been no activity in the last 90 days it is now marked as stale
. It will be closed in 14 days if no further activity occurs. Leaving a comment starting with /fresh
will mark this issue as not stale.
This issue is being closed since there has been no activity for 14 days since marking it as stale
. If you still need help, feel free to comment or reopen the issue!
private_dns
5