Microsoft Secure Tech Accelerator
Apr 03 2024, 07:00 AM - 11:00 AM (PDT)
Microsoft Tech Community

Non-dyanamic groups.

Copper Contributor

Can we remove users from all the Non-dynamic groups once his account is disabled in AAD?

2 Replies
No by default. But you could write a script that uses Powershell or the Graph API. this command should help you => https://docs.microsoft.com/en-us/powershell/module/azuread/get-azureadusermembership?view=azureadps-...