EWS Error using impersonate Account
Hi all,
Situation:
I have set the following RBAC Settings:
New-ManagementRoleAssignment –Name:impersonationAssignment Attendant –Role:ApplicationImpersonation –User:contoso\iup_attendant
Now I'm trying to test the Exchange Web Service using the EWSEditor with the following Settings:
Service URL: https://exchange2010.contoso.com/EWS/exchange.asmx
Specific Exchange version: Exch2010 Use following credentials: Username: iup_attendant, Password: *, Domain: contoso
With this settings i'm trying to check the calendar settings of another person with the entered settings.
As if i'm using the entered settings I'm getting the following Error Message after the Query for Dates.
Exception details:
Message: Client context header found but no request type found in SOAP header.
Type: Microsoft.Exchange.WebServices.Data.ServiceResponseException
Source: Microsoft.Exchange.WebServices
ErrorCode: ErrorInternalServerError
ErrorMessage: Client context header found but no request type found in SOAP header.
Stack Trace:
at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.ProcessWebException(WebException webException)
at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.InternalExecute()
at Microsoft.Exchange.WebServices.Data.ExchangeService.GetUserAvailability(IEnumerable`1 attendees, TimeWindow timeWindow, AvailabilityData requestedData,AvailabilityOptions options)
at EWSEditor.Forms.AvailabilityForm.GetAvailabilityButton_Click(Object sender, EventArgs e) in D:\doozer\Forms\AvailabilityForm.cs:line 170
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Question, what do I have to do?
Thanks for any advice,
uerueluem
May 25th, 2011 9:11am
Hi uerueluem,
Please seek the solution in the Development Forum, thanks:
http://social.technet.microsoft.com/Forums/en-US/exchangesvrdevelopment/threads
Frank Wang
TechNet Subscriber Support
in forum
If you have any feedback on our support, please contact
tngfb@microsoft.com
Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
May 26th, 2011 3:28am