skip to Main Content

Find autodiscover URL in Exchange with PowerShell

Find the autodiscover URL in Exchange with PowerShell. With one PowerShell command, you will get the information you need. Before you are going to use the command, read more about the autodiscover URL. It’s good to have an understanding of the autodiscover. In this article, you will learn what the autodiscover URL is and how to find the autodiscover URL in Exchange.

What is the autodiscover URL?

The Autodiscover feature is available for the users of Exchange 2007 and later. It is a service that helps to configure user mailboxes automatically. This offers a large advantage when configuring remote Outlook clients and mobile phones. The steps to configure a mailbox is simple. Make a manual about how to configure the Outlook client or mobile phone and send it to the users. System administrators don’t have to configure mailboxes for the users. It will save a lot of time.

Autodiscover service provides the following information to Outlook client:

  • Display name of the user
  • Connection settings for internal/external connectivity
  • Outlook Anywhere Server settings
  • Location of user mailbox that currently holds the active copy of the mailbox
  • URLs for vital Outlook features responsible for its functionality, such as Unified Messaging, free/busy information, and Offline Address Book (OAB)

Now that you understand the autodiscover URL, let’s find the autodiscover URL.

Find autodiscover URL with PowerShell

Get the configured autodiscover URL on the Exchange Servers. Run Exchange Management Shell as administrator and run the Get-ClientAccessServer cmdlet.

The output will show all the Exchange Servers, including the autodiscover URL (AutoDiscoverServiceInternalUri).

[PS] C:\>Get-ClientAccessServer | Select Name, AutoDiscoverServiceInternalUri, AutoDiscoverSiteScope | Format-List

Name                           : EX01-2016
AutoDiscoverServiceInternalUri :
AutoDiscoverSiteScope          : {HeadOffice}

Name                           : EX02-2016
AutoDiscoverServiceInternalUri :
AutoDiscoverSiteScope          : {BranchOffice}

That’s it! Did the command help you find the autodiscover URL?

Read more: Configure autodiscover URL in Exchange with PowerShell »


You learned how to find the autodiscover URL in Exchange Server. To get the information, you have to use PowerShell because it’s not possible to get the autodiscover URL in Exchange Admin Center.

Did you enjoy this article? You may also like Configure Internal and External URL in Exchange. Don’t forget to follow us and share this article.



ALI TAJRAN is a passionate IT Architect, IT Consultant, and Microsoft Certified Trainer. He started Information Technology at a very young age, and his goal is to teach and inspire others. Read more »

This Post Has 0 Comments

Leave a Reply

Your email address will not be published.