Exchange 2007 Impersonation Right
I want to give impersonation right to one of my exchange 2007 user.
I have used this command for the same: Get-ExchangeServer |
where {$_.IsClientAccessServer -eq $TRUE} |
ForEach-Object {Add-ADPermission -Identity
$_.distinguishedname -User
(Get-User -Identity User1 |
select-object).identity -extendedRight
ms-Exch-EPI-Impersonation}
Topology I am following is:
I have one AD and DNS on one machine(Windows Server
2008 SP2),one CAS on second server, Mailbox Server
and other roles on third different machine.
I get error " HTTP request failed with error: Bad
response from server,
HTTP code returned: 500,
HTTP status code" when I try to access mailbox
of users on Exchange by making EWS calls.
When I checked the Wireshark traces on Exchange
CAS server it shows
error "Impersonation failed"
What should I do now..?
October 14th, 2011 5:08am
Hi,
You also need to configure impersonation for the mailbox databases.
Get-MailboxDatabase | ForEach-Object {Add-ADPermission -Identity $_.DistinguishedName -User USER1 -ExtendedRights ms-Exch-EPI-May-Impersonate}
Martina Miskovic - http://www.nic2012.com/
Free Windows Admin Tool Kit Click here and download it now
October 15th, 2011 10:04pm
Thanks Martina for your kind response.
I have fired the above command and configured the impersonation for mailbox database, the command was executed successfully
but I am still getting the same error
"Impersonation failed"
in Wireshark traces at CAS.
What else can I do more ?
October 17th, 2011 3:15am
Hi avinashbhucs,
I would suggest you seek the solution in the Development Forum:
http://social.technet.microsoft.com/Forums/en-US/exchangesvrdevelopment/threads
Similar post:
Impersonation (again)
http://social.technet.microsoft.com/forums/en-US/exchangesvrdevelopment/thread/cf119d33-d8a8-4941-a4a5-11ecf7d3b3ee/
Resource:
Configuring Exchange Impersonation (Exchange Web Services)
http://msdn.microsoft.com/en-us/library/bb204095(v=exchg.80).aspx
Frank Wang
Free Windows Admin Tool Kit Click here and download it now
October 18th, 2011 3:01am
Hi Frank,
Thanks for your assistance.
I have gone through the links suggested by you and i tried the options which were present in the link but no luck. Still i am facing the same issue.
Is any thing else that you can suggest to resolve it out.
Avinash
October 19th, 2011 8:24am
Hi Avinash,
I would still suggest you seek the solution in the Development forum:
http://social.technet.microsoft.com/Forums/en-US/exchangesvrdevelopment/threads
Please also provide the code you used in the thread.
Frank Wang
Free Windows Admin Tool Kit Click here and download it now
October 19th, 2011 9:36pm