Monthly Archives: October 2012

SBS 2008 + Office365 Autodiscover woes

Had an issue today during cutover from Exchange 2007 to Office 365; almost all machines were Office 2010. Even after running the O365 desktop setup tools, the mail profile would suddenly revert back to the local Exchange store.. this is different to Outlook 2007 clients which is detailed in


Here’s how i got around the issue –

1. Open an elevated Exchange Management Shell and retrieve the current autodiscover virtual directory:

>Get-AutodiscoverVirtualDirectory | fl Name, Server, InternalUrl, Identity

Copy the Identity value to the clipboard.

2. In the Exchange Management Shell, remove the autodiscover virtual directory:

Remove-AutodiscoverVirtualDirectory –Identity <identity value retrieved above>

You will have to confirm by typing a “A”.

3. Check that the autodiscover virtual directory is gone:

Get-AutodiscoverVirtualDirectory | fl Name, Server, InternalUrl, Identity

4. Now, with Outlook running on a desktop, hold the Ctrl button, right-click on the Outlook icon in the system tray, and select Test E-mail AutoConfiguration. Enter your email address and password and click the Test button. The results should come from the Office 365 server.