Hello Gabriel Moraes,
Welcome to the Microsoft Q&A and thank you for posting your questions here.
I understand that you are having difficulties to remove Backup Contributor (RBAC) role to another Azure subscription.
To solve the issue: If the Azure Portal does not resolve the issue, you can use Azure CLI or PowerShell to remove the role assignment.
- Using Azure CLI
You can use Azure Cloud Shell or your local Azure CLI.
#List Role Assignments
az role assignment list --scope /subscriptions/<target-subscription-id> --role "Backup Contributor"
#Remove Role Assignment
az role assignment delete --role-assignment-id <roleAssignmentId>
- Using PowerShell
You can use either Azure Cloud Shell or local PowerShell
#List Role Assignments
Get-AzRoleAssignment -Scope "/subscriptions/<target-subscription-id>" -RoleDefinitionName "Backup Contributor"
#Remove Role Assignment
Remove-AzRoleAssignment -RoleDefinitionName "Backup Contributor" -ObjectId <ObjectId> -Scope "/subscriptions/<target-subscription-id>"
I hope this is helpful! Do not hesitate to let me know if you have any other questions.
** Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful ** so that others in the community facing similar issues can easily find the solution.
Best Regards,
Sina Salam