Migrate Power Pages to enhanced data model

 So you want to get on the hype train...

On September 29th the new enhanced data model, solutions and pipelines was made available for Power Pages. Huzzah!

Now, you might have read the small print saying 

"Guidance and tooling support to help you migrate from the standard data model to the enhanced data model will be provided in a later update soon."

Microsoft, 2023

 

Well I am here to tell you that there's an easy way to migrate (YMMV) using the pac tool.

For this I assume you've installed the latest version of the power pages packages and that you've activated the enhanced data model. If not, please see this article.

First, download your old portal using the following command

pac paportal download --webSiteId your-guid-here --path yourLocalFolderHere


Next, upload the portal as an enhanced data model

pac paportal upload --path yourLocalFolderHere --modelVersion 2 --forceUploadAll

Finally, assuming everything went successfully and blissfully fine (again, YMMV), navigate to make.powerpages.microsoft.com, navigate to the "inactive sites" tab and voilà, find your amazing new pages site here. Click the reactivate button to set the URL for your newly migrated portal and let the platform work its wonder.

If you, like me, had everything go fine then you can open the new and shiny "Power Pages management" app to edit your site settings, et.al.


Some thoughts:

Microsoft has not said anything about support for this method, so to reiterate for a third time, your mileage may vary.
Secondly, make sure you do proper regression testing, please.
Thirdly, have fun playing with the new, shiny features.

ta

Comments

Popular posts from this blog

Adding new assets to a Power Pages solution

Using upsert in power fx with multiple records