Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

SharePoint Document files not found

(0) ShareShare
ReportReport
Posted on by 76

I have a simple flow which up to recently was working fine. The intent of the flow is to update file properties of all files in a specific SharePoint folder. The "Get Files (properties only)" step is no longer working.

JT1964_0-1693935355762.png

 

I have verified that the site address and the folder in the "Limit Entries to Folder" selection are correct.  The flow was working fine last week (see duration), by now suddenly succeeds in milliseconds and is not locating any files.

 

When I look at the run history at the Get files (properties only) step, I see this, where the value field is [ ].  When it successfully runs, the value field contains all the field information.

 

What am i missing??

JT1964_1-1693935774398.png

 

 

 

 

  • CU29071243-0 Profile Picture
    CU29071243-0 76 on at
    Re: SharePoint Document files not found

    I don't understand how adding the Include Nested Items "No" made this work.  The file is located alone in a folder that does not include any other subfolders.

  • CU29071243-0 Profile Picture
    CU29071243-0 76 on at
    Re: SharePoint Document files not found

    I re-verified that the file was in the right location.

     

    I got it to work, but only after making this change:

    JT1964_0-1693948078028.png

     

  • David_MA Profile Picture
    David_MA 8,952 on at
    Re: SharePoint Document files not found

    What you are seeing means when your workflow ran, it found no files in the specified folder. Are you sure there were files located in the specified folder when the workflow ran? You can use a condition with a length expression to see if the Get files action returned any data. You can then branch down the yes side if files are found and down the no side if not. This is an example of the expression with a Get items action:

    length(body('Get_items')?['value'])

     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,495

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,822

Leaderboard