Forum Discussion
Move/Copy SharePoint Pages from one Site to Another in Classic View
- Jul 14, 2021
Corbenik you can also copy pages, including any images on them, to a different site using a simple flow in Power Automate:
Rob
Los Gallardos
Microsoft Power Automate Community Super User
RobElliott and Corbenik
With the flow created as instructed, I see that the text contents are transferred perfectly. However, I didn't get images transferred to the 'Site Assets' folder. Therefore, the page looks like the attached image on the end-users screen. Am I missing something? Appreciate your help!
New suggestions please
- JohnMoore33Dec 17, 2021Brass Contributor
You can try using Create New File rather than copy. (I used another trigger instead of json button in list, my flow triggers when page is modified).
Note that you have to set specific permissions when you want to copy SitePages using Power Automate. Even if the user is owner of the site you'll get an access denied, unless you change the"-DenyAddAndCustomizePages $false"
using powershell as explained in https://www.qdoscc.com/blog/sharepoint-o365-permissions-deny-add-and-customise-pages-issue