Exchange Server 2007 How to disable local AutoDiscover?

We are trying to run Office365 and need to disable the local AutoDiscover. I gather it searches first local with SCP (Service Connection Point) and then goes externally with DNS. How do I force Exchange/SBS to ignore the first part and just use the DNS settings?
LVL 1
edhastedAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Cliff GaliherConnect With a Mentor Commented:
Assuming the environment is otherwise healthy, the exchange shell command "remove-autodiscovervirtualdirectory" will do the trick. Since the directory will be gone, the SCP will fail and DNS fallback will happen. I've done this at several sites now.

With that said, this is a destructive process. You are removing an IIS directory after all. *ALWAYS* have a way to quickly recover...aka very recent backup of the IIS directory tree and metadata, should things go wrong.
0
 
edhastedAuthor Commented:
It then prompt "Identity:" , what does this mean?

EH
0
 
Cliff GaliherCommented:
Yes, I gave you the command, not the full syntax. The syntax of the command, like *any* powershell command, can change depending on the need. It should be enough to get you a technet reference though. And from there, which flags (like identity) are determined by your environment.

If you aren't familiar with the Exchange shell then you really shouldn't be doing this, and no amount of handholding from an EE expert would be safe. If you don't understand what the command is doing, how do you know that an expert (myself included) isn't just opening a backdoor for their own use/abuse. In short, you need *some* familiarity with what you are doing.

You can use the get-autodiscovervirtualdirectory command to get more information about the directories defined, and the necessary bits for the remove-* command.
0
 
edhastedAuthor Commented:
That's a little strong. I'll do the background reading before I progress. Some commands are straightforward, others stratified - I had no idea which type this one. From your answer I do. Many thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.