Configure the SCP object on all Exchange servers

 

Estimated time to complete: 10 minutes

Autodiscover uses an Active Directory object called the service connection point (SCP) to retrieve a list of Autodiscover URLs for the forest in which Exchange is installed. When you install Exchange 2016, you need to update the SCP object to point to the Exchange 2016 server. This is necessary because Exchange 2016 servers provide additional Autodiscover information to clients to improve the discovery process.

You must update the SCP object configuration on every Exchange server in the organization. You need to use the version of the Exchange Management Shell that corresponds to the version of the Exchange server you're updating.

How do I do this?

{#Text:E16Exchange2010ProcedureIntro#}Perform the following steps to configure the SCP object on your Exchange 2010 servers.

  1. {#Text:E16Exchange2010List1#}

    Open the Exchange Management Shell on your Exchange 2010 Client Access server.

  2. {#Text:E16Exchange2010List2#}

    Store the Autodiscover host name of your Internet-facing Exchange 2016 Mailbox server in a variable that will be used in the next step. For example, autodiscover.contoso.com.

    $AutodiscoverHostName = "autodiscover.contoso.com"
    
  3. {#Text:E16Exchange2010List3#}

    Run the following command to set the SCP object on every Exchange 2010 server to the Autodiscover URL of the new Exchange 2016 server.

    Get-ExchangeServer | Where {($_.AdminDisplayVersion -Like "Version 14*") -And ($_.ServerRole -Like "*ClientAccess*")} | Set-ClientAccessServer -AutoDiscoverServiceInternalUri https://$AutodiscoverHostName/Autodiscover/Autodiscover.xml
    

{#Text:E16Exchange2013ProcedureIntro#}Perform the following steps to configure the SCP object on your Exchange 2013 servers.

  1. {#Text:E16Exchange2013List1#}

    Open the Exchange Management Shell on your Exchange 2013 Client Access server.

  2. {#Text:E16Exchange2013List2#}

    Store the Autodiscover host name of your Internet-facing Exchange 2016 Mailbox server in a variable that will be used in the next step. For example, autodiscover.contoso.com.

    $AutodiscoverHostName = "autodiscover.contoso.com"
    
  3. {#Text:E16Exchange2013List3#}

    Run the following command to set the SCP object on every Exchange 2013 server to the Autodiscover URL of the new Exchange 2016 server.

    Get-ExchangeServer | Where {($_.AdminDisplayVersion -Like "Version 15.0*") -And ($_.ServerRole -Like "*ClientAccess*")} | Set-ClientAccessServer -AutoDiscoverServiceInternalUri https://$AutodiscoverHostName/Autodiscover/Autodiscover.xml
    

Perform the following steps to configure the SCP object on your Exchange 2016 servers.

  1. Open the Exchange Management Shell on your Exchange 2016 Mailbox server.

  2. Store the Autodiscover host name of your Exchange 2016 Mailbox server in a variable that will be used in the next step. For example, autodiscover.contoso.com.

    $AutodiscoverHostName = "autodiscover.contoso.com"
    
  3. Run the following command to set the SCP object on every Exchange 2016 server to the Autodiscover URL of the new Exchange 2016 server.

    Get-ExchangeServer | Where {($_.AdminDisplayVersion -Like "Version 15.1*") -And ($_.ServerRole -Like "*Mailbox*")} | Set-ClientAccessService -AutoDiscoverServiceInternalUri https://$AutodiscoverHostName/Autodiscover/Autodiscover.xml
    

How do I know this worked?

{#Text:Exchange2010VerifyIntro#}To verify that you successfully configured the AutoDiscoverServiceInternalUrl property on your Exchange 2010 servers with the value of the Exchange 2016 Autodiscover URL, do the following:

  1. {#Text:E16Exchange2010List4#}

    Open the Exchange Management Shell on your Exchange 2010 Client Access server.

  2. {#Text:E16Exchange2010List5#}

    Run the following command to view the SCP object configuration on Exchange 2010 servers.

    Get-ExchangeServer | Where {($_.AdminDisplayVersion -Like "Version 14*") -And ($_.ServerRole -Like "*ClientAccess*")} | Get-ClientAccessServer | Format-Table Name, AutoDiscoverServiceInternalUri -Auto
    

{#Text:Exchange2013VerifyIntro#}To verify that you successfully configured the AutoDiscoverServiceInternalUrl property on your Exchange 2010 servers with the value of the Exchange 2016 Autodiscover URL, do the following:

  1. {#Text:E16Exchange2013List4#}

    Open the Exchange Management Shell on your Exchange 2013 Client Access server.

  2. {#Text:E16Exchange2013List5#}

    Run the following command to view the SCP object configuration on Exchange 2013 servers.

    Get-ExchangeServer | Where {($_.AdminDisplayVersion -Like "Version 15.0*") -And ($_.ServerRole -Like "*ClientAccess*")} | Get-ClientAccessServer | Format-Table Name, AutoDiscoverServiceInternalUri -Auto
    

To verify that you successfully configured the AutoDiscoverServiceInternalUrl property on your Exchange 2016 servers with the value of the Exchange 2016 Autodiscover URL, do the following:

  1. Open the Exchange Management Shell on your Exchange 2016 Mailbox server.

  2. Run the following command to view the SCP object configuration on Exchange 2016 servers.

    Get-ExchangeServer | Where {($_.AdminDisplayVersion -Like "Version 15.1*") -And ($_.ServerRole -Like "*Mailbox*")} | Get-ClientAccessService | Format-Table Name, AutoDiscoverServiceInternalUri -Auto
    

Having problems? Ask for help in the Exchange forums. Visit the forums at Exchange Server, Exchange Online, or Exchange Online Protection.