Error during Azure Redis Cache Deployment: status Failed

ManuelM 0 Reputation points
2025-04-04T09:31:22.3766667+00:00

Issue Description:

I'm encountering an error while deploying an Azure Redis Cache instance using Terraform in my development environment. The deployment fails with the following message:

{
    "authorization": {
        "action": "Microsoft.Cache/redis/write",
        "scope": "/subscriptions/94a9e5d9-7934-4263-8dab-d6aa4c055c8f/resourceGroups/sikuro-dev/providers/Microsoft.Cache/redis/sikurosharedcache-sikuro-dev"
    },
    "status": {
        "value": "Failed",
        "localizedValue": "Failed"
    },
    "properties": {
        "statusMessage": "{\"status\":\"Failed\",\"error\":{\"code\":\"ResourceOperationFailure\",\"message\":\"The resource operation completed with terminal provisioning state 'Failed'.\",\"details\":[{\"code\":\"AzureCacheForRedisLongRunningOperationFailure\",\"message\":\"An error occurred during the long running operation. Request Id: 89455630-5b77-4224-9748-27aa873f23d1, Correlation id: 5f910495-d578-47da-8b79-230008a3582f\"}]}}"
    }
}

What I’ve Tried So Far:

  1. Checked Role Assignments: The identity performing the deployment has Contributor permissions on the resource group.
  2. Subscription Quotas: Verified that my subscription allows Redis Cache creation in this region.
  3. Network Considerations: The Redis instance is not deployed within a VNET, so no firewall issues should be present.
  4. Retries: Attempted redeploying with different capacity without success

Questions:

  1. Does this error indicate a permissions issue, or could it be related to the SKU misconfiguration?

Could this be caused by a regional quota or a provisioning limitation?

Is there a way to get more detailed logs on why the Redis instance is failing to provision?

Azure Cache for Redis
Azure Cache for Redis
An Azure service that provides access to a secure, dedicated Redis cache, managed by Microsoft.
291 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.