IT Automation in Studio Web - Employee On-Boarding (Azure Active Directory)

This workflow guide showcases how you can leverage the UiPath IT Automation official activities in Studio Web to automate very common and high-volume ITSM tasks related to user accounts management in Azure Active Directory.

Automation Steps

1. Add in-arguments for the new user account details

Create in the Data Manager area InArguments of type Text for the new user’s info:

2. Add cloud connection details in the Orchestrator assets

The UiPath IT Automation integrations use activities of type Scope for connections. We’ll use Orchestrator Assets as credentials store (embedding passwords and secrets in the automation is not recommended).

3. Configuring the Azure Active Directory Scope

We add the Get Credential activity from the System package to retrieve the value of the AzureAD_AppRegistration Orchestrator asset.

We use the credential’s username as value for the Azure AD Application Scope activity’s Client ID input and the credential’s password as value for the Client Secret input.

4. Creating a new user in Azure Active Directory

In order to create a new user account in Azure AD, we add to the project the Create User, Get Group by Name, Add Member to Group and Set Manager activities from the Azure Active Directory package.

We connect the Create User’s activity inputs Mail Nickname, User Principal Name, Name, Job Title, Department to the workflow’s associated in-arguments:

After the user is created, we need to also add it to the department’s associated AzureAD group; for this task we use the Get Group by Name activity to retrieve the CloudOps ’s group id ( Member ID is connected to the output of the Create User activity). We also configure the user’s Manager with the help of the Set Manager activity ( User ID or UPN is connected to the output of the Create User activity and the Manager ID or UPN is connected to the associated workflow in-argument).

Demo project (2.5 KB)

Demo video

1 Like