Welcome to Microsoft Q&A platform and thanks for posting your query here. I understand that you are trying to send the SQL Query results in tabular format via teams notification using web activity in ADF /Synapse pipelines. Please let me know if that is not the correct understanding about your query.
You can use logic app to create well-formatted custom HTML Email and send the notification via teams connector present in logic app. You can use web activity to call the logic app via ADF/ Synapse pipelines.
Kindly follow this blogpost to create the logic app : How to send a well-formatted HTML notification , however instead of outlook connector, kindly use teams connector .
To call logic app via web activity, kindly watch out the following video for implementation: How to Send Email from Azure Logic Apps
Hope it helps. Kindly accept the answer by clicking on Accept answer
button. Thankyou