Export and Import Agents
You can export and import agents using solutions to move your agents between multiple environments. For example, you can create your agent in a development environment, then move it to another environment for testing purposes. Once testing is complete, you can move it to a production environment so the agent can be deployed to end users.
Solutions are the mechanism for implementing Application Lifecycle Management (ALM). The solution acts as a container for agents. You use solutions to export the agent from one environment and import it into another. For more information, see Solutions.
Export your agent
You can add an agent to an existing solution or create a new solution for your agent from Power Apps Solutions.
In your browser, go to the Power Apps authoring portal: make.powerapps.com.
On the left side, select Solutions.

Select the solution to which you want to add the agent.

In the solution, choose the agents you want to add by clicking Add existing > Agent. Multiple agents can be added to a single solution.
Note
It is also possible to create a new agent from the solutions.

In the solution, choose the agents you want to add by clicking Add existing > Agent. Multiple agents can be added to a single solution.
Note
It is also possible to create a new agent from the solutions.

Note
If you add other components to your agent, such as creating new topics, you can add them to the solution by selecting Add required objects from the agent in the solution, as shown here.

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

Select the circle next to the name of the solution you want to export.
Select the Export button at the top.
Select Next in the export pane, then select Export.
This downloads a .zip file of the solution, which is used to import the agent into another environment. If you move your agent to a test or production environment, you must export it as a managed solution.
For more information, see Export solutions.


Import your agent
You use the solution package downloaded during the export step to import your agent into the desired environment. The import is done from Power Apps Solutions.
At the top right, select the name of your environment and switch to the desired environment to import the solution and the agent there.
On the left side, select Solutions.

Select Import a solution, then choose your solution .zip file.
Select Next, then Import the solution.
For more information, see Import solutions.

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