Unable to delete ARO Resource Group

Solution Verified - Updated -

Issue

  • Unable to delete Resource Group due to authorization failed.

Error message:

Resource ID: /subscriptions/xxxx-xxxx-xxxx-xxxx/resourceGroups/Sample-RGP/providers/Microsoft.RedHatOpenShift/OpenShiftClusters/samplesandbox
Subscription ID: xxxx-xxxx-xxxx-xxxx
Resource Group: tc-test-samplesanbox-rg
Cluster Name: samplesandbox

authorization.RoleAssignmentsClient#Delete: Failure responding to request: StatusCode=403 -- Original Error: autorest/azure: Service returned an error. Status=403 Code="AuthorizationFailed" Message="The client 'xxxx-xxxx-xxxx-xxxx' with object id 'xxxx-xxxx-xxxx-xxxx' does not have authorization to perform action 'Microsoft.Authorization/roleAssignments/delete' over scope '/subscriptions/xxxx-xxxx-xxxx-xxxx/resourceGroups/TC-TEST-SAMPLESANBOX-RG/providers/Microsoft.Authorization/roleAssignments/xxxx-xxxx-xxxx-xxxx' or the scope is invalid. If access was recently granted, please refresh your credentials."

Environment

  • Azure Red Hat Openshift (ARO)
    • v4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content