none
EWS impersonation error RRS feed

  • Question

  • Trying to set up impersonation for the developers and getting this error - any suggestions

    Add-ADPermission -Identity (get-exchangeserver).Disting
    uishedName -User (Get-User -Identity testaccount | select-object).identity -Extended
    Right ms-Exch-EPI-Impersonation
    Add-ADPermission : Cannot bind argument to parameter 'Identity' because it is n
    ull.
    At line:1 char:27
    + Add-ADPermission -Identity <<<<  (get-exchangeserver).DistinguishedName -User
     (Get-User -Identity hmorrow | select-object).identity -ExtendedRight ms-Exch-E
    PI-Impersonation
        + CategoryInfo          : InvalidData: (:) [Add-ADPermission], ParameterBi
       ndingValidationException
        + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,M
       icrosoft.Exchange.Management.RecipientTasks.AddADPermission

    Tuesday, February 1, 2011 6:02 PM