Exchange 2013 Outlook Anywhere (RPC) Settings

I’ve been having some issues with the default RTM install of Exchange 2013. I’ve not been able to get clients to connect via Outlook Anywhere (RPC over HTTPS).

Here is the output of the Exchange Connectivity Test

Attempting to ping RPC proxy mail.contoso.co.nz.
RPC Proxy can't be pinged.
Additional Details
A Web exception occurred because an HTTP 404 - NotFound response was received from Unknown.

The first thing Microsoft Looked at were the settings on the Outlook-Anywhere provider. They were as follows:

(get-outlookanywhere)

ExternalClientAuthenticationMethod : Negotiate
InternalClientAuthenticationMethod : Negotiate
IISAuthenticationMethods : {Negotiate}

This is the default install settings. These are however, incorrect. The settings should be as follows:

(set-outlookanywhere)

ExternalClientAuthenticationMethod : Negotiate
InternalClientAuthenticationMethod : NTLM
IISAuthenticationMethods : {basic, ntlm, negotiate}

Your Outlook providers also need their certificate set correctly. By default they are set as the following:

(get-outlookprovider)

Name                          Server                        CertPrincipalName             TTL
----                          ------                        -----------------             ---
EXCH                                                                                      1
EXPR                                                                                      1
WEB                                                                                       1

This needs to be set to your certificate name (assuming you are using a trusted SSL cert). In our case we were using a wild card certificate.

(set-outlookprovider)

Name                          Server                        CertPrincipalName             TTL
----                          ------                        -----------------             ---
EXCH                                                        msstd:*.contoso.co.nz         1
EXPR                                                        msstd:*.contoso.co.nz         1
WEB                                                                                       1

We have installed CU1 for Exchange 2013 and found it set the same settings. I’m not sure why the default authentication is not being set correctly when installing for the first time.

About these ads

10 Responses to Exchange 2013 Outlook Anywhere (RPC) Settings

  1. Abdul Gafoor says:

    Very Nice Nice Blog, Its helped me a lot during the configuration of OA.

  2. Nay Lin says:

    My outlook client cannot connect automatically to exchange 2013. And I need to key in manually RPC setting to configure the outlook. I’ve configured all the steps that you mention.

    Any Idea ?

  3. Nay Lin says:

    My outlook client cannot connect automatically to exchange 2013. And I need to key in manually RPC setting to configure the outlook. I’ve configured all the steps that you mention.

    Any Idea ?

  4. Mik\e says:

    Are all your clients on Exchange 2013? It was my understanding that you shouldn’t change your authentication to Negotiate until all users have been migrated.

  5. Cesar says:

    THANK YOU!

  6. Glen says:

    Thanks very much. After 5 days of breaking my ‘back’ your solution resolved my issue.

  7. Alex says:

    Thanks for this. Although you could have listed the full commands. Just referencing the command you used was a bit mean spirited.

  8. Shakir says:

    I corrected both get-outlookanywhere and get-outlookprovider results as advised in this post. But still the ExRCA gives the same error message for RCP/HTTP test failed. Can anybody please help me?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: