How to provide a Self Service Request to Add an User in an Active Directory Group in au2mator Self Service Portal.

So your IT Stuff, Helpdesk or Managers can easily modify Active Director Group Membership, without entering the Active Directory.

In this Video and Post, we will show you how au2mator – Self Service Portal can be used to provide In formations live from your AD.

au2mator Self Service Portal is providing a front-end for your Microsoft Automation.

System Center Orchestrator, SMA, Azure Automation and PowerShell Scripts can be used to be triggered by an au2mator Service.

So you can provide easy access to your Active Directory System, without any security Risk and  the possibility of a human error.

And by providing a Self Service with au2mator, you decrease the load in your IT Department, increase the Quality by Automation.

Also the User of the Self Service will be much more satisfied, cause they receive an immediate response and solution of their request.

How to build with PowerShell

This Chapter will show you, how to configure the Service with our “ready to use” PowerShell Script


Navigate to the Download Section, at the End of this Page, to get the latest PowerShell Script

Download the File into your au2mator PowerShell Directory and adjust the Variables, if needed.

How to build with Azure Automation

This Chapter will show you, how to configure the Service with our “ready to au2mate” Azure Automation Script


Login to your Azur Portal and Navigate to you Automation Account

Navigate to “Runbooks” and click “Browse Gallery”

Search for “au2mator-AD-AddUserToGroup” in “PowerShell Gallery”

click “Import” to create the Runbook

Also make sure, the following “Variables” exist in your Azure Automation Account

  • au2mator_DC
  • au2mator_LogPath
  • au2mator_PortalURL
  • au2mator_DBServer
  • au2mator_DBName
  • au2mator_SMTPServer
  • au2mator_SMTPSender

And the “Credentials”

  • SMTP_Credentials

See our Documentation about all au2mator “Variables” and “Credentials” we use in Azure Automation:

Build au2mator Service

Login as admin to au2mator Self Service Portal

Navigate to Services and click New to create a new Service

Enter NameDescription, select a Service Group and choose a nice Image

Navigate to Runbooks and Select your PowerShell File/Orchestrator Runbook or Azure Automation Runbook, which you have downloaded/imported/created and adopted.

Next navigate to Question and configure each Question

Question: c_User

Question: Select a User

Required: true

Order: 1

Type: LDAP

Query: (objectclass=user)

Show Values: Name

Selection Type: Single

Question: c_Group

Question: Select a Group

Required: true

Order: 2

Type: LDAP

Query: (objectclass=group)

Show Values: Name

Selection Type: Single

Question: c_Comment

Question: Comment

Required: false

Order: 3

Type: Text

Feel free to configure other Question or Service Options, click Save to finish the work


Here is a list of Downloads for this Service

PowerShell on Github:

Azure Automation:


Our Scripts on TechNet Gallery, GitHub or on this Blog are provided as is, without any Support.

If you need help to customize this Service or create custom Worklfows, contact our Partner or user our Premier Services

See our Partner List:

See our Premier Services for more Details: