Skip to main content

Working Out Why an Intune App Install Failed on One Windows Device

An Intune app failed on one Windows device? Read Device install status and Managed Apps, then match the failure to a stage of the Win32 install flow.

KBY Technologies12 min readFoundation11 min
Working Out Why an Intune App Install Failed on One Windows Device

Advertising disclosure: this article includes partner links. KBY may earn a commission if you sign up or buy through one, at no extra cost to you. How we make money.

Before you begin

  • A non-production Microsoft Intune tenant with one enrolled Windows test device and one Win32 app assigned to a test group.
  • An account that can view apps, devices and the Troubleshoot pane, with the least privilege that allows it.
  • A test device that has checked in with Intune at least once since the app was assigned.

Underlined words are defined in the KBY Lexicon. Tap or click one to see what it means.

When Intune reports that an app failed to install on one device, the answer sits in two places. In the Intune admin center, open Apps then All Apps, select the app, then choose Device install status and read the Status and Status details for that device. For a Win32 app on Windows, the failure belongs to one stage of a fixed sequence on the device, from checking detection to running the installer and detecting the app afterwards.

Knowing that sequence turns a vague “it failed” into a specific question. Did the device skip the install because the app was already there? Did the content never arrive? Did the installer run and return something other than 0? Or did it succeed, and then the detection rule disagree? Each answer points to a different fix and a different owner, and none of them needs a change to the device while you are still diagnosing.

#By the end you can

  • Find the status and status details for one app on one device in the Intune admin center.
  • Name the stages a Win32 app passes through on a Windows device, and say which one a failure points to.
  • Use the Troubleshoot pane to read an app’s lifecycle on a single device.
  • Tell a console status from a conclusion, and say when the console cannot answer the question.
  • Finish an investigation having changed nothing.

#Before you begin

  • A non-production tenant with one enrolled Windows test device and one Win32 app assigned to a test group. Call the device LAB-PC-02 and the user Priya in this guide.
  • An account in that tenant that can view apps, devices and the Troubleshoot pane. Use the least privilege that allows it, not a Global Administrator account.
  • A test device that has checked in with Intune at least once since the app was assigned, so that it has something to report.

Nothing in the exercise changes the app, its assignment or the device. The only output is a short note of your own.

#How an app install travels from policy to device

The console shows the end of a journey, so it helps to know the stops along it. Two things matter: what Intune reports back, and what the device does before it reports.

#
What the console reports

Intune counts each app’s devices under five values. Failed is the number of failed installations, and Install Pending is the number still in progress. Not Applicable counts the devices for which the app’s status isn’t applicable.

Device status values for an app in the Intune admin center
StatusWhat Microsoft says it counts
InstalledThe number of apps installed.
Not InstalledThe number of apps not installed.
FailedThe number of failed installations.
Install PendingThe number of apps in the process of being installed.
Not ApplicableThe number of apps for which status isn’t applicable.

The per-device list adds more. Under Monitor then Device install status you get the device name, user name, platform, version, status, status details and last check-in. Last check-in is the date of the device’s last sync with Intune, so it tells you how fresh everything else is.

Steel framework cabinets housing servers networking devices and cables in contemporary equipped data center
Photo by Brett Sayles on Pexels

#
What the device does first

Microsoft’s walkthrough of Win32 app processing lists the steps the Intune Management Extension, the agent on the device, takes. Read in order, they form the checklist for any failure. The extension writes its trail to IntuneManagementExtension.log.

  1. It receives the policy and identifies the app, its ID and its intent, such as required.
  2. It checks dependencies. If there are any, the dependent app is downloaded and installed first.
  3. It checks the detection rule. If the app is already found, the download and install are skipped.
  4. It checks applicability, using the requirement rules, which can include a PowerShell script you upload.
  5. It downloads the content, verifies the encrypted hash, decrypts it and unzips it.
  6. It runs the install command you set for the app. An exit code of 0 counts as success.
  7. It checks the restart behaviour, runs the detection rule again and sends the results to the service.

Following along? Tap a step’s number to tick it off.

Each of those steps can end in a different status message, which is why one word such as Failed hides several possible causes. The firewall matters at step five as well, because the device must be able to reach the endpoints where the tenant resides, as Microsoft’s network requirements describe.

#
Where each stage points

With the sequence in mind, a failure becomes a routing decision. The diagram shows where each stage sends you, and the detail underneath explains the two stages people most often confuse.

Loading diagram...

A detection result and a requirement result are easy to mix up. Detection asks whether the app is already present, and it runs twice: before the install, to skip needless work, and after it, to confirm the install worked.

A requirement asks whether the app should go on this device at all. A device that does not meet a requirement is not a candidate for the install, so expect Not Applicable rather than Failed, although Microsoft’s status page does not link the two explicitly.

#Reading one failed install in practice

Imagine Priya reports that the lab archiver did not appear on LAB-PC-02. The invented Device install status below shows what you would see for the lab group.

Invented Device install status rows for a lab app
Device nameUser nameStatusLast check-in
LAB-PC-01SamInstalledToday
LAB-PC-02PriyaFailedToday
LAB-PC-03AlexInstall PendingNine days ago

Three rows, three different situations. LAB-PC-01 needs nothing. LAB-PC-03 may not be a failure at all, because a device that last checked in nine days ago has not had the chance to report. Only LAB-PC-02 is a real failure, and its check-in is recent, so its status is current.

Select the LAB-PC-02 row and read Status details. Then open Troubleshoot + support, choose Select user, pick Priya, pick the device, and choose Managed Apps. Microsoft describes this pane as the end-to-end lifecycle of an app on one device, including when the app was created, modified, targeted and delivered. Select the app whose Installation Status shows the failure, and read the error details it gives.

Suppose those details say the downloaded content could not be validated. That points to the hash check in step five: the content that arrived did not match what the policy expected. Your next questions are about the download path, not the installer. Is a proxy or firewall changing the traffic, or did the download get cut short?

#
Reading an error table

Some platforms have a published code table, and it shows what a good one gives you. Microsoft lists install error codes for line-of-business apps on Android Open Source Project (AOSP) and Android Enterprise devices, not for Windows, so treat the examples below as practice in reading, not as Windows answers.

  • 0x87D55018 means the download had no network connection. It retries automatically, and the download resumes when the network returns.
  • 0x87D5501F means the downloaded app could not be validated, because the hash of the content differed from the hash in the policy. It also retries automatically.
  • 0x87D550E0 means another policy installs a newer version of the same app. It does not retry. The highest version takes priority, and the documented fix is to remove the conflicting policy.

The Retry automatically column is the useful part. A cause that retries on its own may clear without help, while one that does not retry needs a person to change something.

Laptop displaying software code on a wooden table, ideal for tech and programming themes.
Photo by Daniil Komov on Pexels

#Your turn: read a real deployment in your lab

Objective. Work out, from the console alone, the stage at which one app stopped on one device. Safe setup. Use the lab tenant and the Win32 app and test device from the list at the top. This exercise only reads data.

  1. Sign in to the Microsoft Intune admin center and select Apps then All Apps. Select the lab app.
  2. On the overview, note the version, whether Assigned shows Yes, and the Installed, Failed and Install Pending counts.
  3. Under Monitor, select Device install status. Find your test device and write down its Status, Status details and Last check-in.
  4. Open Troubleshoot + support, select the test user and the test device, then choose Managed Apps. Select the app. If your lab app installed cleanly, read its lifecycle anyway.
  5. Write one note of three lines: the stage from the seven-step list, the message that supports it, and who would fix it.

Expected evidence. A status row for the device, a lifecycle view for the app, and a note that names a stage. A clean install gives a simple note, such as “installed after the second detection check”.

Pass condition. Your note names a stage and quotes a message or status that supports it. Stop condition. Stop if you are asked to change an assignment, sync or retry in a tenant you do not own, or if the data shows real users. Cleanup. Nothing to undo, because nothing changed. Close the panes and keep your note as a record.

#Checking your work

A note is only as good as the evidence behind it, so test it before you act on it. Compare the device’s row in Device install status with the Managed Apps view. They should agree on the status. If they differ, check Last check-in on both, because one may be older.

  • Does the note quote a status or message rather than describe a feeling?
  • Is Last check-in recent enough for the status to be current?
  • Does the stage you chose fit the order of the seven steps, so that earlier stages succeeded?
  • Did you change nothing in the tenant?

If a check fails, correct the note, not the tenant. For a required app that failed, Microsoft says you or the help desk can sync the device and retry the install. That is a change, so do it only once the cause is understood, and in a lab.

#What goes wrong when you read an install failure

  • Trusting a stale status. A device that has not checked in cannot report. Read Last check-in first.
  • Expecting status from an Available Store app. Microsoft says Microsoft Store apps deployed as Available don’t report their installation status, so an empty row is not a failure.
  • Reading the user name as proof of targeting. Microsoft notes that the user name appears even when the app targets a device group, and system context can show as No user.
  • Retrying before reading. A retry repeats the same failure if the cause is a detection rule or a blocked download.
  • Applying the wrong table. An Android error code tells you nothing about a Windows install.
  • Forgetting competing assignments. The same app can be assigned to several groups with different intents, and an excluded intent shows as Excluded.

When an app never reaches a device at all, widen the question. An assignment filter that narrows a policy to the right devices may be keeping this one out, so check it before assuming a fault.

Microsoft also suggests checking whether the user is over the Microsoft Entra Maximum devices per user value, which you read in Device Settings and the user’s device list. Deleting stale device records is a separate decision for the owner of those records, not part of diagnosis.

#Taking this to a production deployment

In production the method is the same, but the stakes are different. Give support staff read access to the app and device reports first, and keep sync-and-retry for people who are allowed to make changes. A failure that affects many devices is a deployment problem, so review the app’s overview counts before you look at one row.

When the console is not enough, the device itself has more. The diagnostics you can collect from a Windows device in Intune are the next step, and the general method for tracing an endpoint problem covers the thinking that sits around them.

Microsoft also offers an Intune app deployment diagnostic in the admin center under Help & support. You run it as an administrator, enter the user’s email address and select Run tests. It cannot change your tenant, and it is not available in GCC High, DoD or Microsoft 365 operated by 21Vianet.

Escalate to Microsoft support with the error code and the stage you identified, not with “the install failed”. A support engineer can act on a stage and a message straight away.

#What to remember

  • Read Last check-in before you read Status, because a stale device cannot report.
  • A Win32 install passes through detection, requirement, download, hash check, install and a second detection, in that order.
  • An exit code of 0 counts as success, and detection runs again afterwards to confirm it.
  • Not Applicable is a separate status from Failed, and a requirement decides whether an app belongs on a device.
  • Error tables are platform specific, so use the one for the device in front of you.
  • Diagnose with reads, and retry only once you know the cause.

About this page

Credited to

Dates

Published

Sources

This page lists no external sources.

Corrections

No corrections are listed for this page. Some review sweeps corrected pages without naming each one; those are in the corrections log.

Found this useful? Follow KBY for more like it.

Reader Interaction

Comments

Add a thoughtful note on Working Out Why an Intune App Install Failed on One Windows Device. Comments are checked for spam and held for moderation before appearing.

Loading comments...

More from KBY that goes with this article.

Discover more

Was this useful?

Reports go to the site owner and are used to correct pages. Corrections are listed at /corrections.

Build practical engineering skills.

Receive new lessons, learning paths, practical exercises and early-career guidance.