上一篇文章我们安装好了Exchange2016,下面来修改Exchange2016SCP、Anywhere配置、证书等

 

运行EMS修改SCP(Service-Connection-Point)

Set-ClientAccessService -Identity EX2016-AutodiscoverServiceInternalURI   https://autodiscover.域名.cn/Autodiscover/Autodiscover.xml 

Exchange2010升级到2016——配置Exchange2016SCP、Anywhere配置、证书


运行EMS修改ExchangeURLs(Anywhere配置)

$Server = "EX2016"  

$HTTPS_FQDN ="mail.icloudengine.cn"

Get-OWAVirtualDirectory -Server $Server| Set-OWAVirtualDirectory -InternalURL  "https://$($HTTPS_FQDN)/owa" -ExternalURL   "https://$($HTTPS_FQDN)/owa"

Get-ECPVirtualDirectory -Server $Server| Set-ECPVirtualDirectory -InternalURL  "https://$($HTTPS_FQDN)/ecp" -ExternalURL   "https://$($HTTPS_FQDN)/ecp"

Get-OABVirtualDirectory -Server $Server| Set-OABVirtualDirectory -InternalURL  "https://$($HTTPS_FQDN)/oab" -ExternalURL   "https://$($HTTPS_FQDN)/oab"

Get-ActiveSyncVirtualDirectory -Server$Server | Set-ActiveSyncVirtualDirectory -InternalURL"https://$($HTTPS_FQDN)/Microsoft-Server-ActiveSync"   -ExternalURL "https://$($HTTPS_FQDN)/Microsoft-Server-ActiveSync"

Get-WebServicesVirtualDirectory -Server$Server | Set-WebServicesVirtualDirectory -InternalURL"https://$($HTTPS_FQDN)/EWS/Exchange.asmx"   -ExternalURL"https://$($HTTPS_FQDN)/EWS/Exchange.asmx"

Get-MapiVirtualDirectory -Server $Server| Set-MapiVirtualDirectory -InternalURL  "https://$($HTTPS_FQDN)/mapi" -ExternalURL   https://$($HTTPS_FQDN)/mapi

Exchange2010升级到2016——配置Exchange2016SCP、Anywhere配置、证书


登陆到EAC查看URL已经修改成功

Exchange2010升级到2016——配置Exchange2016SCP、Anywhere配置、证书




导出Exchange2010证书并在Exchange2016导入

Exchange2010升级到2016——配置Exchange2016SCP、Anywhere配置、证书

Exchange2010升级到2016——配置Exchange2016SCP、Anywhere配置、证书


导入成功后,分配给服务

Exchange2010升级到2016——配置Exchange2016SCP、Anywhere配置、证书

CMD运行命令重启IIS

iisreset/noforce

 

当上面的操作完成后,我们可以试试OWA、ECP内外网能否正常打开