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

Community site session details

Session Id :
Power Pages - General Discussions
Unanswered

Migrating Power Pages Portal to another environment

(0) ShareShare
ReportReport
Posted on by 16

I am having a lot of issues with this. I've successfully moved a regular portal between environments following the instructions here:
https://learn.microsoft.com/en-us/power-apps/maker/portals/admin/migrate-portal-configuration?tabs=CLI

However, instead of a portal, I now have a Power Pages Site I need to move.

evilmonkey_0-1665512216444.png

 

I've successfully used the CLI to move the configuration and it shows up as website in the new environment

However, I am at a loss of what to do now. For a portal, I would create a new one and choose the "use data from an existing website" option as noted in the article I linked to above. If I do try to create it as a new portal, it just errors when trying to access it (since it creates it as a "Portal" and not a "Power Pages site")

I see no such option when creating a new Power Pages Site. I can only choose a template and then it provisions the site.

 

I have set up one with a template anyways, then attempted several things as follows:

  1. Went to the site settings and switched it to use another website (the one I moved with the CLI)
    evilmonkey_1-1665513762590.png

     

  2. Updated the Primary Domain Names on the website (prefixing the one I created from the template with "Orig" and making sure the one imported with the CLI has the correct URL)
    evilmonkey_2-1665513987681.png

     

  3. Updated the bindings:
    evilmonkey_4-1665516649168.png

     

  4. Purged the Cache and Restarted the site.
    evilmonkey_3-1665514584161.png

     

After all of that, I can't pull up the site (unless I switch the bindings back in which case it just pulls up the one I created from the template). In addition, trying to edit that portal/Power Page Site also just pulls up the template one.


What exactly am I missing here?

Categories:
I have the same question (0)
  • pompousROB Profile Picture
    71 on at
    Re: Migrating Power Pages Portal to another environment

    Did you ever find a solution to this? Ive encountered the same issue.

  • pompousROB Profile Picture
    71 on at
    Re: Migrating Power Pages Portal to another environment

    For anyone in future with this issue, the work around I found was the create a Blank PowerPage from the Template in the Target environment, then Open the Admin center and change the Website Record to point at the records you have already imported from the CLI or other means. 

     

    This seems to be the equivalent of making a Portal Page from existing records. But you create a Blank one first, and then point it at the records you have imported.

     

     

    pompousROB_0-1675107090757.png

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 46 Super User 2025 Season 2

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 45 Super User 2025 Season 2

#3
Jerry-IN Profile Picture

Jerry-IN 40

Last 30 days Overall leaderboard