Skip to content

Tools4everBV/HelloID-Conn-SA-Full-AD-GroupCreate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description

This HelloID Service Automation Delegated Form provides AD group creation functionality. The following options are available:

  1. Enter group name, description and group type and scope
  2. Enter group emailaddress is available for distribution groups
  3. Select the manager (AD user account) of the new group
  4. Available group name and emailaddress ar show based on configured naming convention and a lookup in Active Directory
  5. New AD group is created after confirmation

Versioning

Version Description Date
1.0.1 Added version number and updated all-in-one script 2021/11/03
1.0.0 Initial release 2020/09/07

Table of Contents

All-in-one PowerShell setup script

The PowerShell script "createform.ps1" contains a complete PowerShell script using the HelloID API to create the complete Form including user defined variables, tasks and data sources.

Please note that this script asumes none of the required resources do exists within HelloID. The script does not contain versioning or source control

Getting started

Please follow the documentation steps on HelloID Docs in order to setup and run the All-in one Powershell Script in your own environment.

Post-setup configuration

After the all-in-one PowerShell script has run and created all the required resources. The following items need to be configured according to your own environment

  1. Update the following user defined variables
Variable nameExample valueDescription
ADusersSearchOU[{ "OU": "OU=Disabled Users,OU=HelloID Training,DC=veeken,DC=local"},{ "OU": "OU=Users,OU=HelloID Training,DC=veeken,DC=local"},{"OU": "OU=External,OU=HelloID Training,DC=veeken,DC=local"}]Array of Active Directory OUs for scoping AD user accounts as manager of the new AD group
ADgroupsCreateOUOU=Groups,OU=HelloID Training,DC=veeken,DC=localString value of Active Directory OU to create new AD groups

Manual resources

This Delegated Form uses the following resources in order to run

Powershell data source 'AD-user-generate-table-groupmanagers-create-group'

This Powershell data source runs an Active Directory query to search for "manager" AD user accounts. It uses an array of Active Directory OU's specified as HelloID user defined variable named "ADusersSearchOU" to specify the search scope. It uses an optional input called "selectedGroup" to default select the current group manager in the returned data

Powershell data source 'AD-group-create-check-names'

This Powershell data source runs an Active Directory query to return the available group name and email address based on the configured naming convention.

Delegated form task 'AD-group-create'

This delegated form task will create the configured new AD group.

Getting help

If you need help, feel free to ask questions on our forum

HelloID Docs

The official HelloID documentation can be found at: https://docs.helloid.com/