Recently a client of ours asked us for a way to determine which Microsoft Online Mailbox Servers their users were located on. We knew you could get the information through Outlook Web Access, but weren’t sure how to do it in bulk.

Mailbox Server screenshot

After some investigation, we developed this small utility to dump which Microsoft Online server and database each user is located on. While it’s not terribly useful by itself, it might be helpful if you want to map out where your users are, so if a server is down, you’ll be able to determine which of your users are impacted by the outage.

Running the application is simple; just point it to a .txt file containing your user’s login ID’s. If you are in EMEA or APAC, you’ll also need to modify the AutodiscoverMailDB.exe.config and put in the correct AutoDiscover URL:


We do have a favor to ask. If you run the utility in your environment, could you email us the list of servers that your users are on, and what region you are in (Americas, EMEA, or APAC). You can scrub out all the user information; we are just interested in the server names. You can send the information to [email protected]

If you need an easy way to get all of your Microsoft Online user’s login ID’s into a .txt file you can download this PowerShell script.

You can download the Autdiscover MailDB application here.

As always if you have any questions or run into problems, please let us know. Also if you have an idea for Microsoft Online script or application, please let us know. In almost all cases, we are able to develop these at no charge to you, and we’ll make them available to the community once developed.

Was this article helpful?