Skip to content

Remove AD user from all Groups

Featured Replies

So I'm trying to Automate a few tasks when we have users leave the company. I was wondering if anybody has experience they can lend on how with in a runbook can you remove all the groups (minus domain users) a user is part of?

Hi James,

You might have to write a PowerShell script to read all the Groups the User is a part of, and then put that into an array; after which, pass that through to an Activity to remove the user from the Group. 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.