SOLVED

Copying a file structure while retaining permissions (SharePoint Online)

%3CLINGO-SUB%20id%3D%22lingo-sub-1182333%22%20slang%3D%22en-US%22%3ECopying%20a%20file%20structure%20while%20retaining%20permissions%20(SharePoint%20Online)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1182333%22%20slang%3D%22en-US%22%3E%3CP%3EIs%20there%20a%20way%20to%20copy%20a%20file%20structure%20and%20retain%20permissions%3F%20My%20organization%20has%20built%20a%20template%20file%20structure%20with%20each%20directory%20having%20a%20unique%20set%20of%20permissions%2C%20and%20when%20copying%2C%20SharePoint%20reinstates%20the%20inheritance%20for%20the%20parent%20folder.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20work-arounds%20or%20ways%20to%20avoid%20this%3F%20Looks%20like%20it%20can%20be%20done%20with%20PowerShell%2C%20and%20I%20have%20attempted%20to%2C%20but%20it%20is%20proving%20to%20be%20a%20lot%20more%20complicated%20than%20anticipated.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20your%20time%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1182333%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1183399%22%20slang%3D%22en-US%22%3ERe%3A%20Copying%20a%20file%20structure%20while%20retaining%20permissions%20(SharePoint%20Online)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1183399%22%20slang%3D%22en-US%22%3EA%20third%20party%20migration%20tool%20is%20your%20best%20bet%20here%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1183916%22%20slang%3D%22en-US%22%3ERe%3A%20Copying%20a%20file%20structure%20while%20retaining%20permissions%20(SharePoint%20Online)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1183916%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F458165%22%20target%3D%22_blank%22%3E%40Plate1845%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20used%20ShareGate%20which%20will%20do%20this%20for%20you.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Is there a way to copy a file structure and retain permissions? My organization has built a template file structure with each directory having a unique set of permissions, and when copying, SharePoint reinstates the inheritance for the parent folder.

 

Any work-arounds or ways to avoid this? Looks like it can be done with PowerShell, and I have attempted to, but it is proving to be a lot more complicated than anticipated.

 

Thanks for your time

2 Replies
Highlighted
Best Response confirmed by Plate1845 (New Contributor)
Solution
A third party migration tool is your best bet here
Highlighted

@Plate1845 

 

I have used ShareGate which will do this for you.