Mar 26 2022 11:29 AM
Hello!
I need a small help. I created the "MyBaseOptions-DisableForwarding" on the Default Role Assignment Policy.
I would like to remove that change from the Default Role Assignment Policy and add it to a new role policy, but I am not sure what command would remove only the "MyBaseOptions-DisableForwarding" that I added by running the "New-ManagementRole MyBaseOptions-DisableForwarding Parent MyBaseOptions".
Thank you so much in advance.
Mar 26 2022 11:40 AM
Mar 26 2022 12:30 PM
Mar 27 2022 09:45 AM
Mar 27 2022 09:51 AM
@VasilMichev What are the implications of removing the default role?
Mar 29 2022 03:43 AM - edited Mar 29 2022 03:55 AM
Hi STHLM,
Run the following PowerShell CMD
The below will show you all roles for default role assignment and look for your role you created "MyBaseOptions-DisableForwarding" take a snipping tool of the results...
Get-ManagementRoleAssignment -RoleAssignee "Default Role Assignment Policy" | Format-Table Name,Role -Auto
And run the below CMD to remove the role
Remove-ManagementRoleAssignment -Identity "MyBaseOptions-DisableForwarding-Default Role Assignment Policy"
Then compare your snipping tool and results from after removing the role.
Then you are done!
Mar 29 2022 08:52 AM