Summary:

When performing the pre-configuration steps for setting up the Exchange Integration for Exchange 2007 it is necessary to run the cmdlets described in chapter 36 of the System Administrator guide.

You may receive the following error when running these cmdlets:

InvalidArgument: (:) [Add-ADPermission], ParameterBindingException
FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.Exchange.Management.RecipientTasks.AddADPermission

 Resolution:

This issue was resolved by running the following cmdlets on exchange to give the appropriate permissions to the impersonation user on Exchange:

get-exchangeserver | ForEach-Object {Add-ADPermission –Identity $_.DistinguishedName –User <user@domain.com> –extendedRight ms-Exch-EPI-Impersonation}

get-exchangeserver | ForEach-Object {Add-ADPermission –Identity $_.DistinguishedName –User <user@domain.com> –extendedRight ms-
Exch-EPI-May-Impersonate}