Need assistance, I am new to Power Automate and I am not a developer. I am trying to keep two Sharepoint sites in Sync for specfic libraries. I created the flow below, it works for one file. How do I get it to work for all files in a library?
first, you need to change the trigger, You can trigger this manually, on a schedule, or based on file changes
Then
Step 1: Get All Files from Source Library
Action: Get files (properties only)
Site Address: Source Site
Library Name: Source Library
Step 2: Loop Through Each File
Action: Apply to Each
Input: value from Get files (properties only)
Inside the loop:
Get File Content
Action: Get file content
Site Address: Source Site
File Identifier: Identifier from the loop
Create File in Target Library
Action: Create file
Site Address: Destination Site
Library Name: Destination Library
File Name: Name from the loop
File Content: Output of Get file content
Was this reply helpful?YesNo
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.