Prepare uninstaller script
Add script into Microsoft InTune
Sign in to the Microsoft Endpoint Manager Admin Center.
Select Devices > PowerShell scripts > Add.
Enter a script name and description and select Next.
Script Location: Browse to the location of the script and select Next.
Select No under the "Script Signature Check" section and select Next.
Select No (default) runs the script in a 32-bit PowerShell host and select Next.
Assign any Scope tags (Not required).
Select Groups, you wish to assign to.
Click next and Click Add to Add the Script.