You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/TroubleShootingSteps.md
+7-50Lines changed: 7 additions & 50 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,61 +53,18 @@ Use these as quick reference guides to unblock your deployments.
53
53
|**InvalidResourceLocation**|| - You may encounter an InvalidResourceLocation error if you change the region for Cosmos DB or the Storage Account (secondary location) multiple times in the main.bicep file and redeploy<br>- Azure resources like Cosmos DB and Storage Accounts do not support changing regions after deployment<br>- If you need to change the region again, first delete the existing deployment<br>- Then redeploy the resources with the updated region configuration |
54
54
|**ServiceUnavailable/ResourceNotFound**|| - Regions are restricted to guarantee compatibility with paired regions and replica locations for data redundancy and failover scenarios based on articles [Azure regions list](https://learn.microsoft.com/en-us/azure/reliability/regions-list) and [Azure Database for MySQL Flexible Server - Azure Regions](https://learn.microsoft.com/azure/mysql/flexible-server/overview#azure-regions)<br>- You can request more quota, refer [Quota Request](https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/create-support-request-quota-increase) Documentation |
55
55
|**ResourceOperationFailure/ProvisioningDisabled**|| - This error occurs when provisioning of a resource is restricted in the selected region. It usually happens because the service is not available in that region or provisioning has been temporarily disabled<br>- Regions are restricted to guarantee compatibility with paired regions and replica locations for data redundancy and failover scenarios based on articles [Azure regions list](https://learn.microsoft.com/en-us/azure/reliability/regions-list) and [Azure Database for MySQL Flexible Server - Azure Regions](https://learn.microsoft.com/azure/mysql/flexible-server/overview#azure-regions)<br>- If you need to use the same region, you can request a quota or provisioning exception. Refer [Quota Request](https://docs.microsoft.com/en-us/azure/sql-database/quota-increase-request) for more details |
56
-
|**RedundancyConfigurationNotAvailableInRegion**|| - This issue happens when you try to create a **Storage Account** with a redundancy configuration (e.g., `Standard_GRS`) that is **not supported in the selected Azure region**<br>- Example: Creating a storage account with **GRS** in **italynorth** will fail with this error<br>- To check supported SKUs for your region:<br>`az storage account list-skus -l italynorth -o table`<br>- Use a supported redundancy option (e.g., Standard_LRS) in the same region or deploy the Storage Account in a region that supports your chosen redundancy<br>- For more details, refer to [Azure Storage redundancy documentation](https://learn.microsoft.com/en-us/azure/storage/common/storage-redundancy?utm_source=chatgpt.com)|
56
+
|**RedundancyConfigurationNotAvailableInRegion**|| - This issue happens when you try to create a **Storage Account** with a redundancy configuration (e.g., `Standard_GRS`) that is **not supported in the selected Azure region**<br>- Example: Creating a storage account with **GRS** in **italynorth** will fail with error`az storage account create -n mystorageacct123 -g myResourceGroup -l italynorth --sku Standard_GRS --kind StorageV2`<br>- To check supported SKUs for your region:<br>`az storage account list-skus -l italynorth -o table`<br>- Use a supported redundancy option (e.g., Standard_LRS) in the same region or deploy the Storage Account in a region that supports your chosen redundancy<br>- For more details, refer to [Azure Storage redundancy documentation](https://learn.microsoft.com/en-us/azure/storage/common/storage-redundancy?utm_source=chatgpt.com)|
57
57
58
58
--------------------------------
59
59
60
60
### Resource Naming & Validation
61
61
62
-
<details>
63
-
<summary><b>ResourceNameInvalid</b></summary>
64
-
65
-
- Ensure the resource name is within the allowed length and naming rules defined for that specific resource type, you can refer [Resource Naming Convention](https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules) document.
66
-
67
-
</details>
68
-
69
-
<details>
70
-
<summary><b>Workspace Name - InvalidParameter</b></summary>
71
-
72
-
To avoid this errors in workspace ID follow below rules.
73
-
1. Must start and end with an alphanumeric character (letter or number).
74
-
2. Allowed characters:
75
-
`a–z`
76
-
`0–9`
77
-
`- (hyphen)`
78
-
3. Cannot start or end with a hyphen -.
79
-
4. No spaces, underscores (_), periods (.), or special characters.
80
-
5. Must be unique within the Azure region & subscription.
81
-
6. Length: 3–33 characters (for AML workspaces).
82
-
</details>
83
-
84
-
<details>
85
-
<summary><b>VaultNameNotValid</b></summary>
86
-
87
-
In this template Vault name will be unique everytime, but if you trying to hard code the name then please make sure below points.
88
-
1. Check name length
89
-
- Ensure the Key Vault name is between 3 and 24 characters.
90
-
2. Validate allowed characters
91
-
- The name can only contain letters (a–z, A–Z) and numbers (0–9).
92
-
- Hyphens are allowed, but not at the beginning or end, and not consecutive (--).
93
-
3. Ensure proper start and end
94
-
- The name must start with a letter.
95
-
- The name must end with a letter or digit (not a hyphen).
96
-
4. Test with a new name
97
-
- Example of a valid vault name:
98
-
✅ `cartersaikeyvault1`
99
-
✅ `securevaultdemo`
100
-
✅ `kv-project123`
101
-
</details>
102
-
103
-
<details>
104
-
<summary><b>BadRequest: Dns record under zone Document is already taken</b></summary>
105
-
106
-
This error can occur only when user hardcoding the CosmosDB Service name. To avoid this you can try few below suggestions.
107
-
- Verify resource names are globally unique.
108
-
- If you already created an account/resource with same name in another subscription or resource group, check and delete it before reusing the name.
109
-
- By default in this template we are using unique prefix with every resource/account name to avoid this kind for errors.
110
-
</details>
62
+
| Issue/Error Code | Description | Steps to Resolve |
|**ResourceNameInvalid**|| - Ensure the resource name is within the allowed length and naming rules defined for that specific resource type, you can refer [Resource Naming Convention](https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules) document |
65
+
|**Workspace Name - InvalidParameter**|| To avoid this errors in workspace ID follow below rules:<br>1. Must start and end with an alphanumeric character (letter or number)<br>2. Allowed characters: `a–z`, `0–9`, `- (hyphen)`<br>3. Cannot start or end with a hyphen -<br>4. No spaces, underscores (_), periods (.), or special characters<br>5. Must be unique within the Azure region & subscription<br>6. Length: 3–33 characters (for AML workspaces) |
66
+
|**VaultNameNotValid**|| In this template Vault name will be unique everytime, but if you trying to hard code the name then please make sure below points:<br>1. Check name length - Ensure the Key Vault name is between 3 and 24 characters<br>2. Validate allowed characters - The name can only contain letters (a–z, A–Z) and numbers (0–9). Hyphens are allowed, but not at the beginning or end, and not consecutive (--)<br>3. Ensure proper start and end - The name must start with a letter. The name must end with a letter or digit (not a hyphen)<br>4. Test with a new name - Example of a valid vault name: ✅ `cartersaikeyvault1`, ✅ `securevaultdemo`, ✅ `kv-project123`|
67
+
|**BadRequest: Dns record under zone Document is already taken**|| This error can occur only when user hardcoding the CosmosDB Service name. To avoid this you can try few below suggestions:<br>- Verify resource names are globally unique<br>- If you already created an account/resource with same name in another subscription or resource group, check and delete it before reusing the name<br>- By default in this template we are using unique prefix with every resource/account name to avoid this kind for errors |
0 commit comments