We support a company that changed it's name a while back and we changed all the settings, domains, URL's etc. All is OK apart from the Autodiscover settings in Exchange 2010.
This isn't really a big problem as all the users apart from the Director are on PC's, but his Mac will constantly change the server address to the old address and he wants it changing.
The issue is, when I have tried to change the Internal and External Autodiscover address in PowerShell. The Internal command I used does nothing and the External command throws back an error.
The commands I've tried are:
Internal: Set-ClientAccessServer –Identity * –AutodiscoverServiceInternalUri “https://autodiscover.domain.co.uk/autodiscover/autodiscover.xml”
(This doesn't error but doesn't actually change the internal address)
External: Set-ClientAccessServer –Identity * –AutodiscoverServiceExternalUri “https://autodiscover.domain.co.uk/autodiscover/autodiscover.xml”
(This gives me the error below)
A positional parameter cannot be found that accepts argument '-AutodiscoverServiceExternalUri'.
+ CategoryInfo : InvalidArgument: (:) [Set-ClientAccessServer], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Set-ClientAccessServer
When I do a Get-AutodiscoverVirtualDirectory | List
it show both internal and external address's to still be the old address.
I have also tried with the server address where the * is, but same results.
Any help would be appreciated.