How to monitor for newly created Azure Subscriptions?

157 views Asked by At

I want to monitor for newly created Azure Subscriptions. Ideally, I would like to subscribe to events at the management group level and ingest them on event grid. What would be the best way to accomplish this?

On my research there is no native way for event grid to subscribe to events on the Management Group or Tenant Level.

1

There are 1 answers

1
Roman Kiss On

As you mentioned, there is no native way to add an event grid at management group level.

However, you can use a polling technique (Azure TimerTrigger Function) with a REST GET request to obtain a list of all subscriptions, comparing to previously state and publishing its diference to the AEG custom topic.