@Sheik Mohamed Yasar,Thanks for posting in Q&A.
From your description, I know that you want to uninstall an application via Intune, but the script failed to run.
To clarify this issue, here are some information you can check.
1.Please check whether the script can run on targeted device with admin.
(1.Download PSTools and run CMD as admin. [https://learn.microsoft.com/en-us/sysinternals/downloads/psexec](https://learn.microsoft.com/en-us/sysinternals/downloads/psexec)
(2.CD to PSTools directory.
(3.Enter psexec -i -d -s cmd.exe tp run cmd in system context.
(4.Enter whoami to check running context.
(5.Enter the uninstall command to test if it can work.
2.Please check if exists related errors in IME and AgentExecutor log. Location: C:\ProgramData\Microsoft\IntuneManagementExtension\Logs.
Please try above information, if there is any update, feel free to let me know.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.