So I was having a hard time removing TV.app from the dock. Now before we start I know I could've used dockutil (which I've used in the past before) to make my life easier. However I didn't want to push any more 3rd apps unless I really needed to. I decided to use the built-in tools JAMF has to keep our deployment lean. I read a lot of post and found nothing relating to the TV.app itself.
Some Applications are found in /Applications (Music, Numbers) while other like TV.app is found in /System/Applications (Launchpad, Photos). So I kept on trying /System/Applications/TV.app and nothing happen, it didn't remove itself. I tried every thing I can think of and nada, it was putting up a hell of a fight. So I decide to dig into the app itself. I finally came across something interesting. If you open up this file: /System/Applications/TV.app/Contents/version.plist
You will find:
Now I haven't seen any mention of this any where before. I was like hmmmmmm let me try it, what do I have to lose. Besides the fact that I was running low on coffee and snacks. So I update the Dock Item to file://~/System/Applications/TVDesktop.app
What do you know, that pesky app finally gave up and disappeared from the Dock. I tell ya it put up a hell of a fight. I was about to give in and use dockutil but I held on strong. So if anyone is having an issue removing an item, dig into the version.plist and see if it has another name you can use and test.
I hope that this helps out anyone else running into a Dock items that doesn't want to be removed.
I'm currently using this on both macOS Big and macOS Monterey. I can confirm that is works on 11.7 & 12.6. I'm attaching dos screenshots for your reference. Hopefully this will help you out with your deployments. If they still don't work, then I agree with @syed_hyder in requesting screens for us to review as well.