Task: Create or update AD group
Prerequisites
Windows Active Directory system
Active Directory module
Description
This task will update a group in Windows Active Directory in case the group does not exist it will create a new group.
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 (Create or update AD group)
Name | Description | Type | Example | Comments |
Group name | The name of the group | String | Enyoi | If the group is found in Active Directory the group will be updated. If not the group will be created. The lookup will be done, based on the ‘SamAccountName’ |
New group name | The new name of the group | String | Enyoi Group | If the group with the provided ‘Group name’ is found the name of the group will be updated. When the group is Not found the group will be created with the ‘New group name’ if the name is not already in use within Active Directory. |
Group scope | Specify whether the group is Global or Local | String | "DomainLocal", "Global" or "Universal" | If no value is specified, the new group will be created as a Global group. |
Group category | Specify whether the group is Security or Distribution | String | "Security" or "Distribution" | If no value is specified, the default value ’Security’ will be used. |
Group OU path | The path to where the (new) group needs to be placed | String | CN=Groups,DC=enyoi,DC=org | If no value is specified, the default OU for groups will be used. |
Group Description | Describe the group | String | Group for testing purposes | |
Group manager | Specify the owner of the group | String | JDoe01 | This user will be ManagedBy of the Active Directory Group. The lookup will be done on ‘SamAccountName’ If the manager is not found in Active Directory. The group will be created without a Managed-By |
Email address | The email address for the group | String | ||
Server or Domain | Specify your Domain or Server to make your changes | String | ‘contoso.net’ or ‘DC.contoso.net’ | You can specify for example a child domain or a specific server to make changes in Active Directory. If a value is found this will override the Configuration in the Active Directory System. |