Intune Primary User Mismatch (Windows)
The question it answers: Which Windows devices are used mostly by someone other than their Intune primary user?
The primary user decides who sees the device in Company Portal, who gets user-targeted apps, and who the asset belongs to. When the actual user differs - hand-me-down laptops, pooled devices - asset records and self-service go wrong. Leaver Devices covers devices of leavers.
At a glance
Section titled “At a glance”| Where in the app | Intune › Device Operations & Hardening › Primary User Mismatch |
| Workload | Intune |
| Kind | Findings list · dashboard tile |
| Data | Read from Microsoft 365 when someone first opens it, then kept for the report cache lifetime (Settings > Data & cache, 1 hour unless changed). |
| Licence | Microsoft Intune. |
| Report id (API and MCP) | intune.operations.primary-user-mismatch |
Columns
Section titled “Columns”| Column | Key | Type |
|---|---|---|
| Severity | Severity | Status |
| Issue | Category | Text |
| Device | Subject | Link |
| Check | Setting | Text |
| Primary user | Value | Text |
| Finding | Finding | Text |
| Signed in (30 days) | Detail | Text |
| Last sign-in | When | Date |
| Users (30 days) | Number | Number |
A findings list hides columns that no row fills. Severity is Critical, Serious, Warning, OK or Info; rows rated Critical, Serious or Warning need attention (Working with findings).
What it needs
Section titled “What it needs”Licence: Microsoft Intune.
Application permissions on the IntensiveReports app registration (all permissions):
| Permission | API | What it allows | Note |
|---|---|---|---|
DeviceManagementManagedDevices.Read.All | Microsoft Graph | Read Microsoft Intune devices | |
User.Read.All | Microsoft Graph | Read all users’ full profiles | |
User-LifeCycleInfo.Read.All | Microsoft Graph | Read all users’ lifecycle information |
Data sources it reads
GET /beta/deviceManagement/managedDevices?$select=userId,usersLoggedOn&$filter=operatingSystem eq 'Windows'GET /v1.0/users (cached)
Through the API and MCP
Section titled “Through the API and MCP”GET /ir-api/v1/reports/intune.operations.primary-user-mismatch?size=100An AI assistant reads it with the MCP tool get_report and the id intune.operations.primary-user-mismatch. The client needs the Read grant for Intune. See Using the API.