Getting internal Server error while creating an event supscriptions with filters

Maximilian Kirschning 1 Reputation point
2022-01-25T16:01:10.677+00:00

Hey everyone,

I´m trying to create an event subscription for my Topic. It works without enabling subject filtering, but every time I´m adding a subject starts with filter, I´m getting an internal Server error while deploying.

Deployment has failed with the following error: {"code":"Internal error","message":"The operation failed due to an internal server error. The initial state of the impacted resources (if any) are restored. Please try again in few minutes. If error still persists, report b016d2d8-b629-4d56-bec6-4cbf82f23032:1/25/2022 3:55:15 PM (UTC) to our forums for assistance or raise a support ticket ."}

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

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 68,746 Reputation points
    2022-01-27T10:47:47.12+00:00

    @Maximilian Kirschning Thanks for reaching out. I have looked into backend logs for the reported ID: b016d2d8-b629-4d56-bec6-4cbf82f23032 and I can see that the event grid subscription failed due to your destination endpoint i.e. azure function (in your case) being in a disabled state. Please make sure that you have enabled the function app and retry the operation again i.e. create the event grid subscription on your storage account. Please refer to my private comment for more details on the function app.

    Feel free to get back to me if you still face the issue once you have enabled your function app.

    The feedback is already passed to the product team to make these errors user-friendly rather than showing the internal error.