Non-dyanamic groups.

%3CLINGO-SUB%20id%3D%22lingo-sub-1809213%22%20slang%3D%22en-US%22%3ENon-dyanamic%20groups.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1809213%22%20slang%3D%22en-US%22%3E%3CP%3ECan%20we%20remove%20users%20from%20all%20the%20Non-dynamic%20groups%20once%20his%20account%20is%20disabled%20in%20AAD%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1809213%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20AD%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EIdentity%20Management%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1809523%22%20slang%3D%22en-US%22%3ERe%3A%20Non-dyanamic%20groups.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1809523%22%20slang%3D%22en-US%22%3ENo%20by%20default.%20But%20you%20could%20write%20a%20script%20that%20uses%20Powershell%20or%20the%20Graph%20API.%20this%20command%20should%20help%20you%20%3D%26gt%3B%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fazuread%2Fget-azureadusermembership%3Fview%3Dazureadps-2.0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fazuread%2Fget-azureadusermembership%3Fview%3Dazureadps-2.0%3C%2FA%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

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-...