July 22, 2017, 07:37:10 AM

Author Topic: View and changing Autodiscover settings  (Read 1272 times)

Offline BobbyMarques

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
  • I'm New!
View and changing Autodiscover settings
« Reply #1 on: May 10, 2016, 12:07:51 PM »
Problem:
Wrong autodiscover settings when adding new user?
How to change autodiscover settings.

Solution:
In Exchange Management Shell

To View Current Settings
Get-ActiveSyncVirtualDirectory | fl internalurl,externalurl
Get-AutoDiscoverVirtualDirectory | fl internalurl,externalurl
Get-ECPVirtualDirectory | fl internalurl,externalurl
Get-OabVirtualDirectory | fl internalurl,externalurl
Get-WebServicesVirtualDirectory | fl internalurl,externalurl


To Set or Change URL settings
Get-ActiveSyncVirtualDirectory -server EXCHANGE | Set-ActiveSyncVirtualDirectory -ExternalUrl ‘https://mail.DOMAIN.com/Microsoft-Server-ActiveSync’ -InternalUrl ‘https://mail.DOMAIN.com/Microsoft-Server-ActiveSync’

Get-AutodiscoverVirtualDirectory -server EXCHANGE | Set-AutodiscoverVirtualDirectory -ExternalUrl ‘https://mail.DOMAIN.com/Autodiscover/Autodiscover.xml’ -InternalUrl 'https://mail.DOMAIN.com/Autodiscover/Autodiscover.xml

Get-ECPVirtualDirectory -server EXCHANGE | Set-ECPVirtualDirectory -ExternalUrl ‘https://mail.DOMAIN.com/ECP’ -InternalUrl ‘https://mail.DOMAIN.com/ECP’

Get-OabVirtualDirectory -server EXCHANGE | Set-OabVirtualDirectory -ExternalUrl ‘https://mail.DOMAIN.com/OAB’ -InternalUrl ‘https://mail.DOMAIN.com/OAB’

Get-WebServicesVirtualDirectory -server EXCHANGE | Set-WebServicesVirtualDirectory -ExternalUrl ‘https://mail.DOMAIN.com/EWS/Exchange.asmx’ -InternalUrl ‘https://mail.DOMAIN.com/EWS/Exchange.asmx’


« Last Edit: May 10, 2016, 12:10:37 PM by BobbyMarques »