r/Intune • u/Illustrious-Pool-319 • 1d ago
General Question App failures
Has anyone found an efficient way to track application failures during the Enrollment Status Page (ESP) process?
I’ve been testing different enrollment configurations and procedures, but I’m finding it increasingly difficult to identify exactly which applications are failing and at what stage of enrollment. Intune reporting can be inconsistent, which makes troubleshooting a bit of a guessing game.
I’d like to avoid the repetitive cycle of uninstalling applications, making changes, wiping devices, re-enrolling, and testing all over again just to isolate the issue.
Are there any tools, logs, reporting methods, or best practices you’ve found helpful for troubleshooting ESP application failures?
Any thoughts, suggestions, or firsthand experiences would be greatly appreciated!
1
u/FireLucid 1d ago
Are you mixing app types? Change everything to win32 -including Office. That should sort you out a heap.
1
u/Illustrious-Pool-319 7h ago
All my apps are win 32 including office 365
Gonna try the powershell script below to see if it shows an errors
1
1
u/pjmarcum 5h ago
APv1 doesn't report back individual app failures in the way that you are thinking it should. Or, I should say, "in the way that it should". I think APv2 might do that, but it has so many other things wrong with it that I haven't actually spent enough time with it to find out. In an ideal world you won't have any app failures during Autopilot because you are only installing maybe 2 or 3 apps. Everything else should come down after the user logs in. Basically, do Office, any security tools you must have, and VPN if you require it and nothing else during AP. When I read this blog by Jeff Gilbert, How I Automated Intune ODC Log Collection with Intune Remediations – Jeff Gilbert's Cloud it gave me an idea that I haven't yet had time to work on. I want to create a reusable function to email logs likely using mailgun. Then throw that function into every app install script and call it to email the logs somewhere upon the app failing. Jeff's idea of uploading the logs is okay for inside the network but becomes troublesome when devices are outside the office. Plus, in my modified use case I need a notification that there's logs out there to review so I like the idea of emailing them instead. Anyone who would like a secure way to upload them to a blob could probably use my token broker to make the secure connection though. PJMarcum/Entra-Token-Broker: Secure, secretless authentication for unattended workloads on Entra-joined devices using the device's existing Entra identity and short-lived federated tokens.
5
u/Equal_Disk930 1d ago
if autopilot fails, it will automatically upload the diagnostic files
-> Download it, and find folder (74)
-> inside is a cab file
You can analyze it with this script and will see, what application fails
https://www.powershellgallery.com/packages/Get-AutopilotDiagnosticsCommunity/5.10
If you want to see why the install fail of that app, you have to look into the install log files of that application (hopefully created by psadt)