For migrations from other e-mail platforms to Exchange, you probably want to have full access enabled for a certain Exchange-account to facilitate the migration without having to set up complex access rights. Exchange has something called application impersonation, which allows a user to impersonate other users to access individual mailboxes, which comes in very handy during a migration.
In order to set up application impersonation, you need access to the Exchange Management Shell (EMS), with an account which has permissions to set up access rights.
Exchange 2007 does not support application impersonation as in Exchange 2010 and up. Impersonation does exist but has to be set on each individual mailbox.
Open EMS and run these two commands to enable impersonation on each user mailbox:
Get-ExchangeServer | where {$_.IsClientAccessServer -eq $TRUE} | ForEach-Object {Add-ADPermission -Identity $_.distinguishedname -User (Get-User -Identity ADMIN_EMAIL | select-object).identity -extendedRight ms-Exch-EPI-Impersonation} Get-MailboxDatabase | ForEach-Object {Add-ADPermission -Identity $_.DistinguishedName -User Administrator@domain -ExtendedRights ms-Exch-EPI-May-Impersonate}
Replace Administrator@domain with whatever user needs impersonation to be enabled.
Application impersonation exists as a management role and can be assigned at the organization level.
Open EMS. If you wish to connect to Office365 or a remote Exchange-server, you need to set up a remote PowerShell session. See below for more information on how to accomplish this.
For Office365, you need to run the following command before assigning the management role:
Enable-OrganizationCustomization
After that, assign the management role for application impersonation to the user(s) that need it:
New-ManagementRoleAssignment –Name "CloudMigratorImpersonation" –Role "ApplicationImpersonation" –User Administrator@domain
Replace Administrator@domain with whatever user needs the application impersonation management role.
« ‹ | December 2024 | › » | ||||
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |