Skip to content

Commit e7d89a0

Browse files
Update Troubleshoot doc - 2
1 parent 7a70ebd commit e7d89a0

1 file changed

Lines changed: 7 additions & 50 deletions

File tree

docs/TroubleShootingSteps.md

Lines changed: 7 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -53,61 +53,18 @@ Use these as quick reference guides to unblock your deployments.
5353
| **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 |
5454
| **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 |
5555
| **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) |
5757

5858
--------------------------------
5959

6060
### Resource Naming & Validation
6161

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 |
63+
|-----------------|-------------|------------------|
64+
| **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 |
11168

11269
---------------------------------
11370

0 commit comments

Comments
 (0)