Hello, you can get notifications through Microsoft Graph API change notifications.
Eg.
POST https://graph.microsoft.com/v1.0/subscriptions
{
"changeType": "
"resource": "users",
"clientState": "your_custom_state",
"notificationUrl": "https://your-webhook-endpoint.com"
}
Let me know if you need additional or more detailed guidance. If the answer was helpful, please accept it and rate it so that others facing a similar issue can easily find a solution.