Hi,
I have a Power Pages site that's part of a solution, and I need to make some changes. However, I want to avoid modifying the original site directly. Instead, I’d like to create a copy of the existing site within the same environment, so I can safely apply changes to the duplicated version.
Could anyone guide me on how to properly duplicate a Power Pages site in the same environment while maintaining all configurations and customizations?
Thanks in advance!
To duplicate a Power Pages site within the same environment while preserving all configurations and customizations, you can follow a structured approach using Solutions and the Power Platform CLI. Here's a step-by-step guide:
This method works best if your site uses the enhanced data model.
Go to Power Pages Designer
Navigate to Power Pages and open the Solutions area.
Create a New Solution
Add Existing Site to the Solution
Export the Solution
Re-import the Solution into the Same Environment
Update Site Settings (Optional)
If you're comfortable with command-line tools, you can use the Power Platform CLI (pac
) to export and import site configurations.
pac auth create --url https://yourenvironment.crm.dynamics.com
pac paportal download --path ./exportedSite
pac paportal upload --path ./exportedSite
This allows you to export the site locally and re-upload it as a new site.