How to remove all the users from an Azure Ad group automatically
We have a security restriction so for that we need to perform removal of all the Machines from that Azure Ad group automatically at the end of the day
ANY powershell script that we can use?
Answers ( 5 )
We are trying to do it on Azure Ad group
Can you provide more details so that it will be helpful to us
Azure AD group or AD groups? Yes both can be automated via Microsoft graph …
Hi Jithesh, Exactly we wish to remove all the user’s from that group automatically
We have one Intune profile which is conditionally approved by Security team so we wish to deploy that on demand basis and we have to remove it post troubleshooting
Intune profile is assigned to that group so we are checking if we can do any kind of clean up of that Ad group automatically
I don’t understand your requirements. Deleting all users from group everyday ?