how to get notifications on user created in AD via eventhub? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how to get notifications on user created in AD via eventhub?

hi all, I have a requirement to get notification on , when a user is created on Azure directory. To listen the events that are created when the user is added.

22nd Dec 2022, 9:48 AM
Bhavani Sankar
Bhavani Sankar - avatar
4 Answers
+ 1
You should check the Azure documentation. https://learn.microsoft.com/en-us/azure/event-grid/azure-active-directory-events "When an event is triggered, the Event Grid service sends data about that event to subscribing destinations."
22nd Dec 2022, 10:20 AM
Tibor Santa
Tibor Santa - avatar
+ 1
Sure, all the documentation of Azure services is available on the internet, just type the keywords into Google search (or Bing if you prefer). Finding information online, is a more important skill for a programmer, than any other skill.
22nd Dec 2022, 11:18 AM
Tibor Santa
Tibor Santa - avatar
0
Can I have information related to event hub and Microsoft graph instead of event grid
22nd Dec 2022, 10:26 AM
Bhavani Sankar
Bhavani Sankar - avatar
0
I have tried with this link, https://learn.microsoft.com/en-us/graph/change-notifications-delivery and done all the changes. but when I am trying to call the API , not able to receive the newly added users to AD. this is the subscription request used to track the changes, may I know, is there any mistake i am doing const subscription = { resource: "/users", notificationUrl: "************************************************", changeType: "updated,created", expirationDateTime: "2025-12-22T18:23:45.9356913Z", clientState: "secretClientValue", latestSupportedTlsVersion: " v1_2" };please suggest
23rd Dec 2022, 4:27 AM
Bhavani Sankar
Bhavani Sankar - avatar