It seems your incoming device telemetry is not arriving at the Azure Stream Analytics input.
There can be several reasons for this.
Here are some steps to check the connectivity:
- Please check if the telemetry is actually arriving at the IoT Hub
- Check if the telemetry provided us in the correct JSON format
- Check if the IoTHub routing is passing all data to the default endpoint (eg. no disabled fallback endpoint)
- Give the IoTHub an extra consumer group to prevent other resources from 'hijacking' messages (under IoTHub | Settings | Built-in endpoints)
- Check the Stream Analytics input (is it connected to the right IoT Hub with the right consumer group) and after submitting, check the automatic connectivity test.
If this does not work, please first output to an Event hub and connect that Event hub as an input for your Stream Analytics Job. You get more insights from that event hub.