Link to home
Start Free TrialLog in
Avatar of gaz629
gaz629

asked on

disable autodiscover for 1 internal email domain not all

HI,

A client is moving from internal Exchange to O365.

I have used the following to kill the internal DNS at other clients and all works well - Set-ClientAccessServer -Identity <ServerName> -AutoDiscoverServiceInternalUri $null

however, this client has more than 1 internal email domain, due to internal politics not all email domain are moving to O365.

How can i modify the PowerShell command to only impact 1 of the internal domains?

Thanks
Gareth
Avatar of Saif Shaikh
Saif Shaikh
Flag of India image

I don't think there is a command to disable autodiscover for 1 internal email domain.

However if you have created zones in DNS that can be deleted.

But the above command: - Set-ClientAccessServer -Identity <ServerName> -AutoDiscoverServiceInternalUri $null

Will work as expected.
Avatar of gaz629
gaz629

ASKER

I have created a DNS zone for the external domain which has now been moved to O365.

If i use the above command will this not disable internal autodiscover for all domains in the local Exchange environment?
If you use this command: Set-ClientAccessServer -Identity <ServerName> -AutoDiscoverServiceInternalUri $null

It will disable internal autodiscover for all domains in the local Exchange environment completely.

But I was saying single domain disabling i.e. when you run get-accepteddomain in EMS and you get multiple domain with 1 authoritative and if you don't want to migrate all domain and disable only 1, this is something that cannot be done because there is nothing like a command to disable autodiscover for 1 internal email domain.

May be if someone can shed a light, because we usually us the Set-ClientAccessServer -Identity <ServerName> -AutoDiscoverServiceInternalUri $null
Hello Gareth

There is no command to affect a single domain and not affect the other.
It's something like a windows, all open or all closed.

If the goal is to disable a single "internal domain" and of course the zone is on AD. you can remove the "autodiscover" record for that particular email and it would work as expected. (disable the internal autodiscover)  but remember you have 4 failovers (domain.com, autodiscover.domain.com, HTTP redirection to o365 and finally SRV record), in that strict order and if any of those is not found it will move on to the next failover), so all 4 must fail.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.