question

EnginEruguz-0162 avatar image
0 Votes"
EnginEruguz-0162 asked ·

Where can I find a proper documentation for creating an event-grid subscriptions

Hi,

I'm following the instructions here (https://docs.microsoft.com/en-us/azure/event-grid/custom-event-quickstart-portal) to prototype a service using event-grid but I'm not able to create a subscription because there is a mandatory field on the azure portal that doesn't exist in the documentation. Portal is asking for a mandatory system topic name that i can only find vague information about. When I fill in a value for the field I get an error saying "System topic creation is not enabled for topic type Microsoft.EventGrid.Topics".

Cannot find any resources to how to resolve this issue. Also getting the error below when I try azure cli.

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 bf2f496b-4899-4cc9-b046-0d3ca00657bc:6/2/2020 8:09:59 AM (UTC) to our forums for assistance or raise a support ticket ."}

Thanks in advance.
Engin

azure-event-grid
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

LeonLaude avatar image
1 Vote"
LeonLaude answered ·

Hi,

Something here might help:

Subscribe to events through portal
https://docs.microsoft.com/en-us/azure/event-grid/subscribe-through-portal

(Please don't forget to accept helpful replies as answer)

Best regards,
Leon


· 6 · Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

thank you for the prompt response but I still don’t see any explanation to what system topic is or why it’s not enabled, or how to enable.

0 Votes 0 · ·
LeonLaude avatar image LeonLaude EnginEruguz-0162 ·

"System topics are built-in topics provided by Azure services. You don't see system topics in your Azure subscription because the publisher owns the topics, but you can subscribe to them. To subscribe, you provide information about the resource you want to receive events from. As long as you have access to the resource, you can subscribe to its events."

Reference:
https://docs.microsoft.com/en-us/azure/event-grid/concepts#topics


0 Votes 0 · ·

sorry, i should have been more clear. system topic name is a mandatory field when creating a subscription for webhook. i don’t see a list of names to be select from and i cannot type a custom value as it ends up throwing the error above. i see that there is documentation dedicated to system topics but i don’t see how it correlates to the context above.

0 Votes 0 · ·

here I found more on system topics https://docs.microsoft.com/en-us/azure/event-grid/system-topics but cannot tell what would be a right value for creating the webhook subscription for my custom topic.

0 Votes 0 · ·
Show more comments