Archiving Emails from Microsoft Exchange 2010
Creating a Central User to Access Mailboxes
With MailStore, some or all mailboxes of an Exchange server can be archived in a single step. All necessary preparations, such as creating MailStore users, can be made automatically. The archiving process can be executed manually or automatically according to a schedule.
Before the archiving process can be set up in MailStore, a user with Impersonation rights to all mailboxes to be archived has to be created.
The following prerequisites are required to configure Exchange Impersonation:
- Administrative credentials for a computer that is running Exchange 2010 that has the Client Access server role installed
- Domain Administrator credentials
All following commands can be executed from the Microsoft Exchange Management Shell.
Add access rights
New-ManagementRoleAssignment -Name:"MailStore Impersonation" ` -Role:ApplicationImpersonation -User:serviceAccount
serviceAccount is the user account you want to use in UPN notation. Please take care that this user is not a member of an Exchange or Windows administrative group.
Check access rights
Get-ManagementRoleAssignment -Role:ApplicationImpersonation ' -RoleAssigneeType:User | Format-List * Get-ManagementRoleAssignment -Identity:"MailStore Impersonation" ' | Format-List *
Remove access rights
Remove-ManagementRoleAssignment "MailStore Impersonation"