Automate Employee Onboarding in Microsoft 365 | Full Tutorial
Nick Ross · Updated · Video and write-up
Employee onboarding can be both time consuming and prone for human error across our technicians. In this article, I am going to show you how to create a tailored onboarding form for a customer that can perform the following automations:
- Creating the user in Microsoft
- Assigning a License to the User
- Assigning a Manager
- Adding attributes like Job Title, Department, mobile #, employee hire date, location, etc.
- Mirroring the group access of another user
- Adding the user to groups (tied to SP sites, Teams, etc.)
- Adding the user to business systems
- Creating a ticket in PSA with all of the details
- Sending a welcome email to the employee with instructions on how to set up Microsoft authenticator.
We are going to perform these actions with a combination of Microsoft Forms and Power Automate. In the end of the article, I provide a template you can download for what I show in this blog. To be clear this is a Form you will create on a PER TENANT BASIS. It is not set up for multi-tenancy.



Prerequisites
- I recommend creating a service account for the flow and licensing them with a basic license like business basic or business standard. While you can create this with a regular user so that you do not have to assign another license, I like to direct these to service account to avoid any breaking functionality if that user were to leave. The service account needs to be assinged the User Admin and Group Admin roles to perform the steps in the automation.
- For the emails being sent out in the automation, I like to send them from a shared mailbox like support@domain.com or employeelifecycle@domain.com
- For the license assignment, I am using a group to perform the assignment, something like “Microsoft 365 Business Premium Users” which automatically assigns licenses to the members of the group. Assign licenses to a group – Microsoft Entra ID | Microsoft Learn (opens in new tab)
- Try to clean up Entra as much as you can first with things like Dynamic Groups for membership or SSO (if possible) so you can minimize the steps you take in the automation.
Creating the Form
Create a form – Microsoft Support (opens in new tab)


The form itself can be tailored to any business but here are some examples of what I am absorbing in the template. Check out the video below for the full tutorial.
Power Automate Template
You can upload the following template into a tenant and customize. Check out the full tutorial video below to see how I create all of these actions.
Get the Free Template here (opens in new tab)

When a user submits a form, we can dynamically pull out the values to perform various actions.
QUICK NOTE ON THE PASSWORD:
- I am using a sensitivity label to encrypt the email that is sent with the users password
- I would love to use a TAP but that would require a much more advanced config
- You could use the Twilio connector to send the password over SMS to the user


For mirrored access we are looking for the various group types to avoid failures.

The switch statements can really be use to perform you own custom actions on certain business systems.
Full Tutorial
See how your Microsoft 365 tenant measures up in about a minute.
CloudCapsule scans 300+ security controls, shows what to fix first, and keeps watching for drift after you fix it. Whether you manage one tenant or fifty, it’s the complete Microsoft 365 security workflow.
No credit card required. Results in about a minute.
Keep reading
Automating Vendor Onboarding Request
Are you looking to streamline vendor onboarding requests in your organization? In this post, I’ll walk you through an end-to-end automation built in Power Automate that allows users to submit vendor onboarding requests, routes them through approval in Microsoft Teams, and—if approved—adds the software to a central inventory, notifies procurement, and even opens a ticket […]
Automate User Offboarding in Microsoft 365 | Full Tutorial
In a previous post, I showed you how to automate user onboarding via a Microsoft Form and Power Automate flow. Today we are shifting the focus to user offboarding. When managing employee offboarding, it’s crucial to ensure the process is both efficient and secure. The manual tasks, from revoking user access to transferring email permissions, […]
Automate User Onboarding with HaloPSA and Microsoft 365 | Full Tutorial
In last weeks post, I showed you how to use Microsoft Forms and Power Automate to automate employee onboardings across customers. This week, I am going to show you how to do this in HaloPSA leveraging the self-service portal customers can use as a front end. We will be using a webhook in Halo to […]



