If the user has previously installed an application or it was deployed via Intune without it being set as a managed application, then the following error is shown in Intune's status:
"The app is already installed on the device, but is not managed by Intune. The end user must allow allow MDM to take over management. (0x87D13B8F)"
We have found the only way to resolve this is to delete the existing installation.
Can PatchMyPC have a script or configuration that will detect the pre-existing installation on device and uninstall it?
+1