First of all, please ensure you grant sufficient permission to the virtual network resource your service instance deployed in, followed by Grant Azure Spring Cloud service permission to the virtual network.
If the issue still occur, when you set up an Azure Spring Cloud service instance by using the Azure portal, Azure Spring Cloud performs the validation for you.
But if you try to set up the Azure Spring Cloud service instance by using the Azure CLI, verify that:
- The subscription is active.
- The location is supported by Azure Spring Cloud.
- The resource group for the instance is already created.
- The resource name conforms to the naming rule. It must contain only lowercase letters, numbers, and hyphens. The first character must be a letter. The last character must be a letter or number. The value must contain from 2 to 32 characters.
If you want to set up the Azure Spring Cloud service instance by using the Resource Manager template, first refer to Understand the structure and syntax of Azure Resource Manager templates.
Error Message | How to fix |
---|---|
Resources created by Azure Spring Cloud were disallowed by policy. | Network resources will be created when deploy Azure Spring Cloud in your own virtual network. Please check whether you have Azure Policy defined to block those creation. Resources failed to be created can be found in error message. |
Provided subnets have associated with route tables, please disassociate them. | Currently it is not supported to deploy Azure Spring Cloud in subnet associated with existing route tables, please dissociate them and try again. |
Required traffic is not whitelisted. | Please refer to Customer Responsibilities for Running Azure Spring Cloud in VNET to ensure required traffic is whitelisted. |
The problem happens if your virtual network is configured with a custom DNS settings. In that case, private DNS zone used by Azure Spring Cloud would be ineffective. Please add the Azure DNS IP 168.63.129.16 as the upstream DNS server in the custom DNS server.
Please reference Troubleshoot common Azure Spring Cloud issues.