title: Unable to Associate a SB Queue to an Azure IOT Hub Custom Route
body: <p>I'm trying to add a Custom Endpoint to an IOT Hub.  The Endpoint should write to a Service Bus Queue in my Resource Group.  I'm getting error <code>"No namespaces found for subscription id ... in the region where this IoT hub is located"</code>.</p>
  
  <p>According to the IoT Hub Properties blade on the Portal, my IoT Hub is in my Resource Group xxx, in the East US region location.  My IoT Hub has 3 built-in endpoints:  File Upload Notifications (<code>messages/servicebound/fileNotifications</code>), Cloud to device feedback (<code>messages/servicebound/feedback</code>) and Events (<code>messages/events</code>).</p>
  
  <p>According to the ServiceBus Properties blade, my ServiceBus namespace is also in my Resource Group xxx, also located in the East US location. My ServiceBus has several Queues and Topics.  Some of my queues enable partitioning, others do not.  The max size of my queues range from 1GB to 16 GG to 80 GB.  They are all active.</p>
  
  <p>I've also tried to create a new EventHub namespace, with an Event Hub instance, in my Resource Group xxx, also located in the East US location.  The IoT Hub Custom Route blade also does not see this Event Hub's namespace.</p>
  
  <p>What am I missing?  Is the Custom Endpoints feature requiring something of my IoT Hub or ServiceBus or EventHub that I'm not setting properly?</p>