All,
What is the best way so that in a PowerAutomate - both links to documents in MS Teams and Outlook work and are a clickable a href:
In my case I have a Start and Wait for an Approver step using MS Teams for approvals.
The Append to String when I do it this way works in MS Teams but not Outlook:
The Append to String when I do it this way works in Outlook but not MS Teams:
Therefore I'm not sure how to get this to work so that both MS Teams and Outlook both work with a link to a document.
So I got this to work turns out I had a space in the markdown between the [] and () so per this spec Use Markdown formatting in Teams - Microsoft Support it can't have any spaces: [Title](URL)
I also utilized this excellent video by Daniel Christian
Here is an example of the markdown with one attachment:
(100complaint.png) [https://mysite.sharepoint.com/sites/SystemsandTools/Lists/Dashboard/Attachments/331/100complaint.png]
However when I click the link it has an extra ] at the end:
It looks like the webpage at https://mysite.sharepoint.com/sites/SystemsandTools/Lists/Dashboard/Attachments/331/100complaint.png]
Here is an example of the markdown output with multiple attachments:
(silhouette.jpg) [https://mysite.sharepoint.com/sites/SystemsandTools/Lists/Dashboard/Attachments/332/silhouette.jpg]
(small_email.gif) [https://mysite.sharepoint.com/sites/StandardsSystemsandTools/Lists/Dashboard/Attachments/332/small_email.gif]
(video.gif) [https://mysite.sharepoint.com/sites/StandardsSystemsandTools/Lists/Dashboard/Attachments/332/video.gif]
and clicking any of the three links it's the same as above it has an extra ] at the end:
Can you post the markdown code that it generates based on your expression?
Looks like using the markdown works well.
The only item is that I'm getting an extra ] in the URL when I have multiple attachments which are displayed in both the MS Teams approval and Outlook approval as such:
https://mysite.sharepoint.com/sites/SystemsandTools/Lists/Dashboard/Attachments/329/silhouette.jpg]
Here is how I forming that URL:
The Item link property is just a placeholder for a link.
You can specify any link (not necessarily the link to item)
Can I place into the Item Link property then my Links variable where I'm creating the link to the documents.
I had a requirement to not have the link to the actual list item and that's the only way I've ever used the Link property.
Why don't you use the Item link property?
Sure it is attached:
@koneill2020 , are you able to post a screenshot of the message in teams? From what I know you should be using markdown syntax.
Michael E. Gernaey
497
Super User 2025 Season 1
David_MA
436
Super User 2025 Season 1
Riyaz_riz11
244
Super User 2025 Season 1