I have an Azure Function using an EventGridTrigger and created an event subscription for it in my EventGrid Domain Topic.
In the event subscription, I've filtered event types on Service.Event.Foo, these works fine and my function executes. My question is about the other events which also trigger it to execute, mainly the two below events:
Microsoft.Resources.ResourceActionSuccess
Microsoft.Resources.ResourceWriteSuccess
Why are these not filtered by my event type? Looking at the look it seems it related to something happening inside the Event Grid, logging the data I get a lot of stuff with authorization and claims and my own identity principle that I'm logged into Azure with.
What are causing these events?
Why don't my event-type filter remove them?
How can I get rid of them, other than filtering them directly in my Azure Function?
Edit:
I can add that these event's do not appear in my deadletter storage, there only my Service.Event.Foo appears if i shut down my function.