News:

Welcome to TFT!

Main Menu

View and changing Autodiscover settings

Started by Bobby M. - AdvenTech, May 10, 2016, 02:07:51 PM

Previous topic - Next topic

Bobby M. - AdvenTech

#1
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'