Is it possible to have a webhook activated when a user is deleted?

I need to be notified when a user is deleted and I tried looking at the available webhooks but couldn’t find one for user deletion, did I missed something or is there a way to create one ?

There isn’t a specific hook currently that would be triggered when a user is deleted. However, you may be able to compensate that if you don’t strictly require real-time notification. In particular, you can configure a log stream ( to send logs to a system you control and then on that system configure additional alerts/actions based on certain events types.

Since a user deletion would surface in tenant logs this should allow you to react to such event. As an alternative to log streaming you could also achieve something similar with the log extensions (

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.