1 Answers
Hi Prasanna,
I believe you are trying to create a storage account in a location that isn’t allowed. Can you try and create it in the same location as the resource group?
Cheers,
Lars
Sign Up Free or Log In to participate!
While trying to create a PowerShell storage account and file share, it’s not allowed to create storage. Can you please help to try this lab. I’m the same credentials given in the lab, tried in incognito.
Storage creation failed
Error: 403
{"error":{"code":"RequestDisallowedByPolicy","target":"cloudscalestorageshell","message":"Resource ‘cloudscalestorageshell’ was disallowed by policy. Policy identifiers: ‘[{"policyAssignment":{"name":"Allowed locations","id":"/providers/Microsoft.Management/managementGroups/Vader-Gen2-Labs/providers/Microsoft.Authorization/policyAssignments/47f9111a3dc447249295c3e2"},"policyDefinition":{"name":"Allowed locations","id":"/providers/Microsoft.Authorization/policyDefinitions/e56962a6-4747-49cd-b67b-bf8b01975c4c"}},{"policyAssignment":{"name":"Allowed locations – Exclude
Hi Prasanna,
I believe you are trying to create a storage account in a location that isn’t allowed. Can you try and create it in the same location as the resource group?
Cheers,
Lars
Psst…this one if you’ve been moved to ACG!