web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / "Link to document" Dyn...
Power Automate
Answered

"Link to document" Dynamic Content doesn't post as clickable link in Teams

(0) ShareShare
ReportReport
Posted on by 415

Hi Folks,

 

Is there a way to post in Teams through a Flow, a clickable URL to a document that resides in SharePoint?

Categories:
I have the same question (0)
  • Verified answer
    JohnAageAnderse Profile Picture
    1,986 on at

    Hello @trishmalloy 

    Yes there is!

    You can use the Team action "Post a message" and add the Link to item value from the document.

    FlowPostInTeamsChannelWithLink.png

    Suggest you to use HTML to enter an anchor element with href="Link to item".

    I found that the link button in the Message field is not really useful 🙂

     

    Hope this helps you on the way.

    Kind regards, John

  • trishmalloy Profile Picture
    415 on at

    It doesn't look like you're using HTML from the screen shot you posted?

     

    This is how I have things set up.  The URL is posted in Teams, it's just not clickable.  

     

    Flow.PNG

  • JohnAageAnderse Profile Picture
    1,986 on at

    Hello @trishmalloy 

    Yes, in my screenshot I did not use a link. I hoped you would use the marked HTML button "</>" to try it yourself 🙂

    FlowPostInTeamsChannelWithLink2.pngThis is the screenshot where I changed it into a link.

    Kind regards, John

  • trishmalloy Profile Picture
    415 on at

    Now I'm getting "BadRequest" message when I test the flow.  ??

     

    <p> <a href="https://staffcscc.sharepoint.com/samplehighschool/Shared%20Documents/docusign2.png">Direct link to file</a></p>

     

    flow2.PNG

  • JohnAageAnderse Profile Picture
    1,986 on at

    Hello @trishmalloy 

    Works perfectly for me!

    Please ensure that you have chosen the Channel from the list and not just entered a custom value!

    Kind regards, John

  • trishmalloy Profile Picture
    415 on at

    @JohnAageAnderse - Thank you.  This did end up working for me today.  Thank you!!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard