← Back to articles Security

Multi-Admin Approval in Intune: Stop the Next Mass Wipe

Multi-Admin Approval in Intune: Stop the Next Mass Wipe
🎬

Video Brief & Interactive Architecture Deck

Watch the walkthrough, explore the 16:9 interactive slide deck, or download PDF notes

▶️ Fullscreen Video ▶️ Watch on YouTube 🔔 Subscribe to MSEndpoint TV

The Scenario

Organizations managing Microsoft Intune at scale need to plan for a straightforward but high-impact risk: if a privileged automation identity is compromised, destructive device actions can be invoked through Microsoft Graph at speed. A service principal or other non-interactive identity with broad device-management write permissions can become a high-blast-radius target, especially if it is backed by long-lived secrets, weak governance, or insufficient monitoring.

This is not just a theoretical design concern. Intune and Microsoft Graph expose administrative actions that can be executed programmatically when the caller is properly authenticated and authorized. That means the security posture of your automation accounts matters as much as the RBAC design in the admin center. If an organization builds unattended workflows for retirement, wipe, or other high-impact tasks without compensating controls, a single compromised identity can create outsized impact.

In our own environment — roughly 4,200 Intune-managed endpoints across Windows, iOS, and Android, running on Microsoft 365 E5 licensing — we found multiple app registrations with DeviceManagementManagedDevices.ReadWrite.All and similar write permissions. That kind of access deserves immediate review. The practical takeaway is simple: reduce unnecessary application permissions, protect privileged identities, and where available, enable approval-based controls for sensitive administrative actions. This article focuses on that governance approach without relying on any unverified incident details.

Why This Matters

The core issue is simple: high-impact device actions can be executed programmatically through Microsoft Graph when an identity has sufficient permission. A wipe, retire, delete, or remote action performed at scale can disrupt operations quickly if the wrong credential is abused.

What the official Microsoft documentation on Intune RBAC doesn't change is the fundamental reality that role assignment is permission-based. If an identity can perform a destructive action, the control objective becomes making sure that access is tightly scoped, strongly protected, monitored, and — where supported in your tenant and feature set — subject to additional approval or governance checks.

The business impact of getting this wrong is catastrophic and multi-dimensional:

  • Operational continuity: A mass wipe forces re-enrollment of every affected device. For a 4,000-device fleet, you're looking at weeks of remediation work, helpdesk tickets measured in the thousands, and productivity loss that finance will eventually quantify in a post-incident review.
  • Compliance exposure: If wiped devices included managed apps holding regulated data (HIPAA, PCI-DSS, SOC 2), the incident triggers breach notification timelines regardless of whether data actually exfiltrated.
  • Automation trust collapse: Every automated workflow touching Intune comes under scrutiny. The legitimate automation you built to scale device management now becomes a liability that legal and security want disabled.
  • Reputational and contractual damage: For MSPs managing Intune tenants on behalf of clients, a single compromised credential in a multi-tenant architecture is an existential event.

If your tenant has support for approval-based controls for sensitive actions, they should be treated as a governance and risk-reduction measure. But regardless of feature availability, the foundational controls are still least privilege, strong credential hygiene, Conditional Access where applicable, logging, and rapid alerting on privileged activity.

Root Cause Analysis

How the Attack Surface Works

To understand why approval and governance controls matter, you need to understand how a destructive action via automation is executed. Microsoft Graph exposes the following endpoint for device wipe actions:

POST https://graph.microsoft.com/v1.0/deviceManagement/managedDevices/{deviceId}/wipe

Request Body:
{
  "keepEnrollmentData": false,
  "keepUserData": false,
  "macOsUnlockCode": null,
  "persistEsimDataPlan": false
}

By itself, that's a single device wipe. But pair it with a list query and a loop, and you have a high-risk automation pattern that can iterate across many devices quickly:

# Simplified illustration of a high-risk Graph automation pattern
# For awareness only — do not use against production devices

Connect-MgGraph -Scopes "DeviceManagementManagedDevices.Read.All"

$devices = Invoke-MgGraphRequest -Method GET `
  -Uri "https://graph.microsoft.com/v1.0/deviceManagement/managedDevices"

foreach ($device in $devices.value) {
  Write-Output "Managed device discovered: $($device.id)"
}

Graph API throttling may limit request volume, but throttling is not a security control you should rely on to contain destructive intent. The more important architectural point is that a single privileged identity can present broad reach if permissions are over-assigned.

The App Registration Risk Pattern

A common risk pattern involves a service principal — an app registration in Microsoft Entra ID — that was granted application permissions for Microsoft Graph device-management operations. Application permissions don't require a signed-in user. They authenticate as themselves, silently, 24/7. When these credentials leak via a committed secret in a GitHub repo, a misconfigured key vault, or another secret-handling failure, the blast radius can be immediate.

Run this Graph query to audit your own exposure right now:

# Audit service principals with Microsoft Graph application permissions
# Requires: Application.Read.All and AppRoleAssignment.Read.All

Connect-MgGraph -Scopes "Application.Read.All","AppRoleAssignment.Read.All"

$dangerousScopes = @(
  "DeviceManagementManagedDevices.ReadWrite.All",
  "DeviceManagementConfiguration.ReadWrite.All",
  "DeviceManagementApps.ReadWrite.All"
)

$graphSp = Get-MgServicePrincipal -Filter "appId eq '00000003-0000-0000-c000-000000000000'"

if (-not $graphSp) {
  throw "Microsoft Graph service principal not found in this tenant."
}

$graphAppRolesById = @{}
foreach ($appRole in $graphSp.AppRoles) {
  $graphAppRolesById[$appRole.Id.Guid] = $appRole
}

$servicePrincipals = Get-MgServicePrincipal -All

foreach ($sp in $servicePrincipals) {
  $assignments = Get-MgServicePrincipalAppRoleAssignedTo -ServicePrincipalId $sp.Id -All -ErrorAction SilentlyContinue |
    Where-Object { $_.ResourceId -eq $graphSp.Id }

  foreach ($assignment in $assignments) {
    $appRoleId = $assignment.AppRoleId.Guid
    if ($graphAppRolesById.ContainsKey($appRoleId)) {
      $roleValue = $graphAppRolesById[$appRoleId].Value
      if ($roleValue -in $dangerousScopes) {
        Write-Output "[RISK] $($sp.DisplayName) has Microsoft Graph application permission: $roleValue"
      }
    }
  }
}

If that query returns results, you have service principals with potentially sensitive Intune-related write access through Microsoft Graph. Each one deserves review for business need, credential type, secret rotation, ownership, sign-in restrictions, and monitoring.

The Solution

What Approval-Based Governance Actually Does

Some Intune environments may have support for approval-based controls for specific high-impact administrative actions. Where available, those controls can require a request-and-approval workflow before a protected action completes. That can add an important human checkpoint for sensitive operations.

The architecture looks like this at a conceptual level:

However, you should validate the exact feature name, scope, licensing, supported actions, API behavior, and current availability against the current Microsoft Learn documentation in your tenant context before implementation. Do not assume every destructive Intune action is covered, or that approval requirements apply uniformly to all portal and API scenarios, without testing.

Step-by-Step Configuration

If your tenant includes support for approval-based controls for sensitive Intune actions, configure them according to the current Intune admin center workflow and Microsoft Learn documentation. Because feature names, locations, and supported actions can change over time, treat the following as an implementation checklist rather than a guaranteed current menu path:

Step 1: Create the Approver Group

Before creating any approval policy, create a dedicated Microsoft Entra security group for approvers. This should contain your most trusted Intune admins — typically 3-5 people, not the same person who might be submitting requests. We named ours SG-Intune-Approvers.

Step 2: Configure the Approval Policy

In the Intune admin center, locate the area for approval or protected-action governance in your tenant and create a policy for the high-risk operations your environment supports. Typical review candidates include actions such as wipe, retire, delete, or remote lock — but only select actions that are explicitly supported and documented in your current tenant experience.

  1. Name: Approval-HighRisk-DeviceActions
  2. Description: "Requires approval for supported high-risk device actions."
  3. Protected actions — select only those currently documented and available in your tenant.
  4. Approver group: Select SG-Intune-Approvers

Step 3: Validate the Policy with a Test Request

Use a test device (a VM enrolled via Autopilot or a personal test device) to validate the flow end-to-end before relying on it in production. Attempt the protected action from a non-approver admin account and confirm the behavior matches the current Microsoft documentation and your security design.

If you also need to validate API behavior, use a safe, non-destructive test pattern first and then confirm in a lab whether protected actions invoked through Graph are blocked, queued, denied, or approved as documented for your tenant. Do not assume a specific HTTP response shape or approval object unless Microsoft explicitly documents it for that endpoint.

Step 4: Configure Approval Notifications

By default, approvers may receive in-console notifications depending on the feature implementation. For production environments, consider layering on email or Teams notifications with supported integrations so approvers can respond quickly and your SOC can detect unusual request patterns.

Always reference the current Microsoft Learn documentation for the exact list of protected action types, approval workflow behavior, and support boundaries in your tenant.

Hardening Your App Registrations

Approval is only one layer. You should also reduce the attack surface on your service principals:

# Review service principals with Graph device-management application permissions
# Then rotate secrets, prefer certificates or managed identities where possible,
# and store secrets in Key Vault with tightly restricted access

# Review Conditional Access applicability for workload identities in your tenant
# and restrict privileged automation to expected locations or conditions where supported

# Review and trim permissions — if your automation only needs to READ device compliance
# it should NOT have DeviceManagementManagedDevices.ReadWrite.All
# Use DeviceManagementManagedDevices.Read.All instead

For a complete reference on Intune RBAC and least privilege app permissions, see the Microsoft Graph permissions reference for Intune.

Scaling Considerations

At scale — 10,000+ devices across multiple geographies and time zones — approval-based governance introduces operational considerations you need to plan for before enabling it.

Approver availability windows: If your approver group is in a single time zone and a legitimate emergency wipe is needed at 3 AM (compromised executive device, active IR), you need an escalation path. We maintain a 24/7 on-call rotation for our approver group, with a documented SLA of 15 minutes for emergency approvals. Without this, approvals can delay legitimate incident response.

Approval request expiry: If your implementation includes expiring requests, account for that in your process design. For scheduled automation workflows, restructure jobs so approval happens during staffed hours rather than assuming silent overnight execution.

Bulk operations: If an IT administrator legitimately needs to wipe 500 devices (factory refresh cycle, acquisition integration), define bulk action procedures up front. Document who can request, who can approve, what evidence is required, and how scope is validated before execution.

MSP multi-tenant environments: If you manage multiple tenants, approval and governance controls must be configured per tenant according to that tenant's feature availability. Plan your approver group membership carefully to ensure you have approved individuals with access to each tenant.

Audit logging: Approval requests, privileged device actions, and administrative changes should be monitored through Intune and Microsoft Graph audit data where available. At scale, integrate these logs into your SIEM. An unusual spike in destructive-action attempts — especially outside business hours or from unfamiliar identities — is a high-fidelity IOC that warrants immediate investigation. Pull recent audit events with:

# Query recent Intune audit events via Microsoft Graph
Invoke-MgGraphRequest -Method GET `
  -Uri "https://graph.microsoft.com/v1.0/deviceManagement/auditEvents?`$orderby=activityDateTime desc&`$top=50"

Lessons Learned

  • Approval workflows are not a substitute for least-privilege app permissions. Even with governance controls in place, a forgotten service principal with broad write scope is still a major risk. Reduce permissions wherever possible.
  • Your automation architects need to be in the room when you design controls. Audit your automation inventory first, categorize actions as read vs. write vs. destructive, then design approvals and monitoring around that map.
  • The approval group membership is a high-value target. Protect that group with PIM where available — require just-in-time activation with MFA and justification for membership or related admin roles.
  • Test the denial path, not just the approval path. A denied suspicious request is an important security signal. Make sure it is visible in your monitoring and alerting stack.
  • Document your emergency bypass procedure before you need it. Any break-glass or emergency exception process should be formally approved, tightly logged, and limited to declared incident scenarios.

Was this article helpful?

🎯
MSEndpoint Academy · MD-102

Assess Your Microsoft 365 & Intune Skills (MD-102)

100% Free • 10 Real Questions

Applying this guide in production? Test your technical readiness against real exam scenarios from Microsoft 365 Certified: Endpoint Administrator (MD-102).

💡 MD-102 Express Knowledge Check · Official Question

During Windows Autopilot user-driven Microsoft Entra join, you need to prevent standard users from getting local Administrator rights on newly provisioned Windows 11 PCs. Where should you configure this?

MSEndpoint Academy Realistic Simulator Tour
▶
🎬 2-MIN SIMULATOR TOUR
⚡ Stop Failing on Pearson VUE Case Studies
See Real Split-Screen Case Studies, Mistake Drills & 1:1 Live Coaching in Action
  • 3-Question Linked Case Studies + Interactive Hotspots
  • Retry Failed Questions with verified Microsoft Learn deep links
  • 1-on-1 Certified Architect Coaching & Enterprise Team Passes
🔒 100% Free • 📊 Instant Explanations • 🖥️ Pearson VUE Mode
Take Free 10-Question MD-102 Diagnostic → MD-102 2026 Exam Guide & Sample Q&A Launch Pearson VUE Simulator
🎁 Free Community Automation Hub

Functional Automation & Blueprints

Production-ready scripts, GitHub repositories, and architectural blueprints created for this technical guide.

💡 Enterprise Blueprint
HIGH IMPACT

IntuneGuard

Automated audit and hardening toolkit that detects over-permissioned Intune service accounts and enforces multi-admin approval gates before bulk device actions execute.

🤝 Custom Build

🎓 Ready to go deeper on MD-102?

Practice real MD-102 exam questions, study verified Microsoft Learn explanations, and test yourself in Pearson VUE simulator mode.

Free 10Q MD-102 Exam → Launch Simulator 📚 Study Guides (20 Domains) ⚖️ vs MeasureUp
📡

Don't miss the Friday Microsoft Endpoint & Security TV Digest

One email a week: the Intune, Entra & Windows changes that actually matter, the Alex & Sarah TV episode, and new production-ready PowerShell scripts. No spam, unsubscribe in one click.

Browse past TV episodes & issues →
Souhaiel Morhag
Souhaiel Morhag
Microsoft Endpoint & Modern Workplace Engineer

Souhaiel Morhag is a Microsoft Intune and endpoint management specialist with hands-on experience deploying and securing enterprise environments across Microsoft 365. He founded MSEndpoint.com to share practical, real-world guides for IT admins navigating Microsoft technologies — and built the MSEndpoint Academy at app.msendpoint.com/academy, a dedicated learning platform for professionals preparing for the MD-102 (Microsoft 365 Endpoint Administrator) certification. Through in-depth articles and AI-powered practice exams, Souhaiel helps IT teams move faster and certify with confidence.

Related Articles

Popular on MSEndpoint