Forum Discussion
Sharepoint folders with segmented permissions: able to copy and paste the structure?
So I have a 2024 folder that holds many subfolders, some are only viewable by the Owner of the site, and then the rest are for everyone (Members, Visitors).
For 2025 I want to copy this folder so the same folder path are mantained each year, but I don't want to go through the hassle of going folder by folder again so the Owners have the specific permission for those private folders.
Is this possible? I tried copying and pasting the 2024 folder, but only duplicated the folder path in a second 2024 folder. Would be lovely if every permission for every subfolder can be replicated.
PD: Is there a way to automate this in case the copying pasting is impossible? All the private folders I need are called "Address" in each sub-folder inside 2024 (there are no more sub or sub-sub folders).
- Unfortunately, SharePoint doesn't copy permissions when the folder structure is copied. There are a couple of options that you could use.
PowerShell script to copy the folder structure with permissions.
https://www.sharepointdiary.com/2021/11/copy-permissions-from-one-folder-to-another-in-sharepoint-online-using-powershell.html
Power Automate to set permissions on folders. I've made a little demo video here that may help.
https://www.youtube.com/watch?v=2hTgQJrKzBo
2 Replies
- Unfortunately, SharePoint doesn't copy permissions when the folder structure is copied. There are a couple of options that you could use.
PowerShell script to copy the folder structure with permissions.
https://www.sharepointdiary.com/2021/11/copy-permissions-from-one-folder-to-another-in-sharepoint-online-using-powershell.html
Power Automate to set permissions on folders. I've made a little demo video here that may help.
https://www.youtube.com/watch?v=2hTgQJrKzBo- RickytrucoBrass ContributorThanks! Damm u_u thought this might be the case. None of the options work for me as I have no idea of PowerShell. But good to know I can close this.