IoT Hub to EventGrid DeviceStatus change notification fails with error

Sereena Kurunkadan 0 Reputation points
2025-04-15T05:46:06.4566667+00:00

I’ve set up integration for DeviceConnectionStatus changes using Event Grid for the IoT Hub we’re using. However, I’ve noticed some errors occurring during the process.

Some of the errors observed include:

  • httpStatusCode=InternalServerError, errorType=UnexpectedError, errorMessage=An unexpected error has occurred. Please report the x-ms-request-id header value to our forums for assistance or raise a support ticket., errorMessage=Unable to create the items needed to communicate with the Event Hubs service
  • Another instance: errorCode=, httpStatusCode=InternalServerError, errorType=UnexpectedError, errorMessage=An unexpected error has occurred. Please report the x-ms-request-id header value to our forums for assistance or raise a support ticket.

I have the complete details captured from the AegDeliveryFailureLogs table in Log Analytics and can share them with you over chat if helpful.

Could you please guide me on how best to troubleshoot and resolve this issue? Support case model is changed from Microsoft where to raise ticket I need to upgrade to standard model which is 100 $ per month  above my limits for now)

 

Azure Event Grid
Azure Event Grid
An Azure event routing service designed for high availability, consistent performance, and dynamic scale.
{count} votes

1 answer

Sort by: Most helpful
  1. VenkateshDodda-MSFT 25,186 Reputation points Microsoft Employee Moderator
    2025-04-22T04:13:18.9266667+00:00

    @Sereena Kurunkadan Thanks for your patience on this and sharing the requested details.

    Issue : IoT Hub to EventGrid DeviceStatus change notification fails with error

    Root Cause:

    I have reviewed the backend logs for the shared event grid resource "onesXXXstatus" over the past 2 days we don't see any delivery failures.

    Also, based on the shared timestamp I have checked with internal team upon deeper investigation team has confirmed that this has happened due to a code regression and they had created a fix and deployed as well.

    Please accept as Yes if the answer is helpful so that it can help others in the community.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.