Microsoft Exchange Server

Managing Role Assignments For Exchange In PowerShell

When running mailbox exports, move requests, etc in Exchange 201x you might get an error. This is because the Management Role Assignments have changed ever so slightly. In order to provide an account the ability to do certain tasks, you can use the New-ManagementRoleAssignment powershell cmdlet to process a request. To do so, pick a user (in this case the username is kryptedadmin) using the -User option and choose roles to assign (in this case, mailbox, export and import) using the -Role option. The command then looks as follows:

New-ManagementRoleAssignment -Role "Mailbox Import Export" -User kryptedadmin

To see if your roles were properly applied:

Get-ManagementRoleAssignment -Role "Mailbox Import Export" | ft Identity