Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to trigger function upon azure active directory changes

Tags:

azure

I am creating an application and trying to understand as, how to trigger an azure function when a new user or role is added to azure active directory

like image 224
tam tam Avatar asked Sep 13 '26 21:09

tam tam


1 Answers

First - this isn't going to be an exact 'how to' answer, sorry, but this is something similar to what I've been looking for recently as well.

What I have found thus far (from https://learn.microsoft.com/en-us/azure/azure-functions/functions-triggers-bindings) is that there does not appear to be a direct way to trigger or bind to Azure Active Directory from Azure Functions. However, in that link it does list Event Hubs as a option.

That led me to https://learn.microsoft.com/en-us/azure/active-directory/reports-monitoring/tutorial-azure-monitor-stream-logs-to-event-hub which gives a sample of how to stream Azure Active Directory logs to an Event Hub.

If you put the two together, it does seem possible, and I will be starting something similar myself in the next few weeks, so I would be interested in how this turns out for you.

Good luck!

like image 72
G_P Avatar answered Sep 19 '26 05:09

G_P



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!