I am working a report that will generate all the document inside a library. I succeeded creating the flow but I noticed that it does not return all the files in the library. I checked the item count in the site contents and it shows that I have 5147 files in my library but my report only gets 5047.
I already turned on the pagination setting on the get files action on my flow and I set the threshold to 100k but still returns the same file count.
Could you please share some more details about the flow? Specially Get files action part.
Also are these files contained in the same folder?
For now, you can give a try to List folder action, it returns files contained in a SharePoint folder.
Then compare the outputs of these 2 actions.
If this answers your question, please mark your post as Solved.
Hope the above content may help you.
The files are stored in the library and they are not inside a folder.
The items in this library contains 5105 files.
However, my get files action from my flow only returns 5047
I wouldn't trust the UI metrics on the library. Double check that there are no folders in the library. It also might be a problem with certain restricted file types. But I don't really have an obvious solution to offer.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Did you know that you could restore a deleted flow? Check out this helpful article.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
At the monthly call, connect with other leaders and find out how community makes your experience even better.