Skip to content
Visual explainer 6h to learn 5 steps

Capstone: pilot onboarding with test employees

Provision test employees and a guest, give them collaboration resources, review pilot sign-ins and run one scoped automation.

By Invicly Tech, , in Microsoft Entra & Microsoft 365 Administration. About 11 minutes to read.

Topic 30 of 31

In short

The pilot turns the design into a small, real setup: three test employees and one guest get accounts, groups, licences, a Team and a SharePoint site, and sign in for the first time. You then read the pilot sign-ins, run one tightly scoped automation and save evidence for every step, so you can show the onboarding works before anyone real depends on it.

Think of it like this: It is a dress rehearsal: the cast, the props and the lights are real, but the audience is three friends, so mistakes are cheap.

Explained simply

Now you build a small piece of the design for real. Create three test employees, for example ada.test, ben.test and cara.test at contoso.example, and invite one guest, dana from fabrikam.example. Use a lab or trial tenant. Never use real staff accounts for testing.

Add each test user to their persona group. Because licences, the Team and the SharePoint site are assigned to the group, the user gets everything in one step. Give the guest access to one site only. Wait a little: mailboxes and OneDrive can take some time to appear after a licence is assigned.

Each test user signs in for the first time, ideally with a Temporary Access Pass, and registers a strong method such as a passkey or the Authenticator app. Then they open Teams, Outlook and their site. You check the sign-in logs to see that MFA happened and that the expected Conditional Access policies applied.

Run one small automation, such as a script that compares the Design group's members with the HR list and prints differences. Run it with -WhatIf first, save the plan, then apply it. Keep it narrow: one group, least scopes, reversible.

Record evidence for every step: what you did, when, to which object, and what you saw. If you have no tenant, do the same with mock JSON users and a synthetic sign-in log; the thinking is identical.

Press Play on a diagram to walk through it one step at a time.

SequenceA test employee's first day
Admin
Entra ID
Microsoft 365
Test user
  1. 1Create ada.test and add to Staff-Design group
    Admin to Entra ID: Create ada.test and add to Staff-Design group
  2. 2Group-based licence assigned; mailbox and OneDrive provisioned
    Entra ID to Microsoft 365: Group-based licence assigned; mailbox and OneDrive provisioned
  3. 3Add Staff-Design to the Design Team and site
    Admin to Microsoft 365: Add Staff-Design to the Design Team and site
  4. 4First sign-in with Temporary Access Pass
    Test user to Entra ID: First sign-in with Temporary Access Pass
  5. 5Register passkey or Authenticator, then MFA
    Entra ID to Test user: Register passkey or Authenticator, then MFA
  6. 6Opens Teams, mail and the Design site
    Test user to Microsoft 365: Opens Teams, mail and the Design site
  7. 7Review sign-in log and save evidence
    Admin to Entra ID: Review sign-in log and save evidence
CyclePilot loop
  1. 1
    Provision

    Test users and guest

  2. 2
    Use

    Sign in, open Teams, mail and site

  3. 3
    Observe

    Sign-in and audit logs

  4. 4
    Adjust

    Fix group, policy or setting

  5. 5
    Record

    Evidence with time and object ID

  6. Back to step 1

In depth

Prerequisites and pilot setup

You need: a lab or trial tenant with your custom test domain or the onmicrosoft.com domain; licences for three users (for example a Business Premium trial); a separate admin account with User Administrator, Groups Administrator and Teams Administrator roles; Graph PowerShell installed; and the design matrix from milestone one.

Create the persona groups first, then assign the licence to each group, for example from Billing, Licenses in the Microsoft 365 admin center (the menu location moves occasionally, so check the current group-based licensing docs). Create the Design Team, which also creates a Microsoft 365 group and a SharePoint site, and add the Staff-Design security group's users as members. For the guest, invite dana@fabrikam.example from Entra ID, Users, Invite external user, and add them to Guests-Design, which has access to one site only. Check the Teams and SharePoint guest settings allow this before inviting.

  • Lab tenant, trial licences, separate admin
  • Groups and group licences before users
  • Team creates a Microsoft 365 group and site
  • Guest gets one site, nothing else

What a successful onboarding looks like

Check each service separately, because they provision independently. Entra ID: the user exists, is in the right group, has the licence through the group (not direct) and has registered a strong method. Exchange Online: a mailbox exists and can send to another test user. Teams: the user sees the Design Team and can post. SharePoint and OneDrive: the user opens the Design site and their OneDrive loads. Intune: if the user has a test device, it enrols and reports compliant.

For the guest, success is narrower: they redeem the invitation, open the one shared site and cannot see other sites or the Team list. Write each check as pass or fail with a timestamp.

LayersOnboarding checks, one per service
  1. 1
    Entra ID

    Group, inherited licence, strong method

  2. 2
    Exchange Online

    Mailbox exists, test mail delivered

  3. 3
    Teams

    Team visible, post works

  4. 4
    SharePoint and OneDrive

    Site opens, OneDrive provisioned

  5. 5
    Intune

    Device enrolled and compliant

Reviewing pilot sign-ins

Open Entra admin center, Monitoring and health, Sign-in logs and filter by user and the last 24 hours. For each sign-in check: status, the application, the Authentication details tab (which method satisfied MFA) and the Conditional Access tab (which policies applied and their result). Report-only policies show what would have happened, which is useful for the reversible rollout.

Export the filtered entries as JSON or CSV for your evidence folder, or read them with Get-MgAuditLogSignIn, which needs AuditLog.Read.All and Entra ID P1 or P2 in the tenant. Free tenants keep sign-in logs for 7 days and P1 or P2 tenants for 30 days, so export evidence promptly. Remove personal details you do not need before sharing.

  • Filter: user, time, application
  • Check Authentication details and Conditional Access tabs
  • Report-only results show future impact
  • Export promptly; retention is short

One scoped automation

Pick one task that is useful and low risk, for example syncing the Staff-Design group with an HR CSV. Scope it tightly: one group ID, scopes GroupMember.ReadWrite.All and User.Read.All, and a dry-run mode. Run with -WhatIf and save the output as the plan. After approval, run for real and save the rollback inventory.

The evidence is: the plan, the approval note, the inventory and a Graph read showing the final membership. Then run it again and show it makes no changes. That second run proves idempotency, which is the main lesson of the automation module.

  • One group, least scopes
  • Plan, approve, apply, inventory
  • Second run shows no changes

Cleanup and the tenant-free version

At the end of the pilot, either keep the test users for the incident milestone or clean up: remove licences by removing group membership, delete test users (they stay soft-deleted for 30 days), remove the guest and delete test Teams. If you started a trial, note when it ends and remove any payment method you do not want charged.

Without a tenant, the pilot becomes a simulation. Provision means adding objects to users.json and memberships.json with a script. Sign-ins come from a synthetic signins.json with a mix of success and failure. Your evidence is the script output and your analysis, clearly labelled synthetic.

  • Keep or delete test users deliberately
  • Remove the guest and test Teams
  • Watch trial end dates
  • Simulation: same steps on JSON files

Learn it in 5 short steps

About 1h 10m each. Track them with a timer in your plan.

  1. 1
    Provision test users and a guest~1h 10m
  2. 2
    Assign groups, licences and sites~1h 10m
  3. 3
    Review pilot sign-ins~1h 10m
  4. 4
    Run one scoped automation~1h 10m
  5. 5
    Record evidence~1h 10m

Key points

  • Use obviously fake test users (ada.test, ben.test) in a lab or trial tenant, never real staff accounts.
  • Assign licences and resources through groups so the pilot proves the design, not one-off clicks.
  • Evidence is a screenshot or export with a time, an object ID and the expected result.
  • The one automation must be scoped: a single group, read-only or reversible, with -WhatIf output saved.
  • Tenant-free version: provision mock users in JSON and analyse synthetic sign-in records instead.

Key terms

Tap a card to flip it. 0/5 known

Examples

Summarise synthetic pilot sign-ins

Works with an exported or synthetic signins.json in Graph shape. It groups results per user so you can see at a glance who succeeded, who needed MFA and which policies failed. Expected evidence: a small table per user.

powershell
$log = (Get-Content .\signins.json | ConvertFrom-Json).value
$log | ForEach-Object {
  [pscustomobject]@{
    User   = $_.userPrincipalName
    Time   = $_.createdDateTime
    App    = $_.appDisplayName
    Error  = $_.status.errorCode
    CA     = $_.conditionalAccessStatus
    Failed = ($_.appliedConditionalAccessPolicies |
              Where-Object result -eq 'failure').displayName -join '; '
  }
} | Sort-Object User, Time | Format-Table -AutoSize

Evidence log for the pilot

One row per step keeps the pilot auditable. Example rows: 2026-11-24 09:02, adm.lee, created ada.test (object 1111...0001), expected user exists, result pass. 09:05, added ada.test to Staff-Design, expected inherited licence, result pass after 6 minutes. 09:40, ada.test first sign-in with Temporary Access Pass, expected passkey registered, result pass. 10:15, dana invited as guest, expected only Design site visible, result fail: guest saw the Team list; fixed by removing Guests-Design from the Team, retested pass. Failures and fixes are the most valuable rows.

Quick reference

  • Test users: ada.test, ben.test, cara.test at contoso.example; guest dana at fabrikam.example.
  • Assign licences to groups; check the user's licence shows as inherited.
  • Mailbox and OneDrive can take time to provision after licensing.
  • Sign-in logs: Entra admin center, Monitoring and health, Sign-in logs.
  • Get-MgAuditLogSignIn needs AuditLog.Read.All and Entra ID P1 or P2.
  • Sign-in log retention: 7 days Free, 30 days P1 or P2. Export evidence early.
  • Automation proof: plan, approval, inventory, and a second run with no changes.

Common mistakes

  • Testing only with an admin account, which bypasses the policies normal users will meet.
  • Forgetting that licence provisioning can take time, then debugging a mailbox that is simply not ready.
  • Adding the guest to an Everyone-style group, so they see more than the one shared site.

Quick quiz

Pick an answer to see if you're right and why.

Question 1

1A new test user has no mailbox ten minutes after being licensed. What is the most likely reason?

Question 2

2Which sign-in log tab shows which policy blocked or allowed access?

Question 3

3What proves the pilot automation is idempotent?

Question 4

4The guest can see the whole Team list. What is the best fix?

Question 5

5Why should evidence exports happen soon after the pilot?

0/5 answered

Practice exercises

Try each one yourself first. Use the hint if you get stuck, then compare with the solution.

  1. Exercise 1easy

    Write the pass or fail checklist for one test employee across Entra ID, Exchange Online, Teams, SharePoint and OneDrive, and Intune.

  2. Exercise 2medium

    Create a synthetic signins.json with three entries: a success with MFA, a failure with error 500121 and a report-only failure for a compliant-device policy.

  3. Exercise 3hard

    Write a scoped automation that adds missing HR-listed users to Staff-Design, with a dry run, and say what evidence you save.

Check yourself

Answer in your head, reveal, then be honest with yourself.

Feel confident about this topic?

Frequently asked questions

How do I get a tenant for the pilot?
Use a Microsoft 365 trial or, if you qualify, a Microsoft 365 developer sandbox. If neither is possible, run the tenant-free simulation with mock data.
Should the guest get a licence?
Usually not. Guests use the host's services without a licence for basic collaboration; check current External ID billing if you add many guests or premium features.
What is a Temporary Access Pass?
A time-limited passcode an admin issues so a new user can sign in once and register a strong method such as a passkey. It must be enabled in the authentication methods policy first.

Go deeper

ShareXLinkedInWhatsApp