How to remove all the users from an Azure Ad group automatically

Question

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?

solved 0
Suresh Gopi Kolluri 3 months 5 Answers 80 views Beginner 0

Answers ( 5 )

  1. We are trying to do it on Azure Ad group

  2. Thanks Anoop

    Can you provide more details so that it will be helpful to us

  3. Azure AD group or AD groups? Yes both can be automated via Microsoft graph …

    Best answer
  4. 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

  5. I don’t understand your requirements. Deleting all users from group everyday ?

Leave an answer

Sorry, you do not have a permission to answer to this question .