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 / Power Automate link to...
Power Automate
Answered

Power Automate link to the Document Library

(0) ShareShare
ReportReport
Posted on by 9

For the Document Library Approval flow, when user come to the Power Automate platform to review/Approve/Reject their approval, is there a way to open the Document Library which the file was located from Power Automate?

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    69,042 Most Valuable Professional on at

    There is no easy way to do this.  You can easily include a link to the document itself, but not the library. 

  • Verified answer
    v-litu-msft Profile Picture
    Microsoft Employee on at

    Hi @Amos,

     

    Unfortunately, there is no direct action that could create a Share link to a SharePoint library in Power Automate currently.

    There already have an idea in the IDEA forum, you could head to vote it, collects votes to make it come true:

    https://powerusers.microsoft.com/t5/Power-Automate-Ideas/Allow-Flow-to-Create-SharePoint-a-Document-Library/idi-p/58074

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Amos Profile Picture
    9 on at
    Thank you!
  • NinaGerke Profile Picture
    2 on at

    This topic was one of the first in a Google search for linking to a document library. Yes, it's oly, but maybe there will someone else looking for this.

     

    I've solved this using the following expression in a string variable:

     

    concat(first(split(triggerBody()?['entity']?['itemUrl'],'_layouts')),outputs('Dateieigenschaften_abrufen')?['body/{Path}'])

     

    The German "Dateieigenschaften abrufen" is the name of the "Get file properties" action.

    This gives you the link and you can e.g. use it in an e-mail. Then you need to add the <a href="yourvariablename">click here</a> tags. Be careful, you might need to change , for ; because of regional settings.

     

    Hope this helps somebody who came here by searching how to provide a link to a library. And by the way, this works even when there is a subfolder within the library.

     

    Cheers,

    Nina

     

     

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!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 304

#2
David_MA Profile Picture

David_MA 245 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 243 Most Valuable Professional

Last 30 days Overall leaderboard