[英]Cannot do Impersonation in Office365 EWA
I'm trying to do Impersonation in Office365 EWS, but when I try to send the request I receive this error. 我正在尝试在Office365 EWS中进行模拟,但是当我尝试发送请求时,出现此错误。
"The account does not have permission to impersonate the requested user." “该帐户无权模拟所请求的用户。”
This is the piece of code about Impersionation 这是关于帝国化的代码
service.ImpersonatedUserId = new ImpersonatedUserId(ConnectingIdType.SmtpAddress, "account2@example.com");
该特定错误意味着您使用的用户未获得尝试访问的用户的应用程序模拟权限,请参见https://msdn.microsoft.com/zh-cn/library/office/dn722376(v=exchg.150 )的.aspx
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.