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 / [Sahrepoint] Get file ...
Power Automate
Answered

[Sahrepoint] Get file properites 404 file not found

(0) ShareShare
ReportReport
Posted on by 7

Hello,

 

i have problem with flow that use connector get file properties. 

I have (at least) one person in my company for who this step  almost always will failure.

 

 

I share this flow with him by run only users but if he recreate this flow by himself (from zero) error is that same so...

We was checking if this is not problem with sharepoint site by trying on diffrent one. 

 

Configuration of the flow:

config.pngwhole.pngerrorConnector.png

Categories:
  • abm abm Profile Picture
    33,004 Most Valuable Professional on at

    Hi @ketyas 

     

    Is this error happening for newly created files?

     

    Thanks

  • ketyas Profile Picture
    7 on at

    No its for all type of files. Actually yesterday i find out that problem is with "For Selected File" because it doesn't return fileID (or ID).

    Its returning file name but not id....

     

     
     
  • v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @ketyas ,

     

    Please make sure that the Site Address and Library Name configured in the trigger and Get file properties action are the same.

    When testing, please select a new file from Library to trigger Flow and see if a similar issue still exists.

     

    Best Regards,

  • ketyas Profile Picture
    7 on at

    Just try, didn't help. As i mention before this is problem with "For Selected Item" connector. 

    We also was trying on different SharePoint site.

     

    That how looks body of wrong Selected Item:

    {
     "text": "sd", <<- comment from trigger
     "entity": {
     "filePath": "/new/tymczasowy BI.xlsx",
     "fileUrl": "thereIsFileURL"
     }
    }

     

    And that is how looks body of proper trigger:

    {
     "text": "sss",
     "entity": {
     "ID": 533,
     "itemURL": "thisIfFileURL",
     "fileName": "fileNameWithExtension",
     "FileId": "533"
     }
    }

     

  • v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @ketyas ,

     

    Have you tried to create a new flow?

     

    Or you could use Get file metadata using path to get the file identifier or ID first since that you could get the file path.

     

    I have made a test on my side and I can get the correct ID from this trigger.

     

    Best Regards,

  • ketyas Profile Picture
    7 on at

    Is i was trying to create new flow (with only two steps). I was creating own flow and share with this user and then user create his own flow.

     

    With both cases same result.

    For me and others users this flow works fine, but for this one... 

     

    Anyway i'm right now creating workaround to get fileID by Get Files (Properties only) and file name from trigger.

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

     

     

    If you need any help with the workaround, just ask.

     

    Best Regards,

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard