Monthly Archives: February 2014

Incorrect RPC/HTTP URL in Exchange

I recently ran into an issue where the Test-OutlookWebServices cmdlet failed with the following message:

Id      : 1013
 Type    : Error
 Message : When contacting https://mail.company-name.org/Rpc received the error
            The remote name could not be resolved: 'mail.company-name.org'

Id      : 1017
 Type    : Error
 Message : [EXPR]-Error when contacting the RPC/HTTP service at https://mail.company-name.org/Rpc. The elapsed time was 109 milliseconds.

After a shameful hour of searching for the answer, I thought: What if I disable and re-enable the Outlook Anywhere service?

[PS] C:\Windows\system32>Disable-OutlookAnywhere -Server EXCHANGESRV

Confirm
 Are you sure you want to perform this action?
 Disabling Outlook Anywhere "EXCHANGESRV\Rpc (Default Web Site)".
 [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help
 (default is "Y"):Y

[PS] C:\Windows\system32>Enable-OutlookAnywhere -Server EXCHANGESRV -SSLOffloading $false -ExternalHostname mail.company.org -ClientAuthenticationMethod Basic

After running an IISRESET I’m able to run my Test-OutlookWebServices cmdlet without error.