question

LucasValenzuela-8901 avatar image
0 Votes"
LucasValenzuela-8901 asked MayankBargali-MSFT answered

TRIGGER ISSUE EVENTS

Hi all

Im trying to build a new trigger and having troubles. The archive its a xlsx

  1. Failed to Activate Event
    Failed to Activate Event_Disp (Trigger)

  2. Failed to get subscription status
    Failed to get subscription status on storage events for event trigger Event_Disp (Trigger)

I already checked the following informations
1. Resource Provider - Microsoft.Storage (OK)
2. Account Kind - Storage V2

Let me know if someone else had this problem and how to fix it.


azure-event-grid
· 2
5 |1600 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.

@LucasValenzuela-8901 Welcome to Microsoft Q & A Community Forum. Can you please elaborate on which azure services are you using to build a trigger? Based on the information, I could add appropriate tags to the issue so that the respective service experts can assist you.

0 Votes 0 ·

@LucasValenzuela-8901 Thanks for reaching out and apology for the inconvenience due to this issue. It looks like you have created event grid subscription on your azure storage (storage v2) account, and you are facing issue while receiving the event to the configured endpoint and you are only interested in .xlsx file type events. Please confirm if my understanding is correct and share more details on the below points what exactly error you are getting?

Failed to Activate Event
Failed to Activate Event_Disp (Trigger)

Failed to get subscription status
Failed to get subscription status on storage events for event trigger Event_Disp (Trigger)

For configuration part for storage events, you can refer to this document.

0 Votes 0 ·

1 Answer

MayankBargali-MSFT avatar image
0 Votes"
MayankBargali-MSFT answered

For Community:

In case someone wants to configure storage events to web hook endpoint then you can refer to this document which will help you how you can create the event grid subscription with the configuration.

When you configure the webhook endpoint then the first event that will be fired would be validation event. The azure infrastructure automatically handles this validation event only when you have configured the below services as the webhook endpoint.

  • Azure Logic Apps with Event Grid Connector

  • Azure Automation via webhook

  • Azure Functions with Event Grid Trigger

In other webhook endpoint your endpoint code needs to participate in a validation handshake with Event Grid. In case if your endpoint doesn't respond with the validation response within 5 minutes then the event grid subscription creation will fail. For more details you can refer to this document.

When you are only looking for specific events to be delivered to the configured webhook endpoint then you can configure the filters so only specific events matching your filter condition should be sent to your configured webhook endpoint.
As you are only interested in the .xlsx file format events then you can leverage the subjectEndsWith property with the value .xlsx.

In case someone observe any issue feel free to tag me in or create a new Q&A post to assist you further.

5 |1600 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.