Export and import copilots

Completed

You can export and import copilots using solutions to move your copilots across multiple environments. For example, you might build your copilot in a development environment, then move it to a different environment for testing purposes. Once the testing is complete, you can move it to a production environment for the copilot to be deployed to end users.

Solutions are the mechanism for implementing application lifecycle management (ALM). The solution acts as a carrier for the copilots. You use solutions to export the copilot from one environment and import it into another. For more information, see Solutions.

Export your copilot

You can add a copilot to an existing solution or create a new solution for your copilot from Power Apps Solutions.

  1. In your browser navigate to the Power Apps maker portal, make.powerapps.com.

  2. On the left-hand side, select Solutions.

    Screenshot of Power Apps Solutions highlighted.

  3. Select the solution you would like to add the copilot to.

    Screenshot of Power Apps Solutions page with the New solution button and Customer service bot highlighted.

  4. Within the solution, choose the copilots you would like to add by clicking Add existing > Copilot. Multiple copilots can be added to a single solution.

    Note

    It is also possible to create a new copilot from solutions.

    Screenshot of Power Apps solution with the Add existing menu expanded and Chatbot selected.

    Screenshot of Power Apps Add existing chatbots dialog showing the list of existing chatbots.

    Note

    Subcomponents of the copilot will be added to the solution, such as topics, entities, and cloud flows. You shouldn't remove or change any of the copilot subcomponents from Power Apps as this can cause the export to fail.

    Screenshot of Power Apps showing a list of all the customer service bot's subcomponents.

    Note

    If you add more components to your copilot, such as creating new topics, you can add these to the solution by selecting Add required components from the copilot in the solution as shown here.

    Screenshot of the list of customer service bot components with the customer support component selected to show the Add required components option.

  5. Once your solution is ready, you can export the package. Go back to all solutions by selecting the Back to solutions arrow on the left pane.

    Screenshot of the back to solutions button.

  6. Select the circle next to the solution name that you would like to export.

  7. Select the Export button at the top.

  8. Select Next on the export pane, and then select Export.

This downloads a .zip file of the solution, which is used for importing the copilot into another environment. If you're moving your copilot to a test or production environment, you should export as a managed solution.

For more information, see Export solutions.

Screenshot of Power Apps solutions list showing customer service bot selected and the export button highlighted.

Screenshot of Power Apps showing the message Solution "customer service bot" exported successfully and will download soon, and the downloads dialog.

Import your copilot

You use the solution package downloaded at the export stage to import your copilot into the desired environment. It imports from Power Apps Solutions.

  1. In the top right, select your environment name and change to the desired environment to import the solution and copilot.

  2. On the left-hand side, select Solutions

    Screenshot of Power Apps Solutions.

  3. Select Import, and select your solution .zip file.

  4. Select Next and then Import.

For more information, see Import solutions.

Screenshot of Power Apps solutions page with the import button highlighted.

Once the import is complete, you see it appear in your solutions list. You can access your imported copilot from Microsoft Copilot Studio as it now appears in your list of copilots in the new environment.

Screenshot of Power Apps with the message Solution "Customer service bot" imported successfully.