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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Get file properties fr...
Power Automate
Unanswered

Get file properties from Sharing link

(0) ShareShare
ReportReport
Posted on by 3

Hi gurus, 

 

I have a Sharepoint list where in each entity users add the link to the ppt file stored in a library, so we have the sharing link/url.

 

And next in the recurred flow I have to check file properties (Modified date). But all methods that I see (Get file properties, get file metadata etc.) require ID.

 

Is it possible to resolve sharing link and get file ID?

 

TIA

Categories:
I have the same question (0)
  • Verified answer
    v-yamao-msft Profile Picture
    on at

    Hi @brainstorm13 ,

     

    Do you want to get file identifier from a Sharing link?

     

    I am afraid that it is not possible to get file properties from a Sharing link.

     

    I have figured out the following workaround for your scenario, please take it for a reference.

     

    In the list, besides the column for the Sharing link, add another text column, name it as “PPTName”.

     

    In the library, add a custom single line of text column, name it as “FileName”, you may need to enter the exact file name manually later on.

     

    Then set up the flow likes below.

     

    Add trigger when an item is created.

     

    In action Get files (properties only), input the following code in the Filter Query field:

    FileName eq 'PPTName'

    Then you could get the file’s modified time by using dynamic content Modified.

     

    Note: When using above workaround, please remember enter the exact file name in the Library first when you upload it. Then in the list, in addition to add the sharing link, add the PPT name as well.

    1.PNG

     

    Best regards,

    Mabel

     

  • brainstorm13 Profile Picture
    3 on at

    Thank you for answering, interesting solution.

     

    I'd rather add filename automatically. Perhaps there is a way to download web content using that sharing link to get the name of downloaded file?

  • v-yamao-msft Profile Picture
    on at

    Hi @brainstorm13 ,

     

    I have tried to find out a way to get file name from the sharing link, but it seems that it is not possible to get the file name from the link.

     

    Best regards,

    Mabel

     

  • tc1234 Profile Picture
    4 on at

    Hi there, 

    I have the exact same scenario - just wondering if you had managed to do this? I don't think it will fly for the users to have to put in the filename in our scenario

    Appreciate any help!

  • Community Power Platform Member Profile Picture
    on at

    I have the same challenge. But, when pasting a sharing link into an Outlook email, the display text is automatically replaced by the file name. So there seams to be some kind of API to at least get the file name from the sharing link? 

  • Community Power Platform Member Profile Picture
    on at
  • HallieG Profile Picture
    81 on at

    Can you show me your screenshots? the links didn't work and I can't replicate what you are suggesting. 

  • roxy1 Profile Picture
    195 on at

    Hi @brainstorm13 / @HallieG  / @tc1234 - did you have any luck with a solution! I have the same issue I've just posted about!

  • roxy1 Profile Picture
    195 on at

    I also need screenshots and help with this! 😄 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard