Troubleshooting Role Based Access Control

Troubleshooting permission issues can be challenging, especially if you've implemented custom RBAC roles. In this recipe we'll take a look at some useful troubleshooting techniques that can be used to troubleshoot issues related to RBAC.

How to do it...

There are several scenarios in which you can use the Exchange Management Shell cmdlets to solve problems with RBAC, and there are a couple of cmdlets that you'll need to use to do this. The following steps outline solutions for some common troubleshooting situations:

  1. To determine which management roles have been assigned to a user, use the following command syntax:
    Get-ManagementRoleAssignment -GetEffectiveUsers | Where-Object {$_.EffectiveUserName -eq 'sysadmin'} ...

Get Microsoft Exchange 2010 PowerShell Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.