Edit the Process Intelligence app assignments of all Groups in the scope of uninstallation: From Required to Uninstall.
Navigate: Endpoint security > Scripts > Add > Windows 10 and later.
Add PowerShell script.
Download and add this .psi file or contact ProcessMaker support to get the required file.
Add the groups needing uninstallation and cleanup.
Typically, Intune runs the scripts latest on machine restart or at forced sync from device management.