Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - Power Apps Portals
Suggested answer

Copy PowerPages Site

(0) ShareShare
ReportReport
Posted on by 20

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!

Categories:
  • Suggested answer
    Jon Unzueta Profile Picture
    751 on at
    Copy PowerPages Site
     

    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:


    Option 1: Duplicate Using Solutions (Recommended for Enhanced Data Model)

    This method works best if your site uses the enhanced data model.

    Steps:

    1. Go to Power Pages Designer
      Navigate to Power Pages and open the Solutions area.

    2. Create a New Solution

      • Click New Solution.
      • Give it a name and publisher.
    3. Add Existing Site to the Solution

      • Click Add Existing  Site.
      • Select your existing Power Pages site.
      • This will include all related components (pages, web roles, permissions, etc.).
    4. Export the Solution

      • Choose Unmanaged or Managed depending on your use case.
      • Export the solution.
    5. Re-import the Solution into the Same Environment

      • Re-import the solution using a different site name.
      • After import, go to Inactive Sites in Power Pages and activate the new site  .
    6. Update Site Settings (Optional)

      • Change the site URL or branding to differentiate it from the original.

    ⚙️ Option 2: Use Power Platform CLI (Advanced)

    If you're comfortable with command-line tools, you can use the Power Platform CLI (pac) to export and import site configurations.

    Key Commands:

    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.


    🔒 Notes:

    • Data Loss Prevention (DLP) policies may still apply if you're using connectors or flows.
    • Always test the duplicated site thoroughly before making it live.
    • If you're using the standard data model, you may need to manually recreate some configurations.
     
    🏷️ Tag me if you have any further questions or if the issue persists.
    ✅ Click "Accept as Solution" if my post helped resolve your issue—it helps others facing similar problems.
    ❤️ Give it a Like if you found the approach useful in any way.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >