This video tells you about how you can migrate SharePoint Modern Site pages to New Destination site keeping the data intact. Power Automate is being used to migrate the site pages. For full steps, please watch the video.
Absolutely wonderful, thank you so much for this. Having seen so many comments on Microsoft support forums saying this was not possible I was so happy to see this video. Worked a charm first time. Thank you!
Helpful tip: If it get's stuck, make sure none of the pages are "checked out" or still being edited. If you sort both lists, you should be able to find the offending page. BTW, this AN amazing tutorial. This question is unanswered ALL over the internet forums. I can verify it works.
Hi, having a problem with step Copy File, there is no 'Identifier' property found from previous step 'Get files(properties only)'. What could I be doing wrong?
Thankyou, You are amazing! -------------- Also just to add, If you use the ODATA Filter also ie; PromotedState eq '2' You can filter on news articles etc.
Thank you! I had to make a couple of changes because I didn't want to copy the files. I wanted to move from one site to the next! It works. Thanks Again!
Thank you so much this works like charm. I have a question though, all my pages point to old site assets library. How do I make it point to new assets library content? Example (I have copied all the pdf's to new site assets but on site pages it still points to old site asset library)
Thank you so much for this! Beyond helpful! I use anchor links within Quick Links as a table of contents. Is there a way to keep the anchor links navigating to the applicable section within the new page? Right now on the new page, the anchor links go to the page I copied.
Hi this looks like it will do the trick nicely. Unfortunately, it is only copying the home page across not the other pages. any ideas why this might be happening?
Great tutorial! Thanks a lot for this. I have been looking for this functionality for a long time! I have two questions: 1. When images are used on a page, are those also transferred? 2. If internal links are used, then all links on the copied page still refer to the orginal site url? I suppose it's not possible to change that in batch?
Create a folder in the Site Pages library of the current site and move the pages that you want to copy in that folder. Then in the "Get file property" limit entries to that folder.
This is awesome, quick question though, i am trying to move all pages from one site to another and one has ~600 pages, and it seems to cap out at 250, even after i've upped the pagination setting to a high number... any ideas?
My first ever flow! I was really scared to mess everything up...! But it worked!!! :-) But like mentioned at min 5:30, my list references are broken. You say you will show this in your next video. Can you please provide the link to that video? (you have so many! ;-))
hi , thanks for your comment. You can just move/create your list first in your target site, then links will work automatically as SharePoint use relative urls.
Same here, I think an update made this video obsolete for that part. For this I think you can use y simpler flow that would be "Manually trigger a flow" -> "Copy file"
On 3:04 the 'Identifier' option isn't shown to me. The dynamic contents shown are all related to "Trigger a flow manually". If I type a random character then I get shown two SharePoint options: 'value' and 'body' which are both in the List Items category. By choosing either I get this error message which unables me to save the flow: "Flow save failed with code 'DynamicOperationRequestClientFailure' and message 'The dynamic operation request to API 'sharepointonline' operation 'GetTable' failed with status code 'NotFound'. This may indicate invalid input parameters. Error response: {"status": 404, "message": "List not found clientRequestId: [...]}". In the "Get files (properties only)" I tried with "Site Pages", "SitePages" and "/SitePages" and the error persists. Any idea?
This option works in the same tenant only. If you wish to move pages across tenants then write a custom console application which uses pnp provisioning engine to export the files and import. docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/pnp-provisioning-engine-and-the-core-library
Hi Stephanie, It does work for copying pages from teams site to communication site. Can you please explain more about the issue? Is it not copying at all or content is not getting copied?
I followed these steps exactly. I get a message that the workflow failed, although the pages did get copied over. However, all links, webparts, and so forth, still point to the old site.
Go to "Get Files property" action --> setting --> Set pagination to true, -> set limit 2000. Now , you should be able to copy more than 100 items in one go
Hi, I`m always getting this error, any thoughts on that? "Copy or move can't rename or replace an existing item at the specified destination location. Please manually rename or delete the existing item before you try again. clientRequestId: 9ac6d85c-6fee-47f5-9b83-17705d5d2be9 serviceRequestId: 9ac6d85c-6fee-47f5-9b83-17705d5d2be9" I did everything by the tutorial, step by step.