When a new hire joins your Microsoft 365 Group, a manually-triggered onboarding process is a liability. This lesson walks you through building a complete Power Automate flow that automatically creates a SharePoint onboarding checklist, provisions Planner tasks with due dates, and sends a personalized welcome email — all triggered by a single group membership event.

Imagine it's Monday morning. A new hire, Priya Sharma, just got added to the "New Employees" Microsoft 365 Group. Someone in IT has to remember to create her onboarding checklist in SharePoint. Someone in HR needs to assign orientation tasks in Planner. Someone — hopefully someone — needs to send her a welcome email before she shows up to her first team meeting feeling like a complete stranger. In most organizations, all three of those things happen inconsistently, late, or not at all, because they depend entirely on a human remembering to do them.
This lesson fixes that. You'll build a single Power Automate flow that fires the moment a new user is added to a Microsoft 365 Group and then, in one automated sequence, creates a personalized onboarding checklist in a SharePoint list, provisions a set of standard onboarding tasks in Microsoft Planner with due dates and assignments, and sends the new employee a warm, context-rich welcome email. By the time you finish, the system does all three reliably, every time, with no manual intervention.
This is a practitioner-level build. You should already be comfortable creating basic flows, working with dynamic content, and navigating the Power Automate designer. If you need a refresher on how triggers work before diving in, Power Automate Triggers: When to Start a Flow covers the conceptual foundation. What we're doing here goes several steps further — chaining multiple Microsoft 365 connectors in a real production pattern that spans SharePoint, Planner, and Outlook in a single coherent flow.
What you'll learn:
Before you build, make sure you have:
Note
The Microsoft 365 Groups connector and the Office 365 Users connector both use delegated permissions tied to your sign-in account. If you're building this in a corporate tenant, confirm with your admin that the connectors are available and not blocked by DLP policies before you invest time in the build.
Before writing a single flow action, build the data structure that will hold the onboarding records. In your HR Operations SharePoint site, create a new list called Employee Onboarding. This list will hold one row per onboarding milestone per new hire.
Add the following columns to the list:
| Column Name | Type | Purpose |
|---|---|---|
| Title | Single line of text | The name of the onboarding task (default column) |
| EmployeeName | Single line of text | Full name of the new hire |
| EmployeeEmail | Single line of text | Email address for the new hire |
| Department | Single line of text | Department pulled from their M365 profile |
| StartDate | Date and Time | Date the employee was added to the group |
| Status | Choice | "Not Started", "In Progress", "Complete" |
| DueDate | Date and Time | Calculated due date for each milestone |
| AssignedTo | Person | Optional: who owns this checklist item |
| Notes | Multiple lines of text | Freeform notes field |
Set the default value for Status to "Not Started." You'll be creating multiple rows per new hire — one for each onboarding milestone — so this list will accumulate entries over time and give HR a filterable, sortable dashboard of where every new employee stands.
Tip
Add a filtered view in SharePoint that groups rows by EmployeeEmail and sorts by DueDate. This gives HR a natural per-employee onboarding card view without any additional tooling. Views cost nothing and make the data dramatically more usable.
The flow's entire logic hinges on one event: a user being added to the New Employees Microsoft 365 Group. The connector that handles this is the Microsoft 365 Groups connector, and the trigger you want is "When a group member is added."
Create a new Automated cloud flow in Power Automate. When prompted to choose a trigger, search for "group member" and select When a group member is added under the Microsoft 365 Groups connector. You'll be asked to specify the Group ID — click into the field and you should see a dropdown list of groups your account has access to. Select New Employees.
The trigger outputs a single piece of dynamic content: User ID. This is the Azure Active Directory object ID of the newly added user — a GUID that looks like 7f3a2c18-9b44-4d10-b8e5-1a5f6e3c9d02. On its own, it's not very useful for personalizing a welcome email or populating a SharePoint list. So your very next step needs to convert that User ID into a full user profile.
Add an action immediately after the trigger: search for Office 365 Users and choose Get user profile (V2). In the User (UPN or ID) field, insert the User ID dynamic content from the trigger. This single action unlocks a rich set of user properties:
displayName — Priya Sharmamail — priya.sharma@contoso.comjobTitle — Senior Analystdepartment — FinanceofficeLocation — ChicagoYou'll use all five of these downstream, so it's worth pausing here to understand why this two-step pattern (trigger → get profile) is the standard approach. The Microsoft 365 Groups trigger doesn't surface profile data directly — it only surfaces the ID. The Office 365 Users connector is what bridges the gap between an identity event and a human-readable profile. This is a pattern you'll see repeatedly in Microsoft 365 automation, and it's discussed further in Automating Microsoft 365 Group Membership Changes with Power Automate.
You'll need due dates for your SharePoint items and your Planner tasks. Rather than hardcoding dates, you'll compute them relative to the trigger date using Power Automate expressions. This makes the flow accurate regardless of when it runs.
The base expression for today's date is:
utcNow()
To add business days (or just calendar days for simplicity), use addDays():
addDays(utcNow(), 1) // Due tomorrow — IT account setup
addDays(utcNow(), 3) // Due in 3 days — Benefits enrollment intro
addDays(utcNow(), 5) // Due in 5 days — Manager 1:1 scheduled
addDays(utcNow(), 10) // Due in 10 days — 30-day check-in prep
addDays(utcNow(), 30) // Due in 30 days — 30-day review complete
If you want to format these dates for SharePoint's date field (which expects ISO 8601), wrap each expression in formatDateTime():
formatDateTime(addDays(utcNow(), 3), 'yyyy-MM-dd')
Key insight
SharePoint date columns accept strings in yyyy-MM-dd format when written from Power Automate. If you don't format them and pass a raw utcNow() timestamp, SharePoint will sometimes reject it or store it as text. Always wrap date expressions in formatDateTime() before writing to SharePoint date fields.
Before building the full SharePoint loop, use a couple of Compose actions to pre-calculate these dates and label them clearly (e.g., "DueDate_Day1", "DueDate_Day3"). This makes your later actions much cleaner to read and debug. If Compose actions are new to you, Transforming and Mapping Data with Power Automate's Compose, Select, and Filter Array Actions covers exactly this pattern.
Now you're ready to write records to SharePoint. You'll create five onboarding milestone rows, one per action. Yes, five separate Create item actions rather than a loop — the reason is that each milestone has a different title, different due date, and may eventually need different logic. A loop over a static array is cleaner architecturally, but for readability and maintainability in a team environment, explicit actions are often the better practitioner choice for a small, fixed set of items.
Tip
If your organization's onboarding checklist is dynamic — meaning HR changes it regularly — the smarter approach is to maintain the master checklist in another SharePoint list and loop over those rows at runtime. That way, changing the checklist doesn't require editing the flow. Automating SharePoint List Item Lifecycle Management with Power Automate shows how to build that kind of data-driven pattern.
For each Create item action, set the following fields using dynamic content from your Get user profile and Compose steps:
Item 1 — IT Account Setup
IT Account Setup & System AccessDisplay Name (from Get user profile)Mail (from Get user profile)Department (from Get user profile)utcNow()Not StartedItem 2 — Benefits Enrollment Orientation
Benefits Enrollment OrientationItem 3 — Manager Introduction & Goal Setting
Manager 1:1: Role Expectations & 30-Day GoalsItem 4 — Team Tools & Access Training
Team Tools & Collaboration Platform TrainingItem 5 — 30-Day Check-In
30-Day Check-In with HRName each action clearly in the designer — something like "SP: Create - IT Account Setup" rather than the default "Create item 2." The discipline of naming actions well pays enormous dividends when you're debugging a flow with 20 steps. For a full framework on naming and organizing flows, see Power Automate Best Practices: Master Flow Naming, Testing, and Monitoring.
After configuring all five Create item actions, your SharePoint section will produce five rows in the Employee Onboarding list, all linked to Priya Sharma, all with pre-calculated due dates, and all with Status = "Not Started." HR can now open the list at any time and see exactly where each onboarding milestone stands for every new employee.
With the SharePoint records created, the next phase provisions matching tasks in Planner. The purpose here is different: SharePoint is the HR tracking dashboard, while Planner is the action-oriented workspace where the IT team, HR coordinator, and manager actually work the tasks. They see assignments, due dates, and progress in a kanban-style view.
You'll need three pieces of information before you can create a Planner task:
To find the Plan ID and Bucket ID, go to Planner in your browser, open the correct plan, and look at the URL. It contains the Plan ID as a query parameter. Alternatively, add a List buckets action temporarily in your flow, run it once, and copy the IDs from the run history output. Then delete the action — you just needed the values.
Add a Create a task action from the Microsoft Planner connector for each of your onboarding milestones. Here's the configuration for the first one:
Planner Task 1 — IT Account Setup
[your plan ID]IT Account Setup & System Access — [Display Name][your IT bucket ID]formatDateTime(utcNow(), 'yyyy-MM-ddTHH:mm:ssZ')formatDateTime(addDays(utcNow(), 1), 'yyyy-MM-ddTHH:mm:ssZ')Warning
Planner's date fields require a full ISO 8601 datetime string including the time component, in the format yyyy-MM-ddTHH:mm:ssZ. If you pass only a date string like 2025-06-10, the action will fail with a vague "Bad Request" error that doesn't tell you the real cause. Always use the full format for Planner datetime fields.
After creating each task, you can optionally add an Assign a task action (also in the Planner connector) to set the assignee. The Assign action takes the Task ID from the preceding Create action and an Assignee User ID. For the IT Account Setup task, the assignee is likely a specific IT team member (a fixed email/ID). For the Manager 1:1 task, you might want to assign it to the manager — but to get the manager's ID, you'd need another Get user profile lookup using the manager property. That's worth implementing if your Azure AD directory has manager relationships populated.
For a deeper look at the full range of Planner automation patterns — including status updates, progress tracking, and linking tasks back to SharePoint — Automating Planner Task Creation, Assignment, and Status Updates with Power Automate is the companion article to this lesson.
The last step in the flow is the most visible to the new employee: a welcome email from the company that arrives in their inbox on day one. Done well, it sets the tone. Done poorly (or not at all), it's a missed opportunity.
Add a Send an email (V2) action from the Office 365 Outlook connector. Configure it as follows:
Mail (dynamic content from Get user profile — this is Priya's email)Welcome to [Your Company Name], [Display Name]! Here's What to Expect 🎉Here's a production-ready email body you can adapt:
<p>Hi [Display Name],</p>
<p>Welcome to Contoso — we're thrilled to have you on the team! 🎉</p>
<p>You've been enrolled in our standard onboarding program. Here's a quick summary
of what's coming your way over the next 30 days:</p>
<ul>
<li><strong>Day 1:</strong> IT will reach out to confirm your system access and
set up your accounts. Keep an eye on your inbox.</li>
<li><strong>Day 3:</strong> You'll receive a calendar invite for your Benefits
Enrollment Orientation with the HR team.</li>
<li><strong>Day 5:</strong> Your manager will schedule a 1:1 to walk through
your role expectations and 30-day goals.</li>
<li><strong>Day 10:</strong> You'll be introduced to the collaboration tools
and platforms your team uses daily.</li>
<li><strong>Day 30:</strong> An HR check-in to see how everything is going
and answer any questions.</li>
</ul>
<p>If you have any questions before any of these touchpoints, your HR contact is
<a href="mailto:hr-team@contoso.com">hr-team@contoso.com</a>.</p>
<p>Your department is listed as <strong>[Department]</strong> and your
job title is <strong>[Job Title]</strong>. If either of those looks off,
let us know and we'll get it corrected.</p>
<p>Looking forward to great things with you,</p>
<p><strong>The HR & People Operations Team</strong><br/>
Contoso</p>
Replace every [Display Name], [Department], and [Job Title] with the corresponding dynamic content tokens from your Get user profile action. The result is an email that feels personally addressed while being completely automated.
Tip
Set the From (Send as) field in the email action to a shared mailbox like hr-team@contoso.com rather than your personal account. This keeps the sender address professional and consistent, and it means the new hire's reply goes to the right place. You'll need Send As permissions on the shared mailbox to use this option.
You can also add the CC field with the new hire's manager (retrieved via a Get user profile lookup on the manager's email), which gives the manager visibility without requiring any action on their part.
For more depth on structuring professional automated emails — including dynamic content, reply-to settings, and formatting for different email clients — Automate Email Notifications with Power Automate is worth a read.
At this point your flow has the following shape:
formatDateTime(addDays(utcNow(), 1), 'yyyy-MM-dd')formatDateTime(addDays(utcNow(), 3), 'yyyy-MM-dd')formatDateTime(addDays(utcNow(), 5), 'yyyy-MM-dd')formatDateTime(addDays(utcNow(), 10), 'yyyy-MM-dd')formatDateTime(addDays(utcNow(), 30), 'yyyy-MM-dd')That's 18 steps, all sequential. The flow runs top to bottom in roughly 15–30 seconds for each new hire. Because all five SharePoint creates happen before any Planner creates, and both happen before the email, the new hire's email never goes out if the list creation fails partway through — the failure interrupts the flow before the email action runs.
This sequential dependency is actually useful default behavior. If you wanted the email to send even when earlier steps fail, you'd modify the run-after conditions on the email action. That's an advanced pattern covered in Master Error Handling and Retry Patterns in Power Automate for Bulletproof Flows.
Build the complete flow described in this lesson end-to-end. Use a test Microsoft 365 Group (create one called "Onboarding Test" if needed) and a dedicated test SharePoint list so you're not polluting production data. Here's a structured exercise to verify each section works:
Phase 1: Test the trigger and profile lookup
Phase 2: Add the Compose date actions
yyyy-MM-dd format.Phase 3: Add SharePoint Create items
Phase 4: Add Planner tasks
Phase 5: Add the welcome email
The trigger fires but Get user profile fails
This usually means the User ID from the trigger is not being passed correctly. Open the failed run, expand the trigger output, and verify the User ID field has a value (the GUID). If it's empty, the user may have been added in a way that didn't surface the event properly. Try removing and re-adding the test user.
SharePoint Create item shows "Required field is missing"
One of your required columns isn't receiving a value. The most common culprit: the Title field. Check that you've mapped it explicitly — SharePoint will reject the create if Title is blank, even though the designer doesn't always warn you clearly.
Planner Create a task fails with "Bad Request" (400)
As mentioned above, 95% of the time this is a datetime format issue. Planner wants yyyy-MM-ddTHH:mm:ssZ. Open the failed action's inputs in run history and look at what value was actually sent. If it's just 2025-06-10, that's your problem — wrap it in the full format expression.
The wrong user profile data appears in the email
This can happen if you have multiple Get user profile actions in your flow (for example, if you added one to look up the manager) and you accidentally mapped dynamic content from the wrong one. Click each dynamic content token in the email body and verify which action it's coming from — the token label shows the source action name.
The flow runs, but the email never arrives
Check the Send email action's output in run history. If the action shows Success but no email arrived, check: (1) the To field — was it actually Priya's email or accidentally a static value? (2) Spam filters — test emails from automated flows sometimes land in Junk. (3) If you used Send As a shared mailbox, verify your account has Send As permissions on that mailbox.
The trigger fires multiple times for one user
The Microsoft 365 Groups "When a group member is added" trigger can occasionally fire more than once for a single add event, especially in organizations with complex AAD sync configurations. Add a condition after Get user profile that checks whether a SharePoint item with that employee's email already exists (using Get items with a filter). If a record exists, terminate the flow. This idempotency check is a production best practice.
Warning
Without an idempotency check, a duplicate trigger fire will create duplicate SharePoint rows, duplicate Planner tasks, and send the welcome email twice to the new employee. That's an embarrassing way to greet someone on day one. Add the duplicate check before you deploy to production.
You've built a real, production-pattern onboarding automation that spans four Microsoft 365 services — the Groups event system, SharePoint, Planner, and Outlook — in a single coherent flow. The key skills you exercised:
formatDateTime()/addDays() expressions before passing them to multiple downstream actionsThis flow handles the happy path elegantly. As you evolve it toward production, consider these next steps:
Add the idempotency check — a Get items + Condition block that stops the flow if an onboarding record already exists for this email address
Make the checklist data-driven — move your five onboarding milestones into a master SharePoint list and loop over them, so HR can update the checklist without touching the flow. Working with Conditions, Loops, and Variables in Power Automate covers the loop patterns you'd use
Chain in a Teams notification — post a message to the HR team's Teams channel confirming that onboarding was provisioned for a new hire. Using Power Automate with Microsoft Teams: Automate Notifications, Approvals, and Channel Messages shows how to wire that in
Add a manager approval gate — before the welcome email sends, optionally route through an approval step asking the hiring manager to confirm the start date and department are correct. Building Approval Workflows with Power Automate has the patterns you need
Build the broader provisioning flow — if you want the complete user provisioning lifecycle (license assignment, AAD group membership, security group setup), Automating Microsoft 365 User Onboarding with Power Automate extends this pattern considerably
The onboarding experience you've automated today is one of the highest-ROI automations in the Microsoft 365 ecosystem because it touches every new employee and it previously required manual coordination across multiple teams. The fact that it now runs automatically, consistently, and within seconds of a user being added to a group is the kind of reliability improvement that makes organizations measurably better at welcoming people.
Flow Automation Basics