cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mariner9
New Member

Mirror a subset of directories on one SharePoint Site to a different SharePoint Site

Looking for help from this super-supportive community.

I am new here and trying to grasp everything Power Automate can do.  I have searched the templets and forums and have yet to find specifically anything asked that matches what I need automated.

 

I am trying to sync or mirror a subset of directories from one SharePoint Site to a different site.  Syncing folders, subfolders and files, keeping them current one way (from MAIN to SECOND). File and Directory creations, updates and deletes need to echo on the SECOND site.  Not all directories are to mirror over though. I assume custom folder properties can be added to indicate what directories copy?

 

Here is the gist, Syncing from;

myco.sharepoint.com/sites/MAIN/

Documents/Folder 1       Sync=No

Documents/Folder 2       Sync=Yes

Documents/Folder 3       Sync=No

Documents/Folder 4       Sync=Yes

 

Syncing to;

myco.sharepoint.com/sites/SECOND/

Documents/Folder 2

Documents/Folder 4

The activity would trigger either on a change or run once a day.  It is not super important for real-time updates.

 

Any thoughts on how to build this out?

Thanks kindly in advance.

1 REPLY 1
JohnAageAnderse
Super User
Super User

Hello @mariner9 

 

You should be able to do this using a Recurrent flow (Recurrence trigger) which then retrieves your folders (Get files (properties only) to be synchronized.

Loop through each folder (Apply to each) and copy the folder (Copy folder) to the SECOND site.

Try it out and let us know how far you get 🙂

Kind regards, John

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Users online (42,973)