Remove-AzRoleAssignment : The provided information does not map to a role assignment.
Au caractère Ligne:1 : 1
+ Remove-AzRoleAssignment -SignInName $role.SignInName -RoleDefinitionN ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError : (:) [Remove-AzRoleAssignment], KeyNotFoundException
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.Resources.RemoveAzureRoleAssignmentCommand
Proposed implementation details (optional)
Like the cmdlet Get-AzRoleAssignment include a parameter -IncludeClassicAdministrators to be able to delete Classical Admin
Description of the new feature
Description
When using the command "Remove-AzRoleAssignment" unable to delete "Classical Administrator"
Error output
Proposed implementation details (optional)
Like the cmdlet Get-AzRoleAssignment include a parameter -IncludeClassicAdministrators to be able to delete Classical Admin