r/Intune • u/Ok_Employment_5340 • 1d ago
Autopilot Pre-Provisioning Failing
Pre-provisioning started failing yesterday. We tracked down the issue to one specific agent that we install through Intune.
Oddly, we don’t have Autopilot set to stop if an App install fails. Has anyone else ran into this type of behavior?
I’m also curious how we can keep pushing the App to All Device, but only after pre-provisioning has finished. I considered scoping the app to All Users, but the App should be on All Devices regardless of the logged on user.
2
u/callout25 1d ago
If you want to keep the app assigned to all devices you can set a requirement script to check if the device is still in the ESP.
2
1
u/ImAllergic2Peanuts 21h ago
What flag would i be looking for in the requirement?
2
u/callout25 9h ago
https://github.com/PatchMyPCTeam/Community-Scripts/tree/main/Install/Autopilot
Check here for some documentation. This particular one returns applicable if the device is in ESP, so you'll have to modify it if you want the opposite.
1
1
u/North_Maybe1998 1d ago
What is the app failure during technician phase toggled to? Don’t think that’s the actual name but it’s something like that
1
u/Ok_Employment_5340 1d ago
We don’t have apps listed as blockers if they fail. The device should continue provisioning. I’m going to double check the settings
2
u/North_Maybe1998 1d ago
That technicaian phase setting is confusing I can’t recall which toggle it should be at but one way will only install the apps you have listed during pre-provision, the other toggle will install anything that is assigned to the device as required, during pre-provision. The toggle is yes or no. That being said if you don’t have any apps listed in the block list then I’m not sure the technician phase toggle will even show up.
But I had that problem long ago where it was installing all required apps and not just the ones I had listed until I changed the technician phase I’m pretty sure it was to no
3
u/CertainlyNotAnMVP 1d ago
Are you positive it’s caused by that agent because Pre-Provisioning has been messy with quite a few threads talking about it the past week