It's not a http header, it's the payload, which you can't alter.
A WebHook Notification template type won't work for Mattermost/MS Teams/RocketChat or any other Slack compatible communication platform.
Try selecting Mattermost as the notification type and point it to your Teams webhook url; This should do the trick.