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 / Folder Identifier in L...
Power Automate
Unanswered

Folder Identifier in List Folder Flow Action (404) File Not Found using SharePoint Folder ID

(0) ShareShare
ReportReport
Posted on by 41

TL;DR: Folder Identifier field in List Folder Action, from my research requires a path (GUID), not a numeric folder ID. I only have the numeric SharePoint Folder ID's, can I some how use an expression or another action to get the GUID from the Numeric Folder ID?

 

Hi all,

For the last few months I've been using a Flow to create folders in a SP Library then storing the numeric folder ID into a SP List. I intended to call back these ID's in another flow and extract a zip into these folders.

 

I'm now building the new flow and made the assumption that I could use the 'List folder' action and pass the Numeric ID from the SP List into the 'Folder Identifier' field. This result's in a 404 File not found.

 

I've had a look at at similar issues posted here, but it's not clear to my scenario. From what I think I understand, is that this action requires a GUID (like a path) rather than Numeric ID. 

If this is the case, I'm a bit stumped on what to do next. Can I somehow get this GUID from an action or expression using the SP Folder Numeric ID? (Edit: or even a share link to the folder) 

 

Another solution was to use the action 'Get Folder Metadata using Path' and apparently pass the GUID into the List Folder Action. I haven't been able to test this because again I'm stuck on how to get the path from the SP folders numeric ID.

 

Am I looking at this Flow wrong, should I be using different actions or different inputs to solve this problem? Thanks.

 

Flow: (List Sales Cloud Folder = List Folder, Lead Folder ID = ID "Numeric SP Folder ID")

Flow ActionFlow Action

 

Flow Error:

Flow ErrorFlow Error

 

Error Details:

Error DetailsError Details

 

Raw Input:

Raw InputRaw Input

 

Raw Output:

Raw OutputRaw Output

 

Categories:
I have the same question (0)
  • Verified answer
    tom_riha Profile Picture
    10,185 Most Valuable Professional on at

    Hello @PHCMA ,

    folder is just another type of a "file" in a document library, you can use the action 'Get file properties'. Use the ID you have to get the Identifier of the folder.

  • PHCMA Profile Picture
    41 on at

    YES, perfect!
    This has worked for me, so I'll mark as the solution 🙂

     

    But, I will point out though, you do need to provide a document library along with the ID. Fortunately for me my list contains profile data and the Libraries are named after each user.  I've had to initialize & set a variable based on the profile DisplayName and pass that to the Library Name field. 

    Set Variable for Library DirectorySet Variable for Library Directory

     

    While the flow works and copies the files, I still do get a 404 - File not found error. Not sure if you can if you have any ideas about this, the error doesn't provide much info. If not, all good I'll just skip the error. 

    404 Error after successful copy.404 Error after successful copy.

     

     

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 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard