Hi,
Something here might help:
https://learn.microsoft.com/en-us/azure/role-based-access-control/tutorial-role-assignments-group-powershell#remove-access
Best regards,
Leon
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
I have tried this cmdlet Remove-AzureRmRoleAssignment, to remove a Contributor role from AAD group that has the delegated Contributor role in my tenant.
I got this error:
PS C:\Users\myuser\Desktop> Remove-AzureRmRoleAssignment -ObjectId xxxxxxxxxxxxxxxxxxxxxxxxxxx
-RoleDefinitionName Contributor
Remove-AzureRmRoleAssignment : Method 'get_SerializationSettings' in type
'Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient' from assembly
'Microsoft.Azure.Commands.ResourceManager.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
does not have an implementation.
At line:1 char:1
Anyone can help me remove this assigned role, I also cannot find it at the IAM portal
On the other hand, the managing tenant has still Contributor access
Hi,
Something here might help:
https://learn.microsoft.com/en-us/azure/role-based-access-control/tutorial-role-assignments-group-powershell#remove-access
Best regards,
Leon