ARM Template to add named Event Grid System Topic fails with 'internal server error'.

Kirk B 1 Reputation point
2021-01-15T15:25:19.657+00:00

Using https://learn.microsoft.com/en-us/azure/event-grid/create-view-manage-system-topics-arm as a reference, I am trying to add event subscriptions to a named system topic using an ARM template. It fails for me with the messages below, essentially "internal server error." I'm hoping the GUIDs below will point someone w/in MS to the problem.

But if not, where can I take these GUIDs to get some resolution?

Thank you

{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"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 407b6a4a-a979-4eb0-98d7-32420b097e0e:1/15/2021 3:13:19 PM (UTC) to our forums for assistance or raise a support ticket ."},{"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 2b7ac3e8-6f3b-4185-a377-90823e60928a:1/15/2021 3:13:16 PM (UTC) to our forums for assistance or raise a support ticket ."},{"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 14a4321e-31d8-4aa6-8924-28e4822bbe4f:1/15/2021 3:13:18 PM (UTC) to our forums for assistance or raise a support ticket ."},{"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 489a0565-b7e2-4a9f-ac42-c2b5958453ff:1/15/2021 3:13:19 PM (UTC) to our forums for assistance or raise a support ticket ."},{"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 972e3105-acd6-4d81-adf0-171e13b0e3e2:1/15/2021 3:13:18 PM (UTC) to our forums for assistance or raise a support ticket ."},{"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 7e51a369-eb06-4091-9b56-617e87752651:1/15/2021 3:13:16 PM (UTC) to our forums for assistance or raise a support ticket ."},{"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 38b67771-25e2-4071-8903-8829b7ded2d8:1/15/2021 3:13:14 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.
454 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 70,936 Reputation points Moderator
    2021-01-18T05:22:13.483+00:00

    Hi @Kirk B

    Welcome to Microsoft Q&A! Thanks for posting the question.

    I have looked into the backend logs for the tracking ID provided in your exception I can see that the event grid was not able to add your function as the destination endpoint since your Azure Function was not in the Active state.

    Can you provide more details on the ARM template and if you are creating the azure function in the same template?
    Please confirm if the resource dependencies are set correctly using dependsOn.


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.