azure
Azure Error Codes
Error codes returned by Microsoft Azure APIs. Codes appear in the code field of an ARM error response alongside an HTTP status and a human-readable message.
15 codes
references learn.microsoft.com/en-us/azure/azure-resource-manager/troubleshooting/common-deployment-errorslearn.microsoft.com/en-us/rest/api/azure/
· All codes 15 codes
- AuthorizationFailed Authorization Failed The client does not have authorization to perform the requested action. Check that the service principal or managed identity has been assigned a role with sufficient permissions on the target scope.
- Conflict Conflict The request conflicts with the current state of the resource. This may indicate a concurrent modification or that a resource with the same name already exists.
- DeploymentFailed Deployment Failed One or more resources in the ARM deployment failed to provision. Inspect the deployment operations in the Azure portal or via az deployment operation list to find the root cause.
- InvalidParameter Invalid Parameter One or more parameters in the request are invalid. Check the API documentation for the required format and constraints for each parameter.
- InvalidTemplate Invalid Template The ARM template or Bicep file contains a syntax or semantic error. Check the error details for the specific line and property that is invalid.
- LocationNotAvailableForResourceType Location Not Available For Resource Type The requested resource type is not available in the specified Azure region. Check the Azure Products by Region page for supported locations.
- OperationNotAllowed Operation Not Allowed The requested operation is not allowed, typically due to a quota restriction, a policy, or an invalid state transition for the resource.
- QuotaExceeded Quota Exceeded A subscription or regional quota limit has been reached. Request a quota increase in the Azure portal under Help + Support, or delete unused resources to free capacity.
- RequestDisallowedByPolicy Request Disallowed By Policy An Azure Policy assignment on the subscription or resource group is blocking the operation. Review the policy definitions applied to the target scope and adjust the request to comply.
- ResourceGroupNotFound Resource Group Not Found The specified resource group does not exist in the subscription. Verify the resource group name and that you are targeting the correct subscription.
- ResourceNotFound Resource Not Found The requested Azure resource does not exist. Verify the resource name, resource group, and subscription are correct, and that the resource has not been deleted.
- ResourceTypeNotFound Resource Type Not Found The specified resource provider or resource type is not registered in the subscription. Register the provider with: az provider register --namespace <provider>.
- StorageAccountAlreadyExists Storage Account Already Exists A storage account with the specified name already exists. Storage account names must be globally unique across all of Azure. Choose a different name.
- SubscriptionNotFound Subscription Not Found The specified subscription does not exist or the caller does not have access to it. Verify the subscription ID and that your credentials have access to it.
- TooManyRequests Too Many Requests The client has exceeded the Azure Resource Manager API rate limit. Implement exponential back-off with retry logic, and spread requests over time to avoid bursts.