First when I looked in the set of activities, i was surprised that no “Get Group Members” activity exist.

After a little playing around i discovered that “Get User” is the activity to use. And i have been using this activity since then.

 

It is pretty simple to setup.

 

1. Select a connection

image

2. Set a filter that searches for the group using the Indirect MemberOf filter rule:

image

 

using above method you can make a simple runbook to empty a AD group of members:

 

image