--- title: "Inventory Installed Software (Detected Apps) on a User's Intune-Managed Devices" slug: "dex-wf-intune-installed-software-inventory" updated: 2026-11-30T16:15:15Z published: 2026-11-30T16:15:15Z canonical: "documentation.sysaid.com/dex-wf-intune-installed-software-inventory" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.sysaid.com/llms.txt > Use this file to discover all available pages before exploring further. # Inventory Installed Software (Detected Apps) on a User's Intune-Managed Devices Enumerate a user's Intune-managed devices and retrieve the detected applications inventory via the Microsoft Endpoint Manager admin center, Graph API, or PowerShell. **Complexity:** Intermediate. **Impact:** device-management + software-inventory + audit + help-desk + intune. ## Why use this workflow When supporting an end user: during a help desk ticket, license reconciliation, software audit, or security incident: administrators frequently need to know **exactly what software is installed on that person's managed devices**. Intune collects this data automatically from enrolled Windows, macOS, iOS, and Android devices and exposes it as the `detectedApps` collection on each `managedDevice`. ### When to run it - A user reports a problem with a specific application and you need to confirm the version installed. - You are investigating whether a vulnerable or unauthorized piece of software is present on a user's endpoints. - You are preparing for a hardware refresh, role change, or offboarding and want a full software footprint. - You are validating that required line-of-business apps were successfully installed by Intune. ### Important prerequisite Reading Intune managed device data requires an account with an **Intune-aware admin role** (Intune Administrator, Global Reader, Helpdesk Operator, or equivalent). Simply granting the Graph scope `DeviceManagementManagedDevices.Read.All` is not sufficient: the signed-in principal must also hold a role that grants read access in the Intune RBAC model. If both the scope and the role are not present, the `/deviceManagement/managedDevices` endpoints return `401/403 Forbidden`. ## Expected outcomes - A confirmed list of the user's Intune-managed devices, including device ID, name, OS, model, last check-in, and compliance state. - For each device, the full **detected apps** inventory: display name, version, publisher, size, and device count. - A consolidated, deduplicated software list suitable for pasting into a ticket, CSV export, or audit report. - A reusable PowerShell script that can be re-run on any user by changing a single parameter. ## Risks and considerations - **Registered ≠ Managed.** `/users/{id}/registeredDevices` returns Entra ID device objects, which include BYOD and Workplace-Joined devices that may not be Intune-enrolled. Only devices that appear under `/deviceManagement/managedDevices` will have a `detectedApps` inventory. - **Detected apps is not real-time.** Intune refreshes the inventory approximately every 7 days on Windows and at each check-in on mobile platforms. Recent installs or uninstalls may not appear immediately. - **Win32 vs. MSI scope.** On Windows, detected apps reports Win32 apps registered under Add/Remove Programs. Per-user MSIX/AppX packages and portable executables are not included. - **Permission escalation.** `DeviceManagementApps.Read.All` and `DeviceManagementManagedDevices.Read.All` expose tenant-wide software and hardware data. Grant only to principals that already have a matching Intune role; do not grant broadly to service principals without justification. - **Privacy.** In some jurisdictions, personal device software inventory may be regulated. Confirm your organization's BYOD and privacy policies before sharing the output with non-IT stakeholders. ## Required permissions | Permission | Why it's needed | | --- | --- | | User.Read.All | Resolve the user's object ID from their UPN or display name. | | Directory.Read.All | Enumerate registered and owned devices via /users/{id}/registeredDevices. | | DeviceManagementManagedDevices.Read.All | List Intune-managed devices and read per-device metadata. | | DeviceManagementApps.Read.All | Read the detectedApps collection on each managed device. | | Intune role: Global Reader, Intune Administrator, or Helpdesk Operator | Required in addition to Graph scopes: Intune enforces its own RBAC layer on top of delegated/application permissions. | ## Ask Dex Paste the prompt into a Dex conversation. ### Prompt for IT admins ``` Inventory all software installed on {user}'s Intune-managed devices. List each device with OS, compliance state, and last check-in, then show the detected apps (name, version, publisher) per device and a consolidated deduplicated list across all their devices. Flag anything unusual (e.g., outdated browsers, unapproved remote-access tools). ``` ### How an end user can ask Dex ``` Can you tell me what software is installed on my work laptop? I need a list for an audit. ``` ## Manual steps (admin center) 1. Sign in to the [Microsoft Intune admin center](https://intune.microsoft.com) with an account that holds the **Intune Administrator**, **Global Reader**, or **Helpdesk Operator** role. 2. In the left navigation, go to **Users** > **All users**, search for the target user (e.g. *{user_upn}*), and select the user. 3. On the user's blade, select **Devices**. You will see every Intune-enrolled device associated with that user, including device name, OS, compliance, last check-in, and primary user. 4. Click a device to open its details blade. 5. In the device's left-hand menu, select **Monitor** > **Discovered apps**. This shows every application Intune has detected on that device, with columns for **App name**, **Version**, and **Publisher**. 6. Use the **Export** button (top of the grid) to download the inventory as CSV for archival or ticket attachment. 7. Repeat steps 4-6 for each of the user's devices if they have more than one. ### Tenant-wide alternative For a cross-device pivot (e.g., "which devices have Acrobat Reader installed?"), go to **Apps** > **Monitor** > **Discovered apps**. Then filter by app name and inspect the **Devices** column. ## Microsoft Graph API The end-to-end flow requires four calls. All examples use the `v1.0` endpoint where available, falling back to `beta` for `detectedApps`. ### Step 1: Resolve the user's object ID ``` GET https://graph.microsoft.com/v1.0/users/{user_upn}?$select=id,displayName ``` Response: ``` {  "id": "771aac0a-bfda-4c0f-ae7c-d649ca972bf7",  "displayName": "Alexander Jamieson" } ``` ### Step 2: List the user's Intune-managed devices Use the `userId` filter on the managed devices collection: ``` GET https://graph.microsoft.com/v1.0/deviceManagement/managedDevices?$filter=userId eq '{user_id}'&$select=id,deviceName,operatingSystem,osVersion,model,lastSyncDateTime,complianceState ``` If this returns an empty result but the user clearly has devices, fall back to the Entra ID registered-devices endpoint and cross-reference by device name: ``` GET https://graph.microsoft.com/v1.0/users/{user_id}/registeredDevices?$select=id,displayName,operatingSystem ``` ### Step 3: For each managed device, fetch detected apps ``` GET https://graph.microsoft.com/beta/deviceManagement/managedDevices('{managed_device_id}')/detectedApps?$select=displayName,version,publisher,sizeInByte,deviceCount ``` Sample response: ``` {  "value": [    {      "displayName": "Microsoft Edge",      "version": "121.0.2277.128",      "publisher": "Microsoft Corporation",      "sizeInByte": 0    },    {      "displayName": "7-Zip 23.01 (x64)",      "version": "23.01",      "publisher": "Igor Pavlov"    }  ] } ``` ### Step 4: Handle paging If the response contains `@odata.nextLink`, issue a follow-up GET to that URL until the link is absent. Large fleets can return hundreds of apps per device. ### Troubleshooting 401/403 If `/deviceManagement/managedDevices` returns `Forbidden` even with the correct Graph scopes consented, the signed-in principal is missing an **Intune RBAC role**. Assign one of: Intune Administrator, Global Reader, Helpdesk Operator, or a custom Intune role that includes *Managed devices: Read* and *Organization: Read*. ## PowerShell ### Prerequisites - PowerShell 7+ recommended. - Install the Graph module once: `Install-Module Microsoft.Graph -Scope CurrentUser` - The signed-in account must hold an Intune-aware admin role. ### Quick interactive run ``` Connect-MgGraph -Scopes "User.Read.All","DeviceManagementManagedDevices.Read.All","DeviceManagementApps.Read.All" # Resolve user $user = Get-MgUser -UserId "{user_upn}" # List managed devices for that user $devices = Get-MgDeviceManagementManagedDevice -Filter "userId eq '$($user.Id)'" # Pull detected apps per device foreach ($d in $devices) {    Write-Host "`n== $($d.DeviceName) ($($d.OperatingSystem)) =="    Get-MgDeviceManagementManagedDeviceDetectedApp -ManagedDeviceId $d.Id |        Select-Object DisplayName, Version, Publisher |        Sort-Object DisplayName |        Format-Table -AutoSize } ```