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 / Synching Documents wit...
Power Automate
Answered

Synching Documents with document libraries

(0) ShareShare
ReportReport
Posted on by 115
I have what I think is a simple flow that is supposed to synch two document libraries, moving documents from one library to another when the status is changed.  The flow is getting file properties from one location library and getting file properties from the other library on a Filter Query filename with extension and status equal to Approved. There is then a condition to get file properties on the library that is housing what I will call the original document with approved status if greater than 0, if yes, keep and if no, compose and delete file, and then a second compose 2 with an input of varCount.  This flow runs every day at 21:00. 
 
The issue is, in the main library, I can see the count in this library has 1304 documents, but in the synched library (destination library), the count is only 1117.  I can search for any of the documents and they appear, but not in the "All Documents" view.  I have reviewed the following:
 
  1. The flow is not throwing any errors
  2. I'm signed in with the account that owns the flow and the site where the destination documents are synching to, so should not be permission issue
  3. When I checked the flow, it had stopped (initially destination library only had 1000 documents, after refreshing the flow, count is now at 1117
  4. The view on the destination library has only one filter on the signed date, no other groupings/filters/folders
I do not understand what is happening here.   All documents should be visible in the library.  The flow is simply copying file on the identifier from one library to another and if another file is already there, replace.
 
Any help is appreciated. 
 
 
 
Categories:
I have the same question (0)
  • Suggested answer
    David_MA Profile Picture
    14,956 Super User 2026 Season 1 on at
    Please share a screen shot of your flow so we can get a better idea of what the flow is actually doing.
  • Verified answer
    wyattdave Profile Picture
    493 Moderator on at
    What pagination settings do you have on the get files?
    Have you identified what the missing files have in common, check name alphabet order, size, created time, the approve field (no white spaces or different case, e.g Approve will not match approve),  as understanding what they have in common will help identify the issue.
     
    You also say 
     'I can search for any of the documents and they appear, but not in the "All Documents" view.'
    Does this mean you have files not copied and more files not showing in All docs view. If so that's a different issue, you need to look at the differences in view filters to find out why. This might help with first issue to
  • CU29092301-0 Profile Picture
    115 on at
    Thank you, I have spent more time reviewing this and found that there is a flow that is ingesting documents using an AI document processor model and this flow is failing due to AI Builder credits being depleted and therefore the second flow that grabs those documents and does the nightly sync is running but not syncing content, because the AI Builder flow is failing on the extract and creation of those documents. 
     
    In the meantime, I have been manually checking the main library and copying over any new documents and updating the metadata manually, this only works because there usually not a large number of documents.
     
    I have also reached out to our Admin level folks to see if we can clarify/identify how many AI Builder credits we have and requested to get this increased so that the flow can run without fail.  I'm not sure where to look to see what AI Builder credits/licensing we have as I don't have access to the Admin Center.
     
    Thank you for your help on this matter. 

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard