<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Azure IotHub connection fails with Managed Private endpoint in Eventstream</title>
    <link>https://community.fabric.microsoft.com/t5/Eventstream/Azure-IotHub-connection-fails-with-Managed-Private-endpoint/m-p/5039431#M752</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1538656" data-lia-user-login="aswary" class="lia-mention lia-mention-user"&gt;aswary&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thank you for the details and error trace you shared.&lt;/P&gt;
&lt;P&gt;Based on the behavior observed, the connection failure is caused by network reachability to the IoT Hub data-plane endpoint, not by authentication or connector configuration.&lt;/P&gt;
&lt;P&gt;Although a Managed Private Endpoint to the IoT Hub has been created, Fabric Eventstream reads telemetry through the IoT Hub built-in Event Hubs–compatible endpoint. Fabric must be able to reach all required IoT Hub service endpoints over Private Link. If only the IoT Hub (azure-devices) endpoint is exposed, the streaming connection is dropped during AMQP negotiation.&lt;/P&gt;
&lt;P&gt;The Eventstream service cannot resolve or connect to &amp;lt;your-hub&amp;gt;.servicebus.windows.net&lt;BR /&gt;This endpoint is used for telemetry ingestion. If it resolves to a public IP (or is blocked by NSG/Firewall), the connection fails with errors.&lt;BR /&gt;&lt;BR /&gt;Please try again by the following additional networking configuration is in place:&lt;/P&gt;
&lt;P&gt;Create an Additional Private Endpoint&lt;/P&gt;
&lt;P&gt;Create a Private Endpoint for the IoT Hub with:&lt;BR /&gt;Resource type: Microsoft.Devices/IotHubs&lt;BR /&gt;Subresource: eventHub (in addition to iotHub)&lt;/P&gt;
&lt;P&gt;This exposes the streaming endpoint required by Fabric.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Configure Private DNS (Critical)&lt;/P&gt;
&lt;P&gt;Create and link the Private DNS zone, ensure the namespace resolves to the private IP and verify outbound access from the Fabric Managed VNet allows:&lt;/P&gt;
&lt;P&gt;TCP 5671 – AMQP over TLS (primary)&lt;/P&gt;
&lt;P&gt;TCP 5672 – AMQP fallback&lt;/P&gt;
&lt;P&gt;TCP 443 – WebSocket fallback&lt;/P&gt;
&lt;P&gt;If only port 443 is open, AMQP negotiation may still fail.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Validate DNS Resolution&lt;/P&gt;
&lt;P&gt;From a VM in the same VNet, run:&lt;/P&gt;
&lt;P&gt;nslookup &amp;lt;your-hub&amp;gt;.servicebus.windows.net&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If this returns a public IP, this is the cause of the failure. After correct configuration, it should return a private IP. Once the Event Hubs compatible endpoint is reachable privately, the connection should succeed without requiring public access to the IoT Hub.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Mon, 23 Feb 2026 05:15:53 GMT</pubDate>
    <dc:creator>v-echaithra</dc:creator>
    <dc:date>2026-02-23T05:15:53Z</dc:date>
    <item>
      <title>Azure IotHub connection fails with Managed Private endpoint</title>
      <link>https://community.fabric.microsoft.com/t5/Eventstream/Azure-IotHub-connection-fails-with-Managed-Private-endpoint/m-p/5015129#M750</link>
      <description>&lt;P&gt;I am trying to pull live data from Azure IotHub by following these 2 documentations for establishing connection between Fabric and Azure:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/fabric/security/security-managed-private-endpoints-create" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/fabric/security/security-managed-private-endpoints-create&lt;/A&gt;&lt;/P&gt;&lt;P&gt;- &lt;A href="https://learn.microsoft.com/en-us/fabric/real-time-intelligence/event-streams/add-source-azure-iot-hub?pivots=enhanced-capabilities" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/fabric/real-time-intelligence/event-streams/add-source-azure-iot-hub?pivots=enhanced-capabilities&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Azure is behind a Vnet and firewall and doesn't allow public access.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the private endpoint created and approved on IotHUB. When I try to create an eventstream and create a new connection to this IoTHub, it fails with this error:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;{&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; "code":"AsaDataPreviewFailure",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; "message":"Unexpected status code when previewing input data. Expected Accepted or OK, but received BadRequest. Error message: {status":"ErrorConnectingToInput",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; "eventsDownloadUrl":null,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; "error":{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; "code":"BadArgument",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; "message":"Unable to connect to IoT Hub 'azure-iot-hub' using connection string. Please make sure you have configured the IoT Hub input correctly. Exception details System.IO.IOException: Transport is closed ---&amp;gt; System.ObjectDisposedException: Cannot access a disposed object.Object name: 'sasl6285'. --- End of inner exception stack trace --- at Microsoft.Azure.Amqp.AsyncResult.End[TAsyncResult](IAsyncResult result) at Microsoft.Azure.Amqp.AmqpObject.OpenAsyncResult.End(IAsyncResult result) at Microsoft.Azure.Amqp.AmqpObject.EndOpen(IAsyncResult result) at Microsoft.Azure.Amqp.Transport.AmqpTransportInitiator.HandleTransportOpened(IAsyncResult result) at Microsoft.Azure.Amqp.Transport.AmqpTransportInitiator.OnTransportOpenCompete(IAsyncResult result)--- End of stack trace from previous location --- at Microsoft.Azure.Amqp.AsyncResult.End[TAsyncResult](IAsyncResult result) at Microsoft.Azure.Amqp.Transport.AmqpTransportInitiator.&amp;lt;&amp;gt;c.&amp;lt;ConnectAsync&amp;gt;b__17_1(IAsyncResult r) at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)--- End of stack trace from previous location --- at Microsoft.Streaming.Services.TestConnectionAndSampleDataService.EventHubClient.IotHubConnection.CreateAndOpenConnectionAsync(Uri serviceEndpoint, String iotHubName, String sharedAccessKeyName, String sharedAccessKey, TimeSpan timeout) in C:__w1sProductSourceServicesTestConnectionAndSampleDataEventHubClientIotHubConnection.cs:line 196 at Microsoft.Streaming.Services.TestConnectionAndSampleDataService.EventHubClient.IotHubConnection.RequestEventHubsConnectionStringAsync(String iotHubConnectionString, Nullable`1 timeout) in C:__w1sProductSourceServicesTestConnectionAndSampleDataEventHubClientIotHubConnection.cs:line 76 at Microsoft.Streaming.Services.TestConnectionAndSampleDataService.JobAnnotationService.JobAnnotator.GetIotHubConfig(String iotHubConnectionString, String iotHubName) in C:__w1sProductSourceServicesTestConnectionAndSampleDataJobAnnotationServiceJobAnnotator.cs:line 389",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; "details":null},&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; "diagnostics":null,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; "lastArrivalTime":null}"}&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;This is how I have created the IOThub connection (as suggested in the doc):&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;and then:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error:&lt;/STRONG&gt;&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Feb 2026 12:32:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Eventstream/Azure-IotHub-connection-fails-with-Managed-Private-endpoint/m-p/5015129#M750</guid>
      <dc:creator>aswary</dc:creator>
      <dc:date>2026-02-13T12:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: Azure IotHub connection fails with Managed Private endpoint</title>
      <link>https://community.fabric.microsoft.com/t5/Eventstream/Azure-IotHub-connection-fails-with-Managed-Private-endpoint/m-p/5039431#M752</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1538656" data-lia-user-login="aswary" class="lia-mention lia-mention-user"&gt;aswary&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thank you for the details and error trace you shared.&lt;/P&gt;
&lt;P&gt;Based on the behavior observed, the connection failure is caused by network reachability to the IoT Hub data-plane endpoint, not by authentication or connector configuration.&lt;/P&gt;
&lt;P&gt;Although a Managed Private Endpoint to the IoT Hub has been created, Fabric Eventstream reads telemetry through the IoT Hub built-in Event Hubs–compatible endpoint. Fabric must be able to reach all required IoT Hub service endpoints over Private Link. If only the IoT Hub (azure-devices) endpoint is exposed, the streaming connection is dropped during AMQP negotiation.&lt;/P&gt;
&lt;P&gt;The Eventstream service cannot resolve or connect to &amp;lt;your-hub&amp;gt;.servicebus.windows.net&lt;BR /&gt;This endpoint is used for telemetry ingestion. If it resolves to a public IP (or is blocked by NSG/Firewall), the connection fails with errors.&lt;BR /&gt;&lt;BR /&gt;Please try again by the following additional networking configuration is in place:&lt;/P&gt;
&lt;P&gt;Create an Additional Private Endpoint&lt;/P&gt;
&lt;P&gt;Create a Private Endpoint for the IoT Hub with:&lt;BR /&gt;Resource type: Microsoft.Devices/IotHubs&lt;BR /&gt;Subresource: eventHub (in addition to iotHub)&lt;/P&gt;
&lt;P&gt;This exposes the streaming endpoint required by Fabric.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Configure Private DNS (Critical)&lt;/P&gt;
&lt;P&gt;Create and link the Private DNS zone, ensure the namespace resolves to the private IP and verify outbound access from the Fabric Managed VNet allows:&lt;/P&gt;
&lt;P&gt;TCP 5671 – AMQP over TLS (primary)&lt;/P&gt;
&lt;P&gt;TCP 5672 – AMQP fallback&lt;/P&gt;
&lt;P&gt;TCP 443 – WebSocket fallback&lt;/P&gt;
&lt;P&gt;If only port 443 is open, AMQP negotiation may still fail.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Validate DNS Resolution&lt;/P&gt;
&lt;P&gt;From a VM in the same VNet, run:&lt;/P&gt;
&lt;P&gt;nslookup &amp;lt;your-hub&amp;gt;.servicebus.windows.net&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If this returns a public IP, this is the cause of the failure. After correct configuration, it should return a private IP. Once the Event Hubs compatible endpoint is reachable privately, the connection should succeed without requiring public access to the IoT Hub.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2026 05:15:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Eventstream/Azure-IotHub-connection-fails-with-Managed-Private-endpoint/m-p/5039431#M752</guid>
      <dc:creator>v-echaithra</dc:creator>
      <dc:date>2026-02-23T05:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Azure IotHub connection fails with Managed Private endpoint</title>
      <link>https://community.fabric.microsoft.com/t5/Eventstream/Azure-IotHub-connection-fails-with-Managed-Private-endpoint/m-p/5060970#M758</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1538656" data-lia-user-login="aswary" class="lia-mention lia-mention-user"&gt;aswary&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We’d like to follow up regarding the recent concern. Kindly confirm whether the issue has been resolved, or if further assistance is still required. We are available to support you and are committed to helping you reach a resolution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2026 11:42:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Eventstream/Azure-IotHub-connection-fails-with-Managed-Private-endpoint/m-p/5060970#M758</guid>
      <dc:creator>v-echaithra</dc:creator>
      <dc:date>2026-02-19T11:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Azure IotHub connection fails with Managed Private endpoint</title>
      <link>https://community.fabric.microsoft.com/t5/Eventstream/Azure-IotHub-connection-fails-with-Managed-Private-endpoint/m-p/5110343#M759</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1538656" data-lia-user-login="aswary" class="lia-mention lia-mention-user"&gt;aswary&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;May I ask if you have resolved this issue? Please let us know if you have any further issues, we are happy to help.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2026 05:13:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Eventstream/Azure-IotHub-connection-fails-with-Managed-Private-endpoint/m-p/5110343#M759</guid>
      <dc:creator>v-echaithra</dc:creator>
      <dc:date>2026-02-23T05:13:55Z</dc:date>
    </item>
  </channel>
</rss>

