Shared Address Space Routing is Disabled

Guess what happens if you setup your CsHostingProvider incorrectly when deploying Skype for Business on-premises with Office 365 UM? Calls won’t make it to voicemail and a somewhat inaccurate error message from SfB might distract you from the fix.

Here’s the relevant part of the trace of a call that the Edge server is trying to send to O365 UM:

TL_ERROR(TF_DIAG) [sfbedgepool\contoso_svr00]0694.08E8::12/01/2016-09:47:52.868.00002010 (SIPStack,SIPAdminLog::WriteDiagnosticEvent:SIPAdminLog.cpp(833)) [3238978885] $$begin_record
Severity: error
Text: Split domain (cross-premise) routing is disabled
SIP-Start-Line: INVITE; SIP/2.0
SIP-Call-ID: 0f5de291-6adb-457e-b12d-60b3a207748a
Data: cause="Possible server configuration issue";summary="Shared address space routing (hosting of users on multiple deployments) is disabled";external-domain="";external-type="domain-type-local";internal-domain="";internal-type="domain-type-local"


ms-diagnostics: 1066;reason="Shared address space routing is disabled";cause="Possible server configuration issue";summary="Shared address space routing (hosting of users on multiple deployments) is disabled";external-domain="";external-type="domain-type-local";internal-domain="";internal-type="domain-type-local";source=""


OK, so given the specific wording above then you’ll probably decide that clearly the fix is to set “EnabledSharedAddressSpace” on the CsHostingProvider for Office 365 UM – and you’d be correct, however PowerShell doesn’t make it that easy, throwing up this red herring when you try:


set-CsHostingProvider : HostsOCSUsers and EnableSharedAddressSpace must occur together or not at all.

Now a reasonable person might read this as meaning that you need to have HostsOCSUsers and EnableSharedAddressSpace BOTH set to the same value (a 1 or 0, true or false). OK, well that’s how I read it …

In the heat of battle I opted to remove and recreate the CsHostingProvider to resolve the issue, but in preparing this post it became apparent to me that the values themselves don’t actually matter – you just need to include both parameters in the line when you issue the command to appease PowerShell. Thus, this is just as valid a fix:

PS C:\> set-CsHostingProvider "Exchange Online" -EnabledSharedAddressSpace 1 -HostsOCSUsers 0

Here’s my resulting HostingProvider:





– G.

Leave a Reply

Your email address will not be published. Required fields are marked *

... and please just confirm for me that you're not a bot first: Time limit is exhausted. Please reload the CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.