In the Azure Portal I see
Action required: As of August 31, 2024, Azure classic administrator roles (along with Azure classic resources, Azure Service Manager) are retired and are no longer supported. If you still have active Co-Administrator or Service Administrator role assignments, convert these roles to Azure RBAC immediately. Learn more
Because of this I wanted to list my classic administrators. I found this code to do that.
When I run
az role assignment list --include-classic-administrators --output table
I see 3 results with one email duplicated, having the Owner and the AccountAdministrator role.
When I run
az role assignment list --output table
I see 2 results. None have the AccountAdministrator role
I have looked under IAM roles but I do not see AccountAdministrator as a role.
How do I find and remove the AccountAdministrator assignment?
