使用模拟帐户的EWS错误[E2010& EWS] [英] EWS Error using Impersonate Account [E2010 & EWS]

查看:88
本文介绍了使用模拟帐户的EWS错误[E2010& EWS]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



大家好,

Hi all,

 

情况:

我设置了以下RBAC设置:

I have set the following RBAC Settings:


  • New-ManagementRoleAssignment–名称:impersonationAssignment Attendant–作用:ApplicationImpersonation –用户:contoso\iup_attendant

现在我正在尝试使用      &#; EWSEditor测试Exchange Web服务:

Now I'm trying to test the Exchange Web Service using the  EWSEditor with the following Settings:

使用此设置我正在尝试检查其他人的日历设置输入的设置。

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.

 

异常详情:

消息:找到客户端上下文头但在SOAP头中找不到请求类型。

类型:Microsoft.Exchange.WebServices.Data.ServiceResponseException

来源:Microsoft.Exchange.WebServices

ErrorCode:ErrorInternalServerError

ErrorMessage:找到客户端上下文头但在SOAP头中找不到请求类型。

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与会者,TimeWindow timeWindow,AvailabilityData requestedData,AvailabilityOptions选项)

at EWSEditor.Forms.AvailabilityForm.GetAvailabilityButton_Click(Object发件人,EventArgs e)在D:\ doozer \\ \\ System \ AvailabilityForm.cs:在System.Windows.Forms.Button.OnMouseUp上的System.Windows.Forms.Control.OnClick(EventArgs e)中的$ 170 $ $
(MouseEventArgs mevent)在$ System.Windows.Forms.Control.WmMouseUp(消息& m,MouseButtons按钮,Int32点击)在System.Windows.Forms.Control.WndProc(消息& m)的
在System.Windows.Forms.ButtonBase.WndProc的
(消息& m)

在System.Windows.Forms.Button.WndProc(消息& m)的
在System.Windows.Forms.Control.ControlNativeWindow.WndProc(消息& m; m)
$
在System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd,Int32 msg,IntPtr wparam,IntPtr lparam)

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)

 

问题,我该怎么办?

感谢您的任何建议,

 

uerueluem

uerueluem

推荐答案

我遇到同样的问题。

I have the same issue.

还使用设置了ApplicationImpersonation的服务帐户,并在用户帐户上使用ews模拟后调用GetUserAvailability。

Also using a service account with ApplicationImpersonation set and also calling GetUserAvailability after using ews impersonation on a user's account.

Exchange 2010 sp1

Exchange 2010 sp1


这篇关于使用模拟帐户的EWS错误[E2010& EWS]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆