Task: Delete AD group
Prerequisites
Windows Active Directory system
Active Directory module
Description
This task will delete a group in Windows Active Directory. The task will perform a lookup in your Active Directory and when the group is found the group will be deleted from Active Directory.
Active Directory Connection system
Name  | Description  | Type  | Example  | Comment  | 
|---|---|---|---|---|
Domain  | Specify the active directory domain  | String  | Enyoi.com  | Parameter is required.  | 
Server  | Specify the active directory server  | String  | Dc01.enyoi.com  | 
Variables (Delete AD group)
Name  | Description  | Type  | Example  | Comments  | |
Group Name  | The name of the group  | String  | ‘Enyoi Group’ Or “CN=EnyoiGroup,CN=Keys,DC=Enyoi,DC=org”  | Parameter is required.  | |
Server or Domain  | Specify your Domain or Server to make you changes  | String  | ‘enyoi.org’ or ‘DC-01.enyoi.org’  | You can specify for example a child domain or a specific server to make your changes in this domain in Active Directory. If a value is found this will override the Configuration in you Active Directory System.  | |
Only when empty  | Enable when you wants to delete only group without members  | Switch  | ‘Enabled’ or ‘Disabled’  | Enable this setting if you want to delete only groups without members. When Disabled the group will be deleted even there are still members listed.  | |