Exchange 2013 EWS C# [英] Exchange 2013 EWS C#

查看:222
本文介绍了Exchange 2013 EWS C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

环境混合使用Exchange 2007和Exchange 2013.我们正在迁移到Exchange 2013,但2007年的自定义传输代理无法正常运行因此,2013服务器阻止
我们迁移邮箱。


我正在使用EWS管理用于在邮箱的"联系人"文件夹中查找项目的API。当我使用邮箱用户本身的凭据时,一切正常,但是当我使用另一个对邮箱具有读访问权限的邮箱时,我将
连接到我得到以下错误:



"此邮箱当前无法使用Exchange Web服务,因为它无法确定要使用的客户端访问服务服务器对于邮箱。"



例如,如果我创建新邮箱使用MailBox1凭据的ExchangeService我可以在MailBox1联系人上调用FindItems没有问题,但是当我使用另一个名为ContactManagerMailBox的邮箱执行相同操作时,尽管ContactManagerMailBox
邮箱可以访问MailBox1,但它仍然失败。


除了在我们当前的2007环境中运行良好之外,它还可以在测试Exchange 2013环境中运行良好,因此共存有可能与此无关工作。




Kenny

解决方案

学习关于文件夹和邮箱项目以及您的EWS托管API或EWS客户端如何表示它们:

https://msdn.microsoft.com/en-us/library/office/dn535505%28v=exchg.150 %29.aspx



Exchange 2013更新:https://technet.microsoft.com/en-us/library/jj907309%28v=exchg.150%29 .aspx


传输代理的常见支持问题:https://exchangemaster.wordpress.com/2013/11/18/common-support-issues- with-transport-agents /


同时查看此早期帖子:

https://social.msdn.microsoft.com/Forums/vstudio/en-US / 43cae8ea-0f6b-458f-ae98-5819417444c5 / ews-full-control-of-mailboxes-strange-error?forum = interchangevrdevelopment



循序渐进指南从Exchange Server 2007迁移到Exchange Server 2013:

http://mstechtalk.com/step-by-step-guide-to-migrate-from-exchange-server-2007-to-exchange -服务器-2013 /


Environment is mixed Exchange 2007 and Exchange 2013. We are in the process of migrating to Exchange 2013 but have a custom transport agent in 2007 that is not working correctly on the 2013 servers and is, therefore, preventing us from migrating mailboxes.

I’m using EWS managed API to look for items in the Contacts folder of a mailbox. Everything works when I use credentials of the mailbox user itself, but when I use another mailbox that has read access to the mailbox I’m connecting to I get the below error:

"Exchange Web Services are not currently available for this mailbox because it could not determine the Client Access Services Server to use for the mailbox."

For example, if I create new ExchangeService using MailBox1 credentials I can call FindItems on MailBox1 contacts with no issues, but when I use another mailbox called ContactManagerMailBox to do the same it fails although ContactManagerMailBox mailbox is given access to MailBox1.

In addition to this working well in our current 2007 environment, it also works well in a test Exchange 2013 environment so it's possible that the co-existence has something to do with this not working.


Kenny

解决方案

Learn about folders and mailbox items and how your EWS Managed API or EWS client represents them:
https://msdn.microsoft.com/en-us/library/office/dn535505%28v=exchg.150%29.aspx

Updates for Exchange 2013: https://technet.microsoft.com/en-us/library/jj907309%28v=exchg.150%29.aspx

Common Support Issues with Transport Agents: https://exchangemaster.wordpress.com/2013/11/18/common-support-issues-with-transport-agents/

Also check this earlier thread:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/43cae8ea-0f6b-458f-ae98-5819417444c5/ews-full-control-of-mailboxes-strange-error?forum=exchangesvrdevelopment

Step-by-Step Guide to Migrate from Exchange Server 2007 to Exchange Server 2013:
http://mstechtalk.com/step-by-step-guide-to-migrate-from-exchange-server-2007-to-exchange-server-2013/


这篇关于Exchange 2013 EWS C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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