Hi Shaan Shastri,
Thanks for reaching out to Microsoft Q&A.
To troubleshoot why your Synapse Event Trigger isn’t firing, even though events are arriving in the subscription, consider the following points:
- Check Trigger Configuration:
- Ensure the Event Trigger is correctly configured to monitor the specific container path and file type (e.g.,
.csv
,.json
) in theBlob Path Begins With
andBlob Path Ends With
fields. Any mismatch can cause it not to trigger.
- Verify Network and Firewall Settings:
- Since the storage account is behind a firewall, confirm that both Azure Synapse and Data Factory IPs are allowed, in addition to enabling Microsoft Trusted Services access. This can sometimes be an issue if Synapse IPs are accidentally missed.
- Confirm Pipeline Triggering:
- Go to Monitor > Triggers in Synapse Studio and check if the Event Trigger is active. If it shows as inactive, activate it.
- In the Monitor > Pipeline Runs, look for any errors or indications of failed attempts to trigger the pipeline, as this could signal configuration or permission issues.
- Permissions on the Event Grid Subscription:
- Although permissions look correct, try explicitly granting the EventGrid Event Subscription Contributor role to the Azure Synapse/ADF’s managed identity on the storage account. This role specifically manages event subscriptions.
- Retry Policy and Event Expiration:
- Confirm that the event trigger doesn’t have custom retry or expiration settings that could be causing it to skip events if they don’t meet certain criteria in time. This setting is often under the event trigger properties.
- Check for Dependencies on Synapse Link:
- Occasionally, delays or conflicts occur if Synapse Link or other integration components are in use on the storage account. Temporarily disable these, if possible, to rule out interference.
After trying these, if the issue persists, checking logs under Azure Monitor or Log Analytics for any event delivery or permission-related errors can provide more insights.
Please feel free to click the 'Upvote' (Thumbs-up) button and 'Accept as Answer'. This helps the community by allowing others with similar queries to easily find the solution.