@Ahmed Alshatawi,Thanks for posting in Q&A.
From your description, I know you are looking for a way to remove MS 3D viewer via Intune.
Based on my research, here is a link contained the PowerShell script to uninstall the MS 3D viewer you can refer to. After that you can upload the script into Intune and deploy it to uninstall MS 3D viewer.
Get-AppxPackage -AllUsers -PackageTypeFilter Bundle -Name Microsoft.Microsoft3DViewer | Remove-AppxPackage -AllUsers
https://forum.bigfix.com/t/how-to-remove-microsoft3dviewer/37453/5
Non-official, just for reference.
And configure PowerShell script following.
https://learn.microsoft.com/en-us/mem/intune/apps/intune-management-extension
Hope it can help you.
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.