When setting up notification for pipeline it should have option to customization such as adding detailed information to the notification body, author needs to tag on message etc..
For example, n the event of a failure, you can tag the PR author, customize the message body, and post to the Teams channel.