Exchnage 2007 Error: The server to which the application is connected cannot impersonate the requested user due to insufficient permission. (ErrorImpersonationDenied)

This error occurs when using admin access on Exchange 2007

Please run the scripts below after seeking your system administrators approval using the Exchange Management Shell,

Get-ExchangeServer | Add-ADPermission -User AdminUserName -extendedRights ms-Exch-EPI-Impersonation -InheritanceType none

Get-MailboxDatabase | Add-ADPermission -User AdminUserName -extendedRights ms-Exch-EPI-May-Impersonate -InheritanceType none

The following prerequisites are required to configure Exchange Impersonation:

  •           Administrative credentials for the computer that is running Exchange 2007 that has the Client Access server role installed
  •           Domain Administrator credentials