Replacing missing RBAC roles


There are reported instances where some RBAC roles “disappear” during the upgrade from Exchange 2010 RTM to Exchange 2010 SP1. Normally the symptom of this problem is when a user who is a member of the Organization Management role group (the most powerful of all the RBAC role groups) is unable to make a new role assignment or work with a role group. Of course, the first thing to do is to check that the user actually is a member of a role group that allows them to execute the desired operation, but if all things fail, you could try to reinstall the RBAC roles and role assignments using the same commands used by Setup.

To do this, perform the following steps.

  1. Launch the Exchange Management Shell (EMS)
  2. Run “Add-PsSnapin Microsoft*” to load the snap-ins that you need to install RBAC
  3. Run the “Install-CannedRBACRoles” cmdlet to install the out-of-the-box RBAC roles that you’d expect to be defined for Exchange 2010 SP1.
  4. Run the “Install-CannedRBACRoleAssignments” cmdlet to install the out-of-the-box role assignments (that obviously depend on the roles that you’ve just installed).
  5. Close EMS
  6. Restart EMS to create a new session. During session initialization, Exchange will reload the roles and role assignments that are available to the user, so you should be able to retry the failed operation to see whether the reinstallation of the RBAC roles and role assignments has fixed the problem.

There are other variations of the problem. This post provides a good set of steps to execute if Setup fails to install RBAC for some reason.

Hope this helps!

– Tony

Advertisements

About Tony Redmond ("Thoughts of an Idle Mind")

Exchange MVP, author, and rugby referee
This entry was posted in Exchange, Exchange 2010 and tagged , , , . Bookmark the permalink.

2 Responses to Replacing missing RBAC roles

  1. erikchow says:

    Thank you so much for this post! I have been banging my head against the wall for 2 days trying to fix a similar issue with Exchange 2013.

  2. Mr.H says:

    You are the man!!! Thanks for this.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s