Lock a Mac automatically when a user AD account is disabled (webhooks and azure events)

user-MygFNHEclO
New Contributor III

Hi,
Has anyone got a guide for automatically locking a Mac with a users AD account is disabled?
There was some mention of it at the London Jamf event this year using webhooks and azure events.
Thanks.

1 REPLY 1

naschenbrenner
New Contributor III

It's not the same, but the closest thing I could find; Daniel Maclaughlin gave this talk about disabling Jamf Connect local sign in via Azure events, I'm sure the workflow is similar enough. https://www.youtube.com/watch?v=Nvr17J1ON-I and on his github he has an example json https://github.com/daniel-maclaughlin/jnuc-2021/blob/main/disable_user_example.json