DaemonLayer Logo
Automation

Microsoft 365 Onboarding Automation for MSPs: Joiners, Movers and Templates

Rudy Mens•
Microsoft 365 onboarding automation for MSPs with per-client templates

The best Microsoft 365 onboarding automation for an MSP starts from the client’s request, applies a per-client template and waits for approval where it should. Then it creates the account, licence, groups, Teams and mailbox access in the right tenant, without an engineer clicking through the admin centre.

The same process should handle role changes, the “mover” case, because that is where access quietly piles up. And every step should end up in an audit log on the ticket.

There are four ways to get there: Entra ID lifecycle workflows, scripts and runbooks, PSA workflows, and dedicated tools. This article covers the pattern first, then the options.

The Joiner-Mover Pattern

Every new starter, and every role change, follows the same shape:

  1. A request comes in. A ticket, an email, or a form in the client portal: “We have a new colleague starting Monday, Anneleen Verkerk, marketing coordinator, reporting to Lisa de Wit.”
  2. It gets checked and approved. Is the requester allowed to ask for this? Is anything essential missing, like a start date or a department?
  3. The account is built. Username on the client’s convention, licence, groups, Teams, shared mailboxes, and the device assignment if the client uses Autopilot.
  4. Confirmation goes back. The requester gets the credentials through a safe channel, and the ticket gets a note listing exactly what was created.

Most MSPs have the first and last steps in their PSA already. The middle is where the engineer time goes, and where the inconsistency creeps in.

Start With a Per-Client Template

You cannot automate onboarding for a client whose setup lives in one engineer’s head. The template is what turns “set up an account like the others” into something a script, a workflow or a tool can actually run.

Here is what a per-client template looks like in practice. The format does not matter. The fact that every field is written down does.

client: Nordic Systems
tenant: nordicsystems.onmicrosoft.com
username: "{firstname}.{lastname}"   # accents folded: Renée Böhm -> renee.bohm
domain: nordicsystems.nl
usageLocation: NL                     # required before a licence can be assigned
defaultLicence: Microsoft 365 Business Premium
baseGroups:
  - All Staff
departmentGroups:
  Marketing: [Marketing, SharePoint-Marketing]
  Finance:   [Finance, SharePoint-Finance-ReadWrite]
neverAssign:
  - "*-Admins"                        # role-assignable groups are always manual
sharedMailboxes:
  Finance: [invoices@nordicsystems.nl]
devices: Autopilot group "NS-Laptops"
approvers:
  - Mark Jansen (office manager)
  - "the new starter's manager"
deliverPasswordTo: requester         # never in the ticket

Two lines in that template do most of the safety work. neverAssign means no automation, however confident, can put a new starter in an admin group.

deliverPasswordTo means the temporary password never ends up in a ticket note that half the service desk can read.

The Steps in PowerShell

If you script it yourself, the core of a new starter in Microsoft Graph PowerShell looks like this:

Connect-MgGraph -TenantId $tenantId -Scopes "User.ReadWrite.All","Group.ReadWrite.All","Directory.ReadWrite.All"

$params = @{
  AccountEnabled    = $true
  DisplayName       = "Anneleen Verkerk"
  GivenName         = "Anneleen"
  Surname           = "Verkerk"
  UserPrincipalName = "anneleen.verkerk@nordicsystems.nl"
  MailNickname      = "anneleen.verkerk"
  JobTitle          = "Marketing Coordinator"
  Department        = "Marketing"
  UsageLocation     = "NL"
  PasswordProfile   = @{ Password = $tempPassword; ForceChangePasswordNextSignIn = $true }
}
$user = New-MgUser @params

# Manager
Set-MgUserManagerByRef -UserId $user.Id -BodyParameter @{ "@odata.id" = "https://graph.microsoft.com/v1.0/users/$managerId" }

# Licence (UsageLocation must be set first)
$sku = Get-MgSubscribedSku | Where-Object SkuPartNumber -eq "SPB"
Set-MgUserLicense -UserId $user.Id -AddLicenses @(@{ SkuId = $sku.SkuId }) -RemoveLicenses @()

# Groups from the template
foreach ($groupId in $groupIds) {
  New-MgGroupMember -GroupId $groupId -DirectoryObjectId $user.Id
}

Two things trip people up. The licence assignment fails if UsageLocation is empty, which is one of the most common onboarding script errors.

And if the client has no free seat, the script fails halfway, leaving an account with no licence and no note explaining why.

A good process creates the account anyway and flags the gap, rather than leaving the ticket in an unknown state.

The Mover Case Most Tools Ignore

New starters get attention because they are visible: someone is waiting on Monday morning. Role changes do not. When Diego moves from Analyst to Junior SysAdmin, the request is usually one line:

“Diego’s new title is Jr SysAdmin, can he get access to the IT SharePoint?”

So the new access gets added, and the old access stays. Do that for a few years and your long-serving staff carry the combined permissions of every role they have ever held.

That is exactly the kind of finding that shows up in a client’s security review or a cyber insurance questionnaire.

A proper mover process does three things:

Approvals and Audit Logs

Onboarding feels low risk, but it creates access, and creating access is exactly what an attacker would ask a service desk to do.

A request to “set up an account for our new contractor” from an unknown sender should not run on its own.

Put approvals where the risk is:

Then log everything: who asked, who approved, every object created, every group added, with timestamps.

For UK clients asking about new-starter, role-change and leaver processes with Entra ID, approvals and audit logs, this record is the answer they are really looking for.

Onboarding Automation Approaches Compared

Approach How it starts Per-client templates Movers Approvals and audit Best for
Entra ID lifecycle workflows HR attributes, such as employee hire date Per tenant Yes, from attribute changes Run history in Entra Clients with HR-driven provisioning and Entra ID Governance licences
Scripts and runbooks An engineer, or a form In your script parameters Only if you build it What you log MSPs with a strong scripter and few templates
PSA workflows and checklists Ticket Checklist per client Manual Ticket history Standardising a manual process first
Workflow platforms (build your own) Ticket or form Yes, you build them If you build it Logged per workflow MSPs with a dedicated automation engineer
Dedicated MSP tools Ticket in plain English Built in or inferred Varies, check this Built in MSPs who want it pre-built

Entra ID lifecycle workflows are strong when a client has an HR system writing hire dates and departments into Entra ID. They include joiner tasks such as enabling the account, assigning licences and adding users to groups and Teams.

They also require Microsoft Entra ID Governance or Microsoft Entra Suite licences (as of November 2026), which most small and mid-sized clients do not have.

For a client whose HR system is the office manager’s inbox, a ticket-driven approach fits better.

How DaemonLayer Handles a New Starter

DaemonLayer reads the plain-English request from the ticket and runs six steps:

  1. Read. Name, start date, title, department and manager come from the ticket. If something essential is missing, it asks one question.
  2. Username. Built on the client’s naming convention, with accents folded and duplicates caught before anything is created.
  3. Groups. Inferred from how the client is already set up: groups everyone shares, then peers with the same title or department, then recent hires in similar roles. If none of those is confident, a technician decides. The AI never picks groups on its own.
  4. Strip. Privileged, role-assignable groups are removed in code before anything is applied, even when a technician approves.
  5. Licence. Assigned, and the PSA contact created. If no seat is free, the account is still created and the gap is flagged on the ticket.
  6. Deliver. The temporary password is emailed to the requester, never written into the ticket, and an audit note is posted.

For movers, a request like “change Diego’s title and give him access to the IT SharePoint” runs as one ticket with an ordered plan of workflows (update user details, then group management) and a single reply to the requester.

Approvals stay per workflow, so you decide which changes run on their own.

It works with ConnectWise Manage, Autotask and HaloPSA, and connects to client tenants through GDAP. The full flow is on the onboarding and offboarding feature page, and the leaver side is covered in our Microsoft 365 offboarding checklist.

FAQ

What is the best Microsoft 365 onboarding automation for MSPs?

One that works across all your client tenants, starts from the ticket or form the client already uses, applies a per-client template, holds risky requests for approval and logs every change.

Check how it handles role changes and missing licences, because that is where most tools fall short.

How do MSPs automate user provisioning in Microsoft 365?

Through GDAP access to each client tenant, combined with either scripts (Microsoft Graph PowerShell or Azure Automation), Entra ID lifecycle workflows, a workflow platform, or a dedicated tool. The provisioning itself is a handful of Graph calls.

The work is in templates, approvals and keeping it consistent across clients.

How should a UK MSP handle new starters, role changes and leavers with Entra ID?

Treat them as one joiner-mover-leaver process with the same three controls: a per-client template, an approval rule for who may request what, and an audit log of every change.

Entra ID lifecycle workflows cover this natively if the client has Entra ID Governance licences and HR data in Entra. Otherwise, run it from the PSA ticket with a tool that applies the same controls.

Should onboarding and offboarding be automated with the same tool?

It helps. The same templates, approvers and audit trail apply to both, and the mover case sits in between.

Running joiners in one system and leavers in another is how access gets added in one place and never removed in the other.

What should never be automated in onboarding?

Admin and role-assignable group membership, and anything granting access to sensitive data at an unknown requester’s request. Keep those with a person.

Wrapping Up

Start with the template. Write down, per client, the naming convention, default licence, base groups and who is allowed to ask.

Once that exists, any of the approaches above becomes far easier, and the tool choice comes down to who you want maintaining it.

If you want to see a new starter go from a plain-English ticket to a working account, book a demo and we will run one in a test tenant.

#Microsoft 365#Onboarding#Automation

Rudy Mens

Co-founder & CTO, DaemonLayer

Rudy has spent 20+ years as an IT specialist and consultant, specializing in Microsoft 365 and IT automation. He founded LazyAdmin.nl and is a recognized Microsoft MVP (2022–2026). He co-founded DaemonLayer to turn the automations he'd been building for MSPs into a product every service desk could rely on.

Connect on LinkedIn →
← Back to Insights