rbalsleyMSFT / IntuneScripts

MIT License
14 stars 3 forks source link

The Win32 app _MSFT - EDU - Device - Remove Microsoft Apps failing to run successfully #10

Open peckben279 opened 3 months ago

peckben279 commented 3 months ago

First, thanks for all of these resources from a sizable US school district trying to migrate to Intune!

We assigned the Win32 app _MSFT - EDU - Device - Remove Microsoft Apps to a device group of Windows 10 22H2 machines and made it one of 5 apps in our enrollment status page for Autopilot to install and it seems to be failing. Looking at the scripts' logs at c:\windows\temp\apps.txt it seems it cannot remove the Windows.YourPhone app, and so the detection script continues to detect it and re-runs the install, eventually it fails and eventually fails the Autopilot deployment.

It seems Windows.YourPhone is no longer removeable? https://support.microsoft.com/en-us/windows/why-can-t-i-uninstall-the-your-phone-app-1c0ac9f4-26a2-7e5c-ec76-feb9e715db59

I commented out this app in both scripts and rebuilt the Win32 and seems to work without issue.

rbalsleyMSFT commented 2 months ago

Thanks for the comment. I'd have to go back and test with Windows 10 22H2. I do know that with Windows 11 23H2 it works (just built a machine yesterday and the log looks good). Your Phone (now Phone Link) is removed.