A Safe Microsoft 365 Administration Exercise Using Microsoft 365
Learn group-based Microsoft 365 licence assignment safely: mental model, worked example, bounded exercise, validation and rollback for graduates.

In this lesson
Table of Contents
Table of contents
Before you begin
- Use an isolated or non-production validation environment.
- Confirm product version and permissions before applying any change.
- Familiarity with basic identity concepts: users, groups and directory objects.
Track this tutorial
Choose your current status and tick each safety check as you complete it. Sign in to sync progress between devices.
Current status
Before you apply the change
Confirm these production-safety controls during the tutorial.
Microsoft 365
This guide builds that mental model using one bounded, reversible workflow: assigning a licence to a test user through group membership rather than direct assignment, then validating and rolling it back. The exercise is deliberately small in scope so that every step produces observable evidence you can inspect, interpret and undo. You will need a non-production Microsoft 365 tenant or an isolated test environment, and administrative permissions confirmed before you begin.
#Learning Objectives
- Explain how Microsoft 365 licensing, group membership and service plans relate to one another.
- Identify the trust boundaries and dependencies involved in group-based licence assignment.
- Perform a bounded, reversible licence assignment exercise and interpret the resulting evidence.
- Diagnose common failure modes in licence assignment and apply a safe recovery path.
- Describe the permissions and escalation route required before repeating this workflow in production.
#Prerequisites
- Access to an isolated or non-production Microsoft 365 validation tenant.
- Confirmed administrative role (User Administrator or License Administrator) and confirmed tenant/licence SKU availability before applying any change.
- Familiarity with basic identity concepts: users, groups and directory objects.
- A willingness to record evidence at each step rather than assuming success.
#Content
#The mental model: identity, groups and licences
In Microsoft 365, a licence is not attached directly to a mailbox or a Teams account. It is attached to a user object in Microsoft Entra ID
Group-based licensing extends this model: instead of assigning a licence to each user individually, you assign it to a security group in Microsoft Entra ID. Every member of that group inherits the licence, and removing a user from the group removes the licence-driven service plans (subject to processing time and any licence dependencies). This indirection is powerful because it turns licence management into group membership management, but it also means the group becomes a trust boundary: anyone who can add a user to that group can effectively grant licensed services to them, whether or not they hold licensing permissions directly.

#Components, dependencies and trust boundaries
Microsoft Learn’s Microsoft 365 overview documentation describes the cloud productivity services and administrative foundations that enterprise environments build on, including the shared identity layer that underpins licensing, mail and collaboration services (Microsoft Learn, Microsoft 365 overview). Three components matter for this exercise:
- Microsoft Entra ID holds the user object, group membership and licence assignment state. This is the authoritative source of truth.
- The licensing service reads group membership and user attributes (such as usage location) to determine which service plans to provision or remove.
- Downstream services (Exchange Online, SharePoint, Teams) act on licence signals asynchronously; they are consumers, not the source of truth.
The trust boundary that matters most here is group ownership and membership management. If group membership management is delegated broadly, licence assignment (and the cost and access it implies) is effectively delegated too, even to people who were never granted licensing rights explicitly. Making this boundary visible before you touch production is a safety requirement, not an optional detail.
#Why each step should produce evidence
Every material step in this workflow should produce something you can inspect afterwards: a membership list, a licence state, a service plan status. Relying on “the portal didn’t show an error” as your only evidence is insufficient, because licence provisioning is asynchronous and partial failures (for example, one service plan failing while others succeed) do not always surface as visible errors immediately.
#Examples
#Worked example: group-based licence assignment and its evidence
Consider a test user, test.grad01@yourtenant.onmicrosoft.com, created specifically for this exercise in a non-production tenant. The administrator creates a security group named LIC-TestExchangeOnline, assigns a licence containing only the Exchange Online Plan 1 service plan to that group, and adds the test user as the sole member.
Input: group membership change (add test.grad01 to LIC-TestExchangeOnline), with a licence already assigned to the group.
Output to inspect: in the Microsoft 365 admin center, the user’s licence tab shows the licence as “inherited” from the group, with a processing state that may initially read “pending” before settling to “success” or listing a specific error against a service plan.
Interpretation: a “success” state confirms Entra ID has resolved group membership into a licence assignment and downstream provisioning has completed for the enabled service plan. A per-service-plan error (for example, a usage location conflict) tells you the licence itself was assigned but a specific service could not be provisioned — this is a partial, not total, failure, and it should be diagnosed rather than treated as a full rollback trigger. If the licence never leaves the “pending” processing state after a reasonable wait, that is separate evidence of a stalled provisioning job rather than a configuration error, and warrants a longer observation window before escalating.
#Exercises

#Exercise: assign, validate and remove a group-based licence
Objective: observe the full lifecycle of a group-based licence assignment, from grant to verified removal, using only a disposable test identity.
Setup: in your non-production tenant, confirm you hold User Administrator and License Administrator roles (or equivalent), confirm at least one unassigned licence SKU exists, and create a dedicated test user and test security group that are not used for anything else.
Steps and expected evidence:
- Assign the licence to the test group. Expected evidence: the group’s “Licenses” pane in Entra ID shows the SKU as assigned.
- Add the test user to the group. Expected evidence: the user’s licence pane shows the SKU with source “Inherited” and a processing status.
- Wait and re-check the processing status. Expected evidence: status changes from pending to success (or shows a specific service plan error).
Pass condition: the test user’s licence pane shows the assigned SKU as inherited with a resolved (non-pending) processing status, and any enabled service plan shows a corresponding provisioning state you can explain.
Stop condition: if the processing status remains pending after 30 minutes, or if an error appears that you cannot map to a documented cause (for example, a usage location error, which is expected and explainable, versus an unrecognised error code), stop and do not attempt further changes to the same user or group until you have recorded the exact error text.
Cleanup: remove the test user from the test group, confirm the licence pane shows the SKU no longer listed (or listed as pending removal), then delete the test group and test user once removal is confirmed. Do not leave disposable test identities active in the tenant.
#Validation Guidance
Validation in this workflow means confirming that the directory state (group membership, licence assignment) and the service state (provisioning status) agree with each other, not just that no error dialog appeared. Check the user’s licence pane after every membership change, and re-check after a delay, because provisioning is asynchronous. Where you have access to it, cross-reference the audit log entry for the group membership change against the licence processing timestamp; a large gap between the two is itself evidence worth investigating.
#Common Mistakes
The most frequent mistake is assuming an absence of an error message means success, when the licence may still be in a pending or partially-failed state. A second common mistake is assigning a licence directly to a user for “quick testing” and then forgetting that direct assignment and group-based assignment can coexist and conflict, making later removal harder to reason about. A third is deleting a test group before confirming licence removal has completed, which can leave orphaned service plan states that are harder to diagnose later.
#Key Takeaways
- Licences in Microsoft 365 are assigned to user objects in Microsoft Entra ID and can be inherited from group membership rather than assigned directly.
- Licence and service plan provisioning is asynchronous; absence of an immediate error is not evidence of completion.
- Group membership is a trust boundary for licensing: anyone who can manage the group can effectively grant licensed access.
- Every material step in this workflow should produce inspectable evidence — a membership list, a licence pane state, or an audit log entry — before you consider it complete.
- Bounded exercises using disposable test identities in a non-production tenant let you observe real provisioning behaviour without production risk.
#Production Bridge
In production, group-based licensing should be delegated deliberately: decide who may manage membership of licensing groups, and treat that delegation with the same scrutiny as licence-assignment rights, because the two are functionally equivalent. Before repeating this workflow against real users, confirm the scope of the change (which group, which licence SKU, how many affected users), gather evidence of current state (existing membership and licence assignments) before changing anything, and identify who to escalate to — typically a senior Microsoft 365 or identity administrator — if provisioning stalls or a service plan error does not match a known, documented cause. Always retain a rollback path: know how to remove the group membership and confirm licence withdrawal before you add anyone to a production licensing group.
Related articles
Microsoft 365 Administration
Microsoft 365 Administration Fundamentals: A Bounded First Workflow
Learn Microsoft 365 tenant, identity and licensing fundamentals through a bounded, evidence-led exercise with safe validation and rollback steps.
Microsoft 365 Administration
Practising Microsoft 365 Administration Safely with Microsoft 365
Master safe Microsoft 365 administration. Learn first principles, dependencies, and practical steps for licence management, validation, and recovery in a controlled
DevOps & Automation
Building a Bounded GitHub Actions Deployment Pipeline Without Guesswork
A scoped walkthrough of a bounded GitHub Actions build-test-deploy workflow, covering environment protection gates, least-privilege secret scoping, validation checks and a safe rollback path.
Enterprise IT Management
Operating Enterprise IT Management Reliably with Microsoft 365
A bounded, evidence-led walkthrough of provisioning and safely recovering a Microsoft 365 identity-and-licensing workflow, covering architecture, validation delays, failure modes and rollback for platform engineers.
Discover more
Graduate Learning
Ops Playbook
Lexicon Definitions
Learn More About KBY
About KBY
Learn about our mission, editorial standards, and commitment to trusted engineering knowledge.
Why Trust KBY
Explore the processes and policies that ensure our publications are accurate, useful, and responsible.
Newsletter
Get our latest editorial publications, research and practical insights sent directly to your inbox.
Was this useful?
Build practical engineering skills.
Receive new lessons, learning paths, practical exercises and early-career guidance.
Comments
Add a thoughtful note on A Safe Microsoft 365 Administration Exercise Using Microsoft 365. Comments are checked for spam and held for moderation before appearing.