Use solutions with Power Pages

By using solutions with Power Pages, you can contain and transport all website configurations through standard Microsoft Power Platform solutions. Combine all website and Dataverse components into a single solution artifact, and then take advantage of advanced application lifecycle management (ALM) capabilities to deploy websites to destination environments by using managed solutions.


You'll need to enable enhanced data model to use solutions with Power Pages. More information: Power Pages enhanced data model

Add Power Pages site and components to a solution

  1. Open the Power Pages home page.

  2. Select the Solutions tab.

    Screenshot that shows the Solutions tab on the Power Pages home page.

  3. On the toolbar at the top of the page, select New solution. Fill in the solution details, and then select Create to create the solution.

  4. Go to the new solution.

  5. On the Add existing menu, select Site.

    Screenshot that shows the Site command on the Add existing menu.

  6. In the Add existing sites panel, select one or more sites, and then select Add.


  • If the Site command doesn't appear on the Add existing menu, your environment doesn't include any websites that were created by using the enhanced data model.
  • This process adds all the site components to the solution.
  • Dataverse system tables associated with site components won't be added to the solution automatically, you need to add them using add existing tables.

Add website components

As you create new components and add them to your website, you can add them to the solution that contains the website.


New website components aren't automatically added to the solution that contains a site. You must use the following procedure to add them.

  1. On the Power Pages home page, select the Solutions tab.
  2. Select the solution that you want to add components to.
  3. On the Add existing menu, select More > Other > Site Component.
  4. In the Add existing Site component panel, select the site components, and then select Add to add them to the solution.

Alternatively, you can add the required components to your site.

  1. In the solution, select the site.
  2. On the main menu, select Advanced, and then select Add required objects.
  3. In the panel that appears, select OK to continue. After a few moments, you'll receive a message that the required objects have been successfully added to the solution.

Export the solution from the source environment

Select the solution, and then select Export solution on the main menu. For more information about how to import and export solutions, go to Solution Concepts.

Import the solution into the target environment

  1. On the toolbar at the top of the page, select Import solution.
  2. Browse to the location of the exported solution, select the file, and then select Open.
  3. Select Next.
  4. Select Import.

After the solution is imported, it appears in the solution list.


If the solution is unmanaged, select Publish all customizations in the destination environment.

Reactivate the site in the target environment

After the website has been transferred to the target environment, you must reactivate it.

  1. In the target environment, on the Power Pages home page, select Inactive sites. The website that you transferred to the environment should be listed.

  2. Select Reactivate.

    Screenshot that shows the Reactivate button on the Inactive sites section of the Power Pages home page.

  3. You can specify the reactivated website's name and create a web address, or you can leave the default values.

  4. Select Done.

The target environment should reflect the website updates from the source environment. From now on, you should be able to transfer the configuration from your source environment to the target environment by transferring the website configuration data.

Bind the record for an enhanced data model website to a site

The following steps show how you can update an existing website by using the configuration from the source environment.

  1. Open the Power Platform admin center.

  2. Select the destination environment.

  3. In the Resources section, select Power Pages sites.

  4. Select the destination site, select the ellipsis (), and then select Manage to open the site details page.

  5. In the Site Details section, select Edit. Select the imported site record in the Website Record dropdown list, and then select Save.

    Screenshot of the imported site record selected in the Website Record dropdown list.

  6. Select Site Actions, and then select Restart site.

Your destination environment site is now updated with data from the source environment site.


You can't use the Power Pages Management app to delete a website configuration that is part of a managed solution. To remove the website, delete the managed solution.

Frequently asked questions

What is the best practice for migrating a Power Pages website by using solutions?

For best practices, go to Overview of application lifecycle management with Microsoft Power Platform.

After I imported site configuration data in a managed solution, I edited my website in the target environment. Why don't I see any new changes when I import managed solutions from my source environment?

We recommend that you don't edit the site configuration data in the target environment. Otherwise, an unmanaged solution layer is created, and the target environment won't reflect changes from the source environment. To fix this issue in the target environment, you must remove the unmanaged solution layer. For more information, go to Solution layers.

See also