Skip to content
Visual explainer 4h to learn 5 steps

Capstone: design identity for a fictional company

Map personas to groups, roles, licences, devices and emergency recovery in a role-and-access matrix.

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

Topic 29 of 31

In short

The capstone starts on paper: you design identity and Microsoft 365 access for a fictional 40-person company, Contoso Studio. You turn job roles into personas, personas into groups, and groups into roles, licences, apps, devices and policies, and you plan how to get back in if every admin is locked out. The output is a role-and-access matrix, a tenant and service map and written licence assumptions that the pilot and incident milestones will test.

Think of it like this: It is the architect's drawing before the builders arrive: every door, key and fire exit is on paper first, because moving a wall later costs far more.

Explained simply

In this capstone you run IT for a made-up company called Contoso Studio. It has 40 people: designers, a finance team, a small help desk, one IT admin and an outside contractor. Your first job is to decide who should get what, before you create a single account.

Start with personas. A persona is a typical role, such as Designer or Finance staff. For each one you list the groups they join, the licence they need, the apps and sites they use, the device they work on and any admin role they hold. Put this in a table called the role-and-access matrix.

Next, draw a tenant and service map. It shows the tenant name, the custom domain contoso.example, and which admin centre controls what: Entra for identities and Conditional Access, Exchange for mail, Teams and SharePoint for collaboration, Intune for devices.

Then write your licence assumptions. Many small companies choose Microsoft 365 Business Premium, which includes Entra ID P1 and Intune. Some features, such as Privileged Identity Management, need Entra ID P2 or Entra ID Governance on top. Writing this down stops you designing around features you do not own.

Finally, plan for the worst day: every admin is locked out. Two emergency access accounts, kept safe and watched closely, are your way back in. If you have no tenant, you can do the whole design with mock data files and still finish the capstone.

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

FlowFrom people to policies
  1. 1
    Personas

    Staff, finance, help desk, IT admin, contractor guest

  2. 2
    Groups

    One security group per persona, dynamic where data is clean

  3. 3
    Licences and apps

    Group-based licensing and app assignment

  4. 4
    Roles

    Narrow admin roles, eligible through PIM where licensed

  5. 5
    Devices and policies

    Intune compliance and Conditional Access

  6. 6
    Recovery

    Two emergency access accounts, tested

CompareThree Contoso personas side by side
Designer
  • Group: Staff-Design (dynamic)
  • Business Premium; Design Team and site
  • Company Windows laptop, compliant
  • No admin role
Help desk
  • Group: IT-Helpdesk (assigned)
  • Business Premium; IT Team
  • Compliant laptop required for admin portals
  • Eligible: Helpdesk Administrator
Contractor guest
  • Group: Guests-Design (assigned)
  • No licence; one site only
  • Own device, browser only
  • No role; review every 90 days

In depth

Building the role-and-access matrix

Rows are personas; columns are the things access is made of. A good set of columns is: security group, membership type (assigned or dynamic), licence, Teams and sites, enterprise apps, device type and compliance policy, Conditional Access policies that apply, admin role and how it is activated, owner who approves, and review date.

Keep the rule one persona, one primary group. Licences, apps, Teams and policies are then assigned to that group, so a joiner needs one membership change and a mover needs a swap. Dynamic groups help when HR data such as department is reliable, for example user.department -eq "Finance"; dynamic membership needs Entra ID P1. Guests sit in their own group that is never used for broad access.

  • One persona, one primary group
  • Everything else hangs off the group
  • Owner and review date on every row
  • Guests in a separate, narrow group

Tenant and service map

The service map answers where is that setting and who may change it. Draw the tenant at the top with its initial domain (contoso.onmicrosoft.com) and custom domain. Underneath, list each admin centre, the settings you will use there, and the narrow role that manages them.

The map also records boundaries. Azure subscriptions, if any, use Azure RBAC, not Entra directory roles. Exchange, Teams and SharePoint have their own workload admin roles. Intune settings are managed by the Intune Administrator. When the incident milestone asks who can fix a problem, the map gives the answer.

MapContoso Studio service map
Tenant contoso.onmicrosoft.com + contoso.example
  • Entra admin center
    • Users, groups, guests
    • Conditional Access
    • Auth methods
    • Roles: User Admin, CA Admin
  • Microsoft 365 admin center
    • Licences, billing
    • Service health
    • Domains
  • Exchange admin center
    • Mailboxes, shared mailboxes
    • Role: Exchange Admin
  • Teams and SharePoint admin centers
    • Teams policies, guest access
    • Sharing limits, site owners
  • Intune admin center
    • Enrolment, compliance
    • Configuration, apps
    • Role: Intune Admin

Licence assumptions to write down

State the plan and what it gives you, and check it against Microsoft's current service descriptions before relying on it. A typical small-business assumption: Microsoft 365 Business Premium for all staff, which includes Exchange Online, SharePoint, OneDrive, Entra ID P1 (Conditional Access, dynamic groups), Intune and Defender for Business, for organisations up to 300 users. In some regions Teams is sold separately, so confirm how Teams is licensed for you.

List the gaps too. PIM and access reviews need Entra ID P2 or Entra ID Governance. Copilot needs its own add-on. Guests are billed through Entra External ID's monthly active user model once linked to a subscription; a small number of guests is usually covered at no charge, but check current terms. If you are on a trial, note its end date.

  • Plan name, user cap, included features
  • Gaps: P2, Copilot, extra add-ons
  • Teams licensing by region
  • Trial end date, if any

Emergency recovery plan

Create two cloud-only accounts on the onmicrosoft.com domain with the Global Administrator role permanently assigned. Give each a phishing-resistant method, such as a FIDO2 security key or passkey stored in separate safes, because mandatory MFA now applies to admin portals for these accounts too. Exclude them from Conditional Access policies that could lock everyone out, but not from monitoring.

Set an alert on any sign-in by these accounts, for example a Log Analytics alert or a scheduled review of sign-in logs. Test sign-in every quarter and record it. Write down who may use them, when, and what to do afterwards: rotate credentials, review what was changed and explain why the accounts were used.

  • Two accounts, cloud-only, onmicrosoft.com
  • Phishing-resistant MFA, keys stored apart
  • Excluded from CA, included in alerts
  • Quarterly test, written procedure

The tenant-free version

If you cannot get a tenant or licences, you can still complete every deliverable. Write the matrix and map as tables. Create mock Graph data: JSON files shaped like real responses, with a value array of users, groups and memberships using fake names at contoso.example. Write synthetic sign-in records that copy the shape of the signIns resource: userPrincipalName, appDisplayName, status.errorCode, conditionalAccessStatus and deviceDetail.isCompliant.

Your scripts then read these files instead of calling Graph, so the planning, evidence and analysis skills are the same. Mark every output as synthetic. If you later qualify for a Microsoft 365 developer sandbox or start a trial, you can rerun the same scripts against the real API.

  • Mock users.json and groups.json in Graph shape
  • Synthetic signins.json with error codes
  • Same scripts, file input instead of API
  • Label all evidence as synthetic

Learn it in 5 short steps

About 50m each. Track them with a timer in your plan.

  1. 1
    Define personas~50m
  2. 2
    Build the role-and-access matrix~50m
  3. 3
    Choose licences~50m
  4. 4
    Plan devices and policies~50m
  5. 5
    Plan emergency recovery~50m

Key points

  • Design from personas, not from individuals: access follows the group, people move between groups.
  • Every row of the matrix needs a reason, an owner and a review date.
  • Write licence assumptions down; Conditional Access needs Entra ID P1, PIM needs P2 or Entra ID Governance.
  • Plan two cloud-only emergency access accounts with phishing-resistant sign-in, excluded from Conditional Access and monitored.
  • Plan a tenant-free version: the same matrix and service map with mock Graph data and synthetic logs.

Key terms

Tap a card to flip it. 0/5 known

Examples

Two rows of the role-and-access matrix

Finance staff: group Staff-Finance, dynamic on department Finance; Business Premium via group; Finance Team, Finance site, accounting SaaS app via SSO; company laptop with Intune compliance policy; CA01 require MFA, CA02 require compliant device; no admin role; owner Finance lead; review every 6 months. IT admin: group IT-Admins, assigned; same licence; separate cloud-only admin account adm.lee@contoso.example with no mailbox; roles User Administrator, Groups Administrator, Intune Administrator, Conditional Access Administrator, eligible not permanent where P2 exists; phishing-resistant MFA; owner Managing director; review every 3 months.

Mock Graph data for the tenant-free version

A minimal users.json in the same shape Graph returns. Scripts read it with ConvertFrom-Json and treat it as the tenant. Add groups.json and memberships the same way.

json
{
  "value": [
    { "id": "11111111-0000-0000-0000-000000000001", "displayName": "Ada Test",
      "userPrincipalName": "ada.test@contoso.example", "department": "Design",
      "employeeId": "E1001", "userType": "Member", "accountEnabled": true },
    { "id": "11111111-0000-0000-0000-000000000002", "displayName": "Ben Test",
      "userPrincipalName": "ben.test@contoso.example", "department": "Finance",
      "employeeId": "E1002", "userType": "Member", "accountEnabled": true },
    { "id": "11111111-0000-0000-0000-000000000003", "displayName": "Dana (Fabrikam)",
      "userPrincipalName": "dana_fabrikam.example#EXT#@contoso.onmicrosoft.com",
      "userType": "Guest", "accountEnabled": true }
  ]
}

Quick reference

  • Deliverables: matrix, service map, licence assumptions, recovery plan, JML checklist.
  • One persona, one primary group; licences, apps and policies hang off the group.
  • Dynamic groups and Conditional Access need Entra ID P1. PIM needs P2 or Entra ID Governance.
  • Business Premium covers up to 300 users and includes Entra ID P1 and Intune.
  • Emergency accounts: two, cloud-only, onmicrosoft.com, phishing-resistant MFA, alerted.
  • Admins use a separate admin account with no mailbox for privileged work.
  • Tenant-free: users.json, groups.json, signins.json in Graph shape, marked synthetic.

Common mistakes

  • Designing around named people, so the matrix breaks the first time someone changes job.
  • Assuming features from a plan you have not checked, for example PIM on Business Premium.
  • Forgetting the guest and the help desk, the two personas most likely to get too much access.

Quick quiz

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

Question 1

1Why design access per persona rather than per person?

Question 2

2Contoso uses Business Premium only. Which feature should the design NOT assume?

Question 3

3Which is correct for emergency access accounts?

Question 4

4In the tenant-free version, what replaces live Graph calls?

0/4 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 persona list for Contoso Studio with one sentence on what each needs.

  2. Exercise 2medium

    Write the licence assumptions section for Contoso, including at least two gaps and how the design handles them.

  3. Exercise 3hard

    Write a reversible Conditional Access rollout plan for requiring compliant devices for Finance staff.

Check yourself

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

Feel confident about this topic?

Frequently asked questions

Do I need a paid tenant to do this capstone?
No. The design milestone is all paper, and the later milestones have a tenant-free version using mock Graph data and synthetic logs. A trial or a developer sandbox, if you qualify, lets you try it for real.
Why do admins need a separate account?
So the account that reads mail and browses the web never holds admin roles. Phishing a normal account then does not hand over the tenant.
Should I use dynamic groups everywhere?
Only where the source data, such as department, is reliable. Bad HR data makes dynamic groups add or remove people by mistake.
Is this capstone aligned with a certification?
It overlaps with SC-300 (Identity and Access Administrator) and MD-102 (Endpoint Administrator), which are optional follow-ons. Check their current status and study guides on learn.microsoft.com/credentials before you book.

Go deeper

ShareXLinkedInWhatsApp