Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - General Discussions
Unanswered

export and import Power Pages site

(0) ShareShare
ReportReport
Posted on by 9

Hi Team,

 

Please share how can I export and import customized Power Pages site from visual studio code, I have customized site in Visual Studio code, but I don't see an option to export and import site to new environment ex: Dev to Test/Production

 

are there any PAC commands to do it, please share if there are any references, else what are other ways to do it?

 

Thanks in Advance.

Categories:
  • Sannadi77 Profile Picture
    9 on at
    Re: export and import Power Pages site

    @OliverRodrigues  Thanks for responding, I tried upload to different environment say from Dev to Stage, but the problem here is, it create a new site and doesn't overwrite existing one, and the site which is deployed doesn't have all configurations carried to stage environment, i was wondering if some one have moved their site from one environment to other with customizations, not with traditional approaches but with PAC commands.

  • oliver.rodrigues Profile Picture
    9,319 Most Valuable Professional on at
    Re: export and import Power Pages site

    take a look at the steps provided by Ragavan, basically you need to make sure to provision the Portal in your target environment

    To import the customizations, you can use the PAC PAPORTAL UPLOAD from the CLI: Microsoft Power Platform CLI paportal command group - Power Platform | Microsoft Learn

     

    this tutorial might help as well: Power Apps Portals Tip #138 - Upload Portal Data using the Power Platform CLI - Engineered Code - YouTube

     

    Website GUID sometimes don't match and you might need to re-provision the Portal in your target environment, please follow all the steps above and let us know if you have any further queries

  • ragavanrajan Profile Picture
    7,036 Most Valuable Professional on at
    Re: export and import Power Pages site

    Hi @Sannadi77 

     

    FYI. It doesn't matter whether it is a customised or OOB site. 

     

    There are various ways, including setting up a pipeline using Azure DevOps 

    But one of the simple ways is here: 

     

    https://powerusers.microsoft.com/t5/General-Discussions/Website-created-in-type-developer-Problem-to-convert-it-to-prod/m-p/2193977#M3232

     

    Hope it helps.

    ------------

    If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it. 

     

     

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 > Power Pages

#1
Fubar Profile Picture

Fubar 69 Super User 2025 Season 1

#2
oliver.rodrigues Profile Picture

oliver.rodrigues 49 Most Valuable Professional

#3
Jon Unzueta Profile Picture

Jon Unzueta 43