How to hide value string, source url, silence url, Dashboard url and panel url in the ms team alert notification?

You can find the default template here if you only want to remove parts of it in your custom template: grafana/default_template.go at main · grafana/grafana (github.com)

And to be complete you’ll find this answer here useful when adding templates to your contact-points: How To Use Alert Message Templates in Grafana - #3 by melori.arellano