web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / export and import Powe...
Power Pages
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:
I have the same question (0)
  • ragavanrajan Profile Picture
    7,044 Most Valuable Professional on at

    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. 

     

     

  • oliver.rodrigues Profile Picture
    9,368 Most Valuable Professional on at

    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

  • Sannadi77 Profile Picture
    9 on at

    @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.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard