Skip to content

A project for streamlining and automating the process of onboarding a new employee into Azure AD and automatically assigning necessary Azure resources.

Notifications You must be signed in to change notification settings

arana2/Onboard-Automator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Onboard-Automator

This project aims to streamline and automate the onboarding process for new employees into Azure Entra ID (formerly known as Azure Active Directory), while also automatically assigning the necessary Azure resources required by the new employee.

Detailed Description

This project automates the onboarding process for new employees. It begins when a new employee submits their information through a web form via Logic Apps. This triggers the Azure Logic App to create a new user in Entra ID and assign them to the Information Technology group. The Information Technology group will have Local Administrator access to (2) virtual machines.

Azure Services Used:

  • Azure Entra ID:

    • Stores the created user.
    • Assigns the user to a designated group.
  • Azure Logic Apps:

    • Automates the process of collecting new employee information, creating the new user, assigning the user to a group, and sending a welcome email to the new employee. Azure Email Service (part of Logic Apps connector):
    • Responsible for sending a welcome email to the user.
  • Azure Resource Groups

  • Azure Virtual Machines:

    • The user created and assigned to the Information Technology group will have access to (1) Azure Windows 11 Pro virtual machine and (1) Linux Ubuntu Server virtual machine.
    • Virtual Machine Administrator Login Role assignments are assigned to the Information Technology Group at the VM Level.

Steps

Create an Azure Logic App. Within the app, create 4 triggers.

image

Trigger #1 - When an HTTP request is received.

  • This trigger is used to collect the new employee information through HTTP even such as Sharepoint or an incoming email.
image

Trigger #2 - Create User

  • This trigger will use the information from Trigger #1 to create a new user.
image

Trigger #3 - Add user to group

  • This trigger will add the user to the Information Technology group. Note, this group was previously created.
image

Trigger #4 - Send an email (V2)

  • This trigger will be used to send an automated email to the new employee which contains their username.
image

Testing

  1. Run the Logic App with sample payload.
image
  1. Confirm new employee email has been received.

  2. Confirm the user has been created and added to the Information Technology group.

image
  1. Confirm the new user has access to the virtual machine resources.
image

Conclusion This project was enjoyable and provided a learning experience in Azure's Manage Identities and Compliance domain. It did not involve any coding apart from understanding the JSON format.

Reference: https://github.com/madebygps/projects/blob/main/az-104/onboarder.md

**Azure Logic Apps **is a cloud service provided by Microsoft Azure, enabling users to build and execute workflows for automating business processes and integrating diverse services and applications. A Logic App workflow consists of a sequence of steps designed to automate a specific task or process. In this instance, I have developed a Logic App workflow. Initially, I select a trigger, which could be an event such as a new employee record in a SharePoint list or an incoming email to a designated mailbox. This allows me to test and demonstrate the functionality of the automation. Once the trigger event occurs, the Logic App workflow is activated.

About

A project for streamlining and automating the process of onboarding a new employee into Azure AD and automatically assigning necessary Azure resources.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published