A Bounded Microsoft Intune Device Configuration Exercise
Learn Microsoft Intune endpoint management by safely assigning, validating and recovering one reversible device configuration in an isolated lab.

In this lesson
Table of Contents
Table of contents
Before you begin
- Use an isolated or explicitly approved non-production environment.
- Prepare one synthetic identity, one test-only group and one non-production endpoint.
- Confirm current product behaviour, licensing, platform support and permissions.
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.
Endpoint management is a feedback-controlled system rather than a collection of portal switches. An administrator declares an intended state, a management service evaluates assignment and applicability, an enrolled endpoint checks in, and evidence reports what happened. Each stage can succeed while a later stage fails. A saved profile therefore proves only that an administrative object exists; it does not prove that the intended device received or enforced it.
This guide develops that mental model through one bounded laboratory exercise: apply a reversible, low-impact device configuration to one synthetic test group containing one test device. Microsoft Intune interface names, supported settings, permissions, licensing and reporting behaviour can change. Confirm them against current Microsoft Intune documentation and your tenant on the day of the exercise. The sole supplied source supports only broad Microsoft 365
#1. Learning Objectives
By the end of the exercise, you should be able to:
- separate desired state, assignment, delivery, enforcement and reporting;
- identify identities, dependencies, data flow and trust boundaries in an Intune workflow;
- design a narrow assignment with explicit pass, stop and cleanup conditions;
- collect portal-side and device-side evidence without exposing credentials or production data;
- diagnose common failures without widening scope merely to make a test pass; and
- remove the test configuration and verify recovery before considering production transfer.
#2. Prerequisites
Use an isolated tenant or an explicitly approved non-production partition. Prepare one synthetic user if user affinity is relevant, one dedicated test device, and one test-only assignment group. The device must contain no production data and must not provide a critical service. Record the device identifier, group identifier, operator, change window and intended cleanup time in a lab change record.
Confirm the current Intune documentation for the chosen platform and setting. Select a benign, visibly testable and reversible setting supported by that platform. A suitable candidate changes only presentation or another non-security-critical preference. Do not alter authentication, encryption, firewall, update, compliance, conditional-access or remote-action controls in this exercise. Confirm that the test licence, enrolment state and management authority are appropriate. Obtain only the least-privileged role needed to create and assign the selected profile and read its status; do not use a broad tenant administrator role merely for convenience.
Before proceeding, capture a baseline from the endpoint: its current setting, local time, management identity and last known check-in shown by approved interfaces. Preserve screenshots or exported reports in the approved evidence location, redacting tenant names, user identifiers and device serial numbers where they are unnecessary. Stop before creation if the device is production-owned, the group has unexpected members, the setting lacks a documented reversal, the required permissions are unclear, or another active profile already controls the same setting.
#3. Content
#3.1 The control-loop mental model
Desired state is the value declared in a configuration object. Assignment defines which identities are candidates to receive it. Applicability determines whether the setting is relevant to a particular platform and context. Delivery occurs when the endpoint communicates with the service and receives policy. Enforcement is the endpoint applying that policy. Reporting is evidence returned to the service. These are related states, not synonyms.
A useful causal chain is: an authorised operator creates a profile; the service stores it; assignment resolution considers group membership and exclusions; the enrolled device authenticates to the service; the service offers applicable policy; the device processes it; and status eventually returns. Reporting can lag behind device behaviour, so evidence should include timestamps and both perspectives. Conversely, a favourable portal status may not show that the intended user-facing effect is present now.
The principal trust boundaries are the operator-to-administration-service session, directory group resolution, cloud-service-to-device communication, and the boundary between the management agent and the local operating system. Compromise or misconfiguration at any boundary can affect confidentiality, integrity or availability. Use multifactor authentication where required by organisational policy, a dedicated administrative identity, least privilege and approved audit logging. Residual risks remain: assignment mistakes can affect unintended devices, reporting can be delayed, and a locally enforced setting may persist after assignment removal until the device checks in or receives an explicit replacement.
#3.2 Scope is a safety control
The smallest meaningful unit for this exercise is one profile, one test-only group and one known device. A direct all-users or all-devices assignment is outside scope. Before assigning anything, inspect group membership independently and record the expected count and identifiers. If dynamic membership is used, its evaluation introduces another dependency and timing variable; a static test group is easier to reason about. Exclusions can protect a boundary, but they should not compensate for an excessively broad inclusion.
| Stage | Question | Acceptable evidence | Failure meaning |
|---|---|---|---|
| Baseline | What is true before change? | Timestamped local observation and device identity | No reliable before-and-after comparison |
| Object | Was the intended profile saved? | Profile identifier, setting and audit entry | Administrative creation failed or differs from plan |
| Assignment | Is only the test target eligible? | Recorded group membership and assignment view | Scope is unsafe or target is absent |
| Device | Was the setting enforced? | Local state with matching device and timestamp | Delivery, applicability, conflict or enforcement failed |
| Report | Did status return? | Per-device status and last-update time | Reporting may be pending or processing failed |
| Cleanup | Was intended state withdrawn? | Assignment removal plus restored or explicitly managed state | Residual configuration may remain |

#3.3 Choosing the setting
Choose the setting only after reading its current platform documentation. “Not configured” does not universally mean “restore the previous local value”; it may mean that Intune stops asserting a value while the operating system retains the last applied state. That distinction determines the recovery design. Prefer a setting for which you can document either automatic reversion after withdrawal or a safe replacement profile that restores the captured baseline. If neither path is verified, choose a different setting.
Create a profile with a name that exposes purpose and expiry, such as LAB-BoundedPreference-Retire-2026-08-27. Add a description containing the owner, change-record reference, device identifier and cleanup deadline. Configure exactly one material setting. Before assignment, ask a second authorised reviewer to compare the selected platform, setting and target against the written plan. This separation reduces the chance that the same mistaken assumption controls both execution and approval.
#4. Examples
#4.1 Worked example: interpreting mixed evidence
Suppose the baseline records a benign display preference as value A at 10:00. The lab profile declares value B and is assigned to a static group containing exactly device LAB-01. At 10:12, the device shows value B. At 10:13, the portal still shows a pending state with its last status update at 09:55.
The factual observations are that the local state changed from A to B, the target identity matches, and the displayed service report predates the test. A reasonable inference is that enforcement occurred but reporting has not yet caught up. It is not evidence that reporting is broken, nor does it justify editing the profile. Preserve both timestamps, wait within the pre-agreed observation window, and use only the currently documented, approved synchronisation mechanism if needed.
If the device still shows A while the service reports success after the observation window, treat the evidence as contradictory. Confirm that the local observation concerns the same device, user context and setting. Then inspect applicability, profile conflicts and local processing evidence. Do not broaden assignment or create duplicate profiles. Contradiction is a stop condition, not permission to generate more change.
#4.2 Worked example: assignment uncertainty
The proposed group initially appears to contain one device, but an independent membership check shows two. The pass condition has already failed even though no policy has been assigned. Remove the unexpected member only if group ownership and approval permit it; otherwise create a new test-only group through the approved process. The important result is containment, not speed. Evidence of a prevented unsafe change is a successful control outcome.
#5. Exercises

#5.1 Objective and setup
Your objective is to demonstrate the complete control loop and cleanup for one reversible preference. Use the lab profile, static group and endpoint described above. The exercise changes cloud-managed state and may alter the endpoint, so it requires an approved lab window and a named recovery owner. No shell command is required; use current documented administrative and device interfaces.
- Define the hypothesis. Write: “If profile P is assigned only to group G, device D will change from baseline A to intended value B, report its processing state, and return to the approved recovery state after withdrawal.” This makes success falsifiable.
- Verify the boundary. Recheck that G contains only D and that no inclusion targets all users or devices. Capture the membership evidence. Stop if the count or identity differs from the plan.
- Create without assigning. Create P with one verified low-impact setting. Record its identifier and compare its saved configuration with the plan. Creation is not deployment; no device effect should yet be attributed to it.
- Peer-check and assign. Have an authorised reviewer confirm platform, setting, group and exclusions. Assign P only to G. Record the assignment and audit evidence. Stop immediately if the interface shows any broader scope.
- Observe rather than churn. Allow the documented processing period and approved observation window. Record check-in and report timestamps. Avoid repeated edits because each edit changes the experiment and complicates attribution.
- Validate both planes. Confirm B locally on D and inspect per-device status. A pass requires correct target, correct local value, credible timestamps and no unexpected recipient. A portal status alone is insufficient.
- Clean up. Remove the test assignment through the approved interface. Apply the documented recovery method for the chosen setting: verified automatic reversion or an explicitly approved baseline-restoration profile.
- Verify recovery. Confirm that P no longer targets D, the local state equals the approved recovery state, and the latest evidence contains no unintended device. Retain the change record according to policy, then delete disposable lab objects only after dependencies and retention requirements have been checked.
Pass condition: one expected device alone receives and enforces the setting; evidence is attributable and timestamped; cleanup removes the assignment; and the endpoint reaches the approved recovery state. Stop conditions: unexpected membership, unknown permission, unsupported setting, contradictory identity, impact on authentication or security controls, missing rollback evidence, unexpected recipient, or an endpoint that cannot check in. Cleanup condition: do not close the exercise while the assignment remains active or local recovery is unverified.
#6. Validation Guidance
Validation should test the causal chain, not merely search for a green symbol. First verify identity: profile, group and device identifiers must match the plan. Next verify time: evidence should post-date assignment and the relevant check-in. Then verify scope: inspect per-device results for unexpected recipients. Finally compare declared state with local state. Label each record as an observation; label explanations such as “reporting delay” as inferences until corroborated.
If results are pending, preserve the unchanged configuration and compare timestamps. If they are not applicable, re-check platform, edition, user-versus-device context and setting support. If they show conflict, identify every authority managing the same setting before correcting anything. If they show error, capture the error text or code exactly and consult current primary documentation. Stop when diagnosis would require broader privileges, access to personal data, security-control changes or production impact; escalate with the timeline, identifiers, baseline, expected result, observed result and actions already taken.
#6.1 Recovery reasoning
Rollback begins with containment: remove the assignment from the test group rather than deleting evidence immediately. Confirm that no other assignment path still targets the device. Prompt or await policy processing only through an approved, currently documented mechanism. Verify the local recovery state independently. If withdrawal does not reverse the value, use the pre-approved baseline-restoration method; do not improvise registry, preference-file or remote-reset changes. If recovery remains incomplete, leave the device isolated, preserve logs and escalate to the platform owner.
#6.2 Production bridge
A laboratory pass demonstrates that the workflow behaved under stated assumptions; it does not prove fleet-wide suitability. Production transfer requires current platform documentation, change approval, licence and role review, privacy assessment, representative device rings, conflict analysis, support readiness and an owner for monitoring. Start with a small pilot and define a halt threshold before expansion. Separate profile authoring, assignment approval and monitoring where organisational scale allows.
Production evidence should include assignment inventory, audit events, per-device outcomes, user-impact reports and recovery results. Avoid collecting more personal data than diagnosis requires. Service reporting is operational evidence, not an infallible source of truth. Maintain a residual-risk statement covering offline devices, delayed group evaluation, reporting latency, unsupported operating-system variants and settings that persist after withdrawal.
#7. Common Mistakes
- Equating saved with applied. A saved profile proves object creation only. Require assignment, device and reporting evidence.
- Using a broad group to overcome a targeting problem. This converts uncertainty into exposure. Diagnose membership and assignment resolution instead.
- Changing several settings at once. Multiple variables obscure causality and complicate rollback. Keep the exercise to one material setting.
- Assuming removal restores the baseline. Persistence semantics differ by setting and platform. Verify recovery behaviour before deployment.
- Ignoring timestamps. A success record from before assignment does not validate the current test. Correlate all evidence chronologically.
- Using excessive privilege. Broad roles increase the impact of error and account compromise. Request the narrowest role and duration supported by current controls.
#8. Key Takeaways
- Endpoint management is a control loop with independently fallible stages.
- One profile, one test group and one device create a diagnosable safety boundary.
- Observable success requires both local and service-side evidence tied to identity and time.
- Assignment removal is containment, not proof that local state has recovered.
- Contradictory or unexpectedly broad results require stopping, preserving evidence and escalating.
Before any production decision, verify current Microsoft Intune documentation, permissions and setting persistence; rehearse recovery on the pilot device; confirm monitoring ownership; and expand scope only when assignment, enforcement, reporting and rollback evidence all satisfy the approved change criteria.
Related articles
Endpoint and Device Management
Endpoint and Device Management in Practice with Microsoft Intune
Learn Microsoft Intune endpoint and device management with a first-principles model, a safe bounded lab exercise and verified validation steps.
Endpoint and Device Management
Reading Endpoint and Device Management Evidence with Microsoft Intune
A graduate guide to reading Microsoft Intune compliance and enrolment evidence correctly, with a bounded lab exercise, validation steps and rollback.
Enterprise IT Management
Enterprise IT Management Reliability Checks with Microsoft 365
A bounded, evidence-led workflow for validating and safely recovering Microsoft 365 administrative changes in an enterprise IT management context, with explicit rollback readiness.
Security & Operations
Security & Operations Guardrails for Microsoft Defender
A bounded, evidence-led approach to designing, validating and safely recovering a Microsoft Defender security operations workflow, from scope boundary design through rollback.
Discover more
Graduate Learning
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 Bounded Microsoft Intune Device Configuration Exercise. Comments are checked for spam and held for moderation before appearing.