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?

Answers ( 5 )

    0
    2020-07-24T04:34:33+05:30

    We are trying to do it on Azure Ad group

    0
    2020-07-24T04:33:54+05:30

    Thanks Anoop

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

    0
    2020-07-24T02:45:50+05:30

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

    Best answer
    0
    2020-07-11T05:55:43+05:30

    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

    0
    2020-07-11T05:51:57+05:30

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

Leave an answer

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