Exchange EWS连接问题

时间:2016-03-29 19:19:23

标签: windows powershell exchange-server

我继承了Exchange 2007 SBS服务器,而我的客户希望迁移到Google Apps。因此,在努力获取迁移设置并使用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时,我只是得到一个空白页面,没有任何错误或任何内容。

我还运行了Test-OutlookWebServices | fl命令,这是输出:



Id      : 1003
Type    : Information
Message : About to test AutoDiscover with the e-mail address admin@mydomain.com.

Id      : 1007
Type    : Information
Message : Testing server THESERVER.mydomain.local with the published name
           https://remote/EWS/Exchange.asmx & https://remote.mydomain.com/EWS/Exchange.asmx.

Id      : 1019
Type    : Information
Message : Found a valid AutoDiscover service connection point. The AutoDiscover URL on this object is https://remote.mydomain.com/Autodiscover/Autodiscover.xml.

Id      : 1006
Type    : Information
Message : The Autodiscover service was contacted at https://remote.mydomain.com/Autodiscover/Autodiscover.xml.

Id      : 1013
Type    : Error
Message : When contacting https://remote.mydomain.com/EWS/Exchange.asmx received the error The request failed with HTTP status 403: Forbidden.

Id      : 1016
Type    : Error
Message : [EXCH]-Error when contacting the AS service at https://remote.mydomain.com/EWS/Exchange.asmx. The elapsed time was 225 milliseconds.

Id      : 1015
Type    : Success
Message : [EXCH]-Successfully contacted the OAB service at https://remote.mydomain.com/EWS/Exchange.asmx. The elapsed time was 0 milliseconds.

Id      : 1014
Type    : Success
Message : [EXCH]-Successfully contacted the UM service at https://sites/UnifiedMessaging/Service.asmx. The elapsed time was 18 milliseconds.

Id      : 1013
Type    : Error
Message : When contacting https://remote.mydomain.com/EWS/Exchange.asmx received the error The request failed with HTTP status 403: Forbidden.

Id      : 1016
Type    : Error
Message : [EXPR]-Error when contacting the AS service at https://remote.mydomain.com/EWS/Exchange.asmx. The elapsed time was 226 milliseconds.

Id      : 1015
Type    : Success
Message : [EXPR]-Successfully contacted the OAB service at https://remote.mydomain.com/EWS/Exchange.asmx. The elapsed time was 0 milliseconds.

Id      : 1014
Type    : Information
Message : [EXPR]-The UM is not configured for this user.

Id      : 1013
Type    : Error
Message : When contacting https://remote.mydomain.com/Rpc received the error The remote server returned an error: (500) Internal Server Error.

Id      : 1017
Type    : Error
Message : [EXPR]-Error when contacting the RPC/HTTP service at https://remote.mydomain.com/Rpc. The elapsed time was 232 milliseconds.

Id      : 1006
Type    : Success
Message : The Autodiscover service was tested successfully.

Id      : 1021
Type    : Information
Message : The following web services generated errors.
              As in EXCH
              As, in EXPR
              Contacting server in EXPR
          Please use the prior output to diagnose and correct the errors.




所以,对于Windows(我是一个Linux人)来说太可怕了,有些事情对我来说很突出,我无法解释或弄清楚:

  1. 出于某种原因,其中一个测试是尝试连接到https://sites....,它不会解决任何问题,假设Set-WebServicesVirtualDirectory命令实际上执行了输出所说的操作。
  2. 我希望在尝试浏览https://remote.mydomain.com/EWS/Exchange.asmx时收到403错误,但我只是得到一个空白页。
  3. 我还尝试了Microsoft's connectivity tester,在测试" Exchange Web服务同步,通知,可用性和自动回复时,我得到了以下信息。我希望与我得到的错误有关。

    enter image description here

    那么,我在这里错过了什么?

0 个答案:

没有答案