We followed below graph API doc to add a tab in a channel and it got added successfully.
https://learn.microsoft.com/en-us/graph/api/channel-post-tabs?view=graph-rest-1.0#request
It shows up in UI as well.
Make sure the corresponding app must already be installed in the team in order to add/pin to channel.
Thanks,
Prasad Das
If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.