Open justinhauer opened 4 years ago
yeah.. i'm a little confused by what the ms team did here for management group functions, there's a separate copy of the function for each subscription. which seems odd, i've got some questions about this approach out to them, as it seems like it should not be doing that for mgmt events, and that even for subscription events, and for periodic it should be done on a basis of runtime querying of the subscriptions in the mgmt group.
The bug:
A policy using an event grid function in Azure + the management group environment variable appears to send multiple emails (one email for every subscription within the management group) to the Storage account queue for sendgrid to pick up
Steps to reproduce the behavior:
Create the following policy:
Expected behavior:
One email is received, not multiple
Background :
latest
tag as oflatest
tag as of 06/17/2020