Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/powershell/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Windows Exchange EWS连接问题_Windows_Powershell_Exchange Server - Fatal编程技术网

Windows Exchange EWS连接问题

Windows Exchange EWS连接问题,windows,powershell,exchange-server,Windows,Powershell,Exchange Server,我继承了一台Exchange2007 SBS服务器,我的客户端希望迁移到Google应用程序。因此,在进行迁移设置和使用Google的工具时,我试图让EWS服务正常工作,这样我就可以使用Google的服务器迁移工具了。我已经阅读了几乎所有的教程,并按照说明进行了设置: [PS] C:\Windows\system32>Set-WebServicesVirtualDirectory -Identity "THESERVER\EWS (SBS Web Applications)" -Inte

我继承了一台Exchange2007 SBS服务器,我的客户端希望迁移到Google应用程序。因此,在进行迁移设置和使用Google的工具时,我试图让EWS服务正常工作,这样我就可以使用Google的服务器迁移工具了。我已经阅读了几乎所有的教程,并按照说明进行了设置:

 [PS] C:\Windows\system32>Set-WebServicesVirtualDirectory -Identity "THESERVER\EWS (SBS Web Applications)" -InternalUrl: https://remote.mydomain.com/EWS/Exchange.asmx

 [PS] C:\Windows\system32>Set-WebServicesVirtualDirectory -Identity "THESERVER\EWS (SBS Web Applications)" -ExternalUrl: https://remote.mydomain.com/EWS/Exchange.asmx
然后,我用以下方法验证设置:

 [PS] C:\Windows\system32>Get-WebServicesVirtualDirectory |fl identity,internalurl,externalurl


 Identity    : THESERVER\EWS (SBS Web Applications)
 InternalUrl : https://remote.mydomain.com/EWS/Exchange.asmx
 ExternalUrl : https://remote.mydomain.com/EWS/Exchange.asmx
当我尝试在内部和外部浏览到上面的URL时,我只得到一个空白页面,没有错误或任何东西

我还运行了
testoutlookwebservices | fl
命令,下面是输出:

Id:1003
类型:信息
消息:即将使用电子邮件地址测试自动发现admin@mydomain.com.
身份证号码:1007
类型:信息
消息:正在使用发布的名称测试服务器server.mydomain.local
https://remote/EWS/Exchange.asmx & https://remote.mydomain.com/EWS/Exchange.asmx.
身份证号码:1019
类型:信息
消息:找到有效的自动发现服务连接点。此对象上的自动发现URL为https://remote.mydomain.com/Autodiscover/Autodiscover.xml.
身份证号码:1006
类型:信息
消息:已在联系自动发现服务https://remote.mydomain.com/Autodiscover/Autodiscover.xml.
身份证号码:1013
类型:错误
信息:联系时https://remote.mydomain.com/EWS/Exchange.asmx 收到错误消息,请求失败,HTTP状态403:禁止。
身份证号码:1016
类型:错误
消息:[EXCH]-在与AS服务联系时出错https://remote.mydomain.com/EWS/Exchange.asmx. 经过的时间是225毫秒。
身份证号码:1015
类型:成功
消息:[EXCH]-已成功联系上的OAB服务https://remote.mydomain.com/EWS/Exchange.asmx. 所用时间为0毫秒。
身份证号码:1014
类型:成功
消息:[EXCH]-已成功联系位于的UM服务https://sites/UnifiedMessaging/Service.asmx. 经过的时间是18毫秒。
身份证号码:1013
类型:错误
信息:联系时https://remote.mydomain.com/EWS/Exchange.asmx 收到错误消息,请求失败,HTTP状态403:禁止。
身份证号码:1016
类型:错误
消息:[EXPR]-在与AS服务联系时出错https://remote.mydomain.com/EWS/Exchange.asmx. 经过的时间是226毫秒。
身份证号码:1015
类型:成功
消息:[EXPR]-已成功联系位于的OAB服务https://remote.mydomain.com/EWS/Exchange.asmx. 所用时间为0毫秒。
身份证号码:1014
类型:信息
消息:[EXPR]-未为此用户配置UM。
身份证号码:1013
类型:错误
信息:联系时https://remote.mydomain.com/Rpc 收到错误远程服务器返回错误:(500)内部服务器错误。
身份证号码:1017
类型:错误
消息:[EXPR]-联系位于的RPC/HTTP服务时出错https://remote.mydomain.com/Rpc. 经过的时间是232毫秒。
身份证号码:1006
类型:成功
消息:已成功测试自动发现服务。
身份证号码:1021
类型:信息
消息:以下web服务生成了错误。
就像在EXCH一样
例如,在EXPR中
正在联系EXPR中的服务器
请使用之前的输出诊断和更正错误。