-
Notifications
You must be signed in to change notification settings - Fork 371
docs: Additional troubleshooting steps #460
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 4 commits
1273265
92cadba
abef875
080926b
c3254dd
34ed02d
933f80e
1f6d0fa
fbb3172
265f94a
4899ecb
ae62895
4122c57
9f44541
491b218
be9aefa
f8a9b9e
5877bbd
628180f
e933ec9
be21418
d084366
0d1b92a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||
---|---|---|---|---|---|---|---|---|
|
@@ -103,13 +103,13 @@ based on available quota you can deploy application otherwise, you can request f | |||||||
</details> | ||||||||
|
||||||||
<details> | ||||||||
<summary><b>DeploymentModelNotSupported</b></summary> | ||||||||
<summary><b>DeploymentModelNotSupported/ ServiceModelDeprecated/ InvalidResourceProperties</b></summary> | ||||||||
|
||||||||
- The updated model may not be supported in the selected region. Please verify its availability in the [Azure AI Foundry models](https://learn.microsoft.com/en-us/azure/ai-foundry/openai/concepts/models?tabs=global-standard%2Cstandard-chat-completions) document. | ||||||||
|
||||||||
</details> | ||||||||
<details> | ||||||||
<summary><b>LinkedInvalidPropertyId/ ResourceNotFound/DeploymentOutputEvaluationFailed/ CanNotRestoreANonExistingResource </b></summary> | ||||||||
<summary><b>LinkedInvalidPropertyId/ ResourceNotFound/DeploymentOutputEvaluationFailed/ CanNotRestoreANonExistingResource / The language expression property array index is out of bounds</b></summary> | ||||||||
|
||||||||
- Before using any resource ID, ensure it follows the correct format. | ||||||||
- Verify that the resource ID you are passing actually exists. | ||||||||
|
@@ -128,6 +128,8 @@ based on available quota you can deploy application otherwise, you can request f | |||||||
``` | ||||||||
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{name} | ||||||||
``` | ||||||||
- You may encounter the error `The language expression property array index '8' is out of bounds` if the resource ID is incomplete. Please ensure your resource ID is correct and contains all required information, as shown in sample resource IDs. | ||||||||
|
||||||||
- For more information refer [Resource Not Found errors solutions](https://learn.microsoft.com/en-us/azure/azure-resource-manager/troubleshooting/error-not-found?tabs=bicep) | ||||||||
|
||||||||
</details> | ||||||||
|
@@ -297,5 +299,174 @@ The subscription 'xxxx-xxxx' cannot have more than 1 Container App Environments | |||||||
|
||||||||
</details> | ||||||||
|
||||||||
<details> | ||||||||
<summary><b>Unauthorized - Operation cannot be completed without additional quota</b> </summary> | ||||||||
|
||||||||
- You can check your quota usage using `az vm list-usage`. | ||||||||
|
||||||||
``` | ||||||||
az vm list-usage --location "<Location>" -o table | ||||||||
``` | ||||||||
- To Request more quota refer [VM Quota Request](https://techcommunity.microsoft.com/blog/startupsatmicrosoftblog/how-to-increase-quota-for-specific-types-of-azure-virtual-machines/3792394). | ||||||||
|
||||||||
</details> | ||||||||
|
||||||||
<details><summary><b>ParentResourceNotFound</b> | ||||||||
</summary> | ||||||||
|
||||||||
- You can refer to the [Parent Resource Not found](https://learn.microsoft.com/en-us/azure/azure-resource-manager/troubleshooting/error-parent-resource?tabs=bicep) documentation if you encounter this error. | ||||||||
|
||||||||
</details> | ||||||||
|
||||||||
<details><summary><b>ResourceProviderError</b></summary> | ||||||||
|
||||||||
- This error occurs when the resource provider is not registered in your subscription. | ||||||||
- To register it, refer to [Register Resource Provider](https://learn.microsoft.com/en-us/azure/azure-resource-manager/troubleshooting/error-register-resource-provider?tabs=azure-cli) documentation. | ||||||||
|
||||||||
</details> | ||||||||
|
||||||||
<details><summary><b>Conflict - Cannot use the SKU Basic with File Change Audit for site.</b></summary> | ||||||||
|
||||||||
- This error happens because File Change Audit logs aren’t supported on Basic SKU App Service Plans. | ||||||||
|
||||||||
- Upgrading to Premium/Isolated SKU (supports File Change Audit), or | ||||||||
|
||||||||
- Disabling File Change Audit in Diagnostic Settings if you must stay on Basic. | ||||||||
- Always cross-check the [supported log types](https://aka.ms/supported-log-types) | ||||||||
before adding diagnostic logs to your Bicep templates. | ||||||||
|
||||||||
</details> | ||||||||
|
||||||||
<details> | ||||||||
|
||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The formatting is inconsistent with other sections. There's an unnecessary blank line between the opening
Suggested change
Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||||
<summary><b>AccountPropertyCannotBeUpdated</b></summary> | ||||||||
|
||||||||
- The property **`isHnsEnabled`** (Hierarchical Namespace for Data Lake Gen2) is **read-only** and can only be set during **storage account creation**. | ||||||||
- Once a storage account is created, this property **cannot be updated**. | ||||||||
- Trying to update it via ARM template, Bicep, CLI, or Portal will fail. | ||||||||
|
||||||||
- **Resolution** | ||||||||
- Create a **new storage account** with `isHnsEnabled=true` if you require hierarchical namespace. | ||||||||
- Migration may be needed if you already have data. | ||||||||
- Refer to [Storage Account Update Restrictions](https://aka.ms/storageaccountupdate) for more details. | ||||||||
|
||||||||
</details> | ||||||||
|
||||||||
<details><summary><b>InvalidRequestContent</b></summary> | ||||||||
|
||||||||
- The deployment values either include values that aren't recognized, or required values are missing. Confirm the values for your resource type. | ||||||||
- You can refer [Invalid Request Content error](https://learn.microsoft.com/en-us/azure/azure-resource-manager/troubleshooting/common-deployment-errors#:~:text=InvalidRequestContent,Template%20reference) documentation. | ||||||||
|
||||||||
</details> | ||||||||
|
||||||||
<details><summary><b>ReadOnlyDisabledSubscription</b></summary> | ||||||||
|
||||||||
- Depending on the type of the Azure Subscription it might be an expiration date is reached. | ||||||||
NirajC-Microsoft marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||
|
||||||||
- You have to activate the Azure Subscription before creating any Azure resource. | ||||||||
- You can refer [Reactivate a disabled Azure subscription](https://learn.microsoft.com/en-us/azure/cost-management-billing/manage/subscription-disabled) Documentation. | ||||||||
|
||||||||
</details> | ||||||||
|
||||||||
|
||||||||
<details><summary><b>SkuNotAvailable</b></summary> | ||||||||
|
||||||||
- You receive this error in the following scenarios: | ||||||||
- When the resource SKU you've selected, such as VM size, isn't available for a location or zone. | ||||||||
- If you're deploying an Azure Spot VM or Spot scale set instance, and there isn't any capacity for Azure Spot in this location. For more information, see Spot error messages. | ||||||||
</details> | ||||||||
|
||||||||
<details><summary><b>CrossTenantDeploymentNotPermitted</b></summary> | ||||||||
|
||||||||
- Check tenant match: Ensure your deployment identity (user/SP) and the target resource group are in the same tenant. | ||||||||
``` | ||||||||
az account show | ||||||||
az group show --name <RG_NAME> | ||||||||
``` | ||||||||
|
||||||||
- Verify pipeline/service principal: If using CI/CD, confirm the service principal belongs to the same tenant and has permissions on the resource group. | ||||||||
|
||||||||
- Avoid cross-tenant references: Make sure your Bicep doesn’t reference subscriptions, resource groups, or resources in another tenant. | ||||||||
|
||||||||
- Test minimal deployment: Deploy a simple resource to the same resource group to confirm identity and tenant are correct. | ||||||||
|
||||||||
- Guest/external accounts: Avoid using guest users from other tenants; use native accounts or SPs in the tenant. | ||||||||
|
||||||||
</details> | ||||||||
|
||||||||
<details><summary><b>RequestDisallowedByPolicy </b></summary> | ||||||||
|
||||||||
- This typically indicates that an Azure Policy is preventing the requested action due to policy restrictions in your subscription. | ||||||||
|
||||||||
- For more details and guidance on resolving this issue, please refer to the official Microsoft documentation: [RequestDisallowedByPolicy](https://learn.microsoft.com/en-us/troubleshoot/azure/azure-kubernetes/create-upgrade-delete/error-code-requestdisallowedbypolicy) | ||||||||
|
||||||||
</details> | ||||||||
|
||||||||
<details> | ||||||||
<summary><b>FlagMustBeSetForRestore/NameUnavailable/CustomDomainInUse</b></summary> | ||||||||
|
||||||||
- This error occurs when you try to deploy a Cognitive Services resource that was **soft-deleted** earlier. | ||||||||
- Azure requires you to explicitly set the **`restore` flag** to `true` if you want to recover the soft-deleted resource. | ||||||||
- If you don’t want to restore the resource, you must **purge the deleted resource** first before redeploying. | ||||||||
Example causes: | ||||||||
- Trying to redeploy a Cognitive Services account with the same name as a previously deleted one. | ||||||||
- The deleted resource still exists in a **soft-delete retention state**. | ||||||||
**How to fix:** | ||||||||
1. If you want to restore → add `"restore": true` in your template properties. | ||||||||
2. If you want a fresh deployment → purge the resource using: | ||||||||
```bash | ||||||||
az cognitiveservices account purge \ | ||||||||
--name <resource-name> \ | ||||||||
--resource-group <resource-group> \ | ||||||||
--location <location> | ||||||||
``` | ||||||||
For more details, refer to [Soft delete and resource restore](https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/delete-resource-group?tabs=azure-powershell) | ||||||||
. | ||||||||
|
For more details, refer to [Soft delete and resource restore](https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/delete-resource-group?tabs=azure-powershell) | |
. | |
For more details, refer to [Soft delete and resource restore](https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/delete-resource-group?tabs=azure-powershell). |
Copilot uses AI. Check for mistakes.
Uh oh!
There was an error while loading. Please reload this page.