If I use the old "Post to Teams Channel" action, I can wrap a url in the <a href="http://blahblah">Click here</a> html code, but I cannot @ a user using the new <at>firstname.lastname@example.org</at>
So I am using the posting as a flow bot. It does the @ correctly, but the HTML is ignored and it just posts the URL as an unclickable length of text. Even if I am using dynamic data from a Power BI connector, which provides a Tile URL, even that gets expanded into 3-4 lines of text.
Have you checked the Formatting text content in the Microsof Teams API documentation? Specifically the Examples of text formatting, which mentions hyperlink formatting:
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
I added it as an idea here with the tag bug. This seems to be a bug given it converts dynamic content urls added to a flow to plain text. Please vote for it. If there is another place to post about bugs, please let me know.
I assume Microsoft have fixed it because adding the link with the <a href=""....etc in the flow now creates a clickable link in the Teams channel for me.
Thnk you @Brad_Groux
This worked for me.
However we will need to put it in the Text Box of the JSON like this:
I was able to create the link as illustrated and now have a direct link to a new Planner task. I used concat to build the url to the Planner task.
Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.
Continue your learning in our online communities.
Features releasing from October 2019 through March 2020.
Fill out a quick form to claim your user group badge now!
Learn how to build the business apps that you need.
Find out where you can attend!
Watch & learn from the Flow Community Video Gallery!