IoT Central Export to Azure Event Hub Stuck in “Waiting” State
I am configuring Azure IoT Central to export telemetry data to an Azure Event Hub using system-assigned managed identity. The configuration is accepted without errors, but the export destination status remains stuck in “Waiting” and does not progress to “Ready” even after waiting for over many days.
Current Status:
- No errors are shown on the UI.
- The Event Hub configuration was previously showing authentication and existence errors, but those have now been resolved.
- The export destination still does not activate.
Another thing, event hub to Microsoft fabric connection is done and it is online, this is the only issue preventing me to send telemetry data from iot central to fabric through event hub.
Azure IoT Central
-
VSawhney • 1,290 Reputation points • Microsoft External Staff • Moderator
2025-07-28T11:31:11.1033333+00:00 Hello Priyanshu Aggarwal,
It sounds like you're having a bit of trouble with your Azure IoT Central export to Azure Event Hub getting stuck in a "Waiting" state. That can be frustrating, especially with everything else set up and apparently functional. Here are a few things you can check to try to resolve this issue:
- Managed Identity Permissions: Make sure that the system-assigned managed identity for your IoT Central application has been granted the necessary permissions for Azure Event Hubs. Specifically, it should have the "Azure Event Hubs Data Sender" role assigned to it. You can verify this in the Azure portal under the "Identity" section of your IoT Central application.
- Connection String: If you're using a connection string instead of the managed identity, ensure that it's correctly set up and that the event hub name is case-sensitive. If using a managed identity, connections through simulated devices are not supported as well.
- Diagnostic Settings: Be sure that your diagnostic settings are correctly defined. This includes routing the metrics and logs to the Event Hub. If any of the diagnostic settings are missing, it could impact the ability to export data.
- Check the Export Status: On the "Data export" page in IoT Central, look for any status messages or metrics that might indicate why the export is stuck. You could use Azure Monitor to look for metrics like the number of messages being exported, number of messages successfully exported, etc.
- Wait Time: Sometimes, it can take up to 60 seconds for the messages to be exported from IoT Central to your destination. If you’re testing with a quick timeline, ensure that you allow sufficient time before checking state changes.
If after all of these steps the export destination still remains in "Waiting," it may be helpful to review the health of both the IoT Central application and Event Hubs for any potential issues.
Hope this helps!
Thank you! -
Priyanshu Aggarwal • 0 Reputation points
2025-07-29T08:20:05.5333333+00:00 Thank you for the detailed suggestions — much appreciated!
Just to clarify, we’ve already reviewed and implemented most of the steps you mentioned. Here's a summary of the current state:
✅ Managed Identity Permissions: The system-assigned managed identity of the IoT Central application has been granted the Azure Event Hubs Data Sender role at the namespace level. This was confirmed through Azure Portal → IAM.
- ✅ Connection String: We are not using a connection string — the export is configured to use managed identity only. Also, the Event Hub name is correctly spelled and case-verified.
❌ Diagnostic Settings: As this is a telemetry data export from IoT Central to Event Hub, diagnostic settings are not required in this path. This feature is handled internally by IoT Central’s export pipeline.
✅ Export Status Monitoring: The export destination remains stuck in "Waiting", and no error messages appear. We also checked Event Hub metrics, and no incoming messages have been received so far, confirming that no data is being exported yet.
✅ Wait Time Consideration: We’ve waited well beyond the expected propagation time (15+ minutes) after assigning the roles — yet the destination status has not changed from "Waiting".
🔄 Health Check: Both the IoT Central app and Event Hub are active and healthy with no service alerts or region issues.
-
Sander van de Velde | MVP • 36,951 Reputation points • MVP • Volunteer Moderator2025-07-30T18:53:53.3433333+00:00 Hello Priyanshu Aggarwal,
I understand you cannot connect using a system-assigned managed identity.
It could be that there is a managed identity hiccup between IoT Central and eventhub.
Can you first try to connect your IoT Central to the evenhub using a connectionstring to the same EventHub namespace to check if the connection can be made that way?
Or try to use another type of target to check it that one is working.
-
Messina, Rosario • 0 Reputation points
2025-08-04T10:14:08.3966667+00:00 Hello @VSawhney and @Sander van de Velde | MVP ,we have the same issue creating an "Azure blob storage" destination, we put container name and right connection string for a storage General Purpose V2 - Standard, but after creation the destination remains in "waiting" state.
We have the same issue also configuring a managed identity.
P.S. Some months ago we created an "Azure blob storage" destination in different iot-central organization and it's still working better, but now the same configuration in the same organization with a different container or the same configuration in a different organization remains in a "Waiting" state.
Do you have idea for resolution ? -
Messina, Rosario • 0 Reputation points
2025-08-04T10:14:38.11+00:00 Hello @VSawhney and @Sander van de Velde | MVP ,we have the same issue creating an "Azure blob storage" destination, we put container name and right connection string for a storage General Purpose V2 - Standard, but after creation the destination remains in "waiting" state.
We have the same issue also configuring a managed identity.
P.S. Some months ago we created an "Azure blob storage" destination in different iot-central organization and it's still working better, but now the same configuration in the same organization with a different container or the same configuration in a different organization remains in a "Waiting" state. Do you have idea for resolution ?
-
Sander van de Velde | MVP • 36,951 Reputation points • MVP • Volunteer Moderator2025-08-14T10:10:27.8433333+00:00 This could be a glitch in the Portal.
Can you try again?
Otherwise, make use of the CLI to arrange this, this way any portal glitches are ignored.
Does this help?
-
VSawhney • 1,290 Reputation points • Microsoft External Staff • Moderator
2025-08-25T07:39:54.4766667+00:00 Hello Priyanshu Aggarwal,
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet. Please feel free to reach us if you have any further query.
Thank you!
-
Priyanshu Aggarwal • 0 Reputation points
2025-08-25T07:47:59.8233333+00:00 Hello @VSawhney ,
I tried all the things which was suggested, still it is unclear why it is not resolved. I tried with different methods including connecting through connection string, but I am still stuck on Waiting problem which I described earlier.
-
Manas Mohanty • 11,850 Reputation points • Microsoft External Staff • Moderator
2025-09-05T04:04:28.79+00:00 As part of trial, I added Azure Event Hubs Data Sender role for Azure IOT central from Eventhub IAM. It worked for me.
Recommendation
Please re-register the relevant service providers (IOT hub, Central, Container, Front end, AAD etc)
Whitelist Azure IOT Central from Azure Event Hub networking/firewall to free any intermittent traffic block
Please refer the troubleshooting guide here.
-
VSawhney • 1,290 Reputation points • Microsoft External Staff • Moderator
2025-09-08T08:15:30.6333333+00:00 Hello Priyanshu Aggarwal,
Following up to see if the above response was helpful. Please let me know if you have any queries.
Thank you!
-
VSawhney • 1,290 Reputation points • Microsoft External Staff • Moderator
2025-09-09T07:44:49.61+00:00 Hello Priyanshu Aggarwal,
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet. In case if you have any resolution please do share that same with the community as it can be helpful to others. Otherwise, will respond with more details and we will try to help.
Thank you!
-
Priyanshu Aggarwal • 0 Reputation points
2025-09-09T12:47:17.94+00:00 Hi, I am in discussion with my team regarding this, will update you further.
Sign in to comment