Managing applications through Configuration Manager in Intune
before you try it in SCCM, run it on the local machine using PsExec.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".