Using Powershell and Intune, I've been trying to deploy an application.
Installing the software using the script or pressing the install button in the company portal works fine.
The uninstall script does not work when trying to uninstall from the company portal.
However the uninstall script works perfectly well if I run it outside of Intune.
I would greatly appreciate any information about what I can try.