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.
@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.
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
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:
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.
Fubar
69
Super User 2025 Season 1
oliver.rodrigues
49
Most Valuable Professional
Jon Unzueta
43