Hi @Elisa Klahsen
I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to accept the answer .
Ask:
how to correctly use dynamic content with a webhook to Microsoft Teams without getting an error related to the JSON format. Specifically, the user wants to include pipeline parameters in the body of the webhook.
Solution:
We got this figured out!
Add the json in the body field as text. DO NOT use the dynamic content link.
Do not use the dynamic content link. Seems very counterintuitive.
Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.