Delen via


Create and manage solutions in Copilot Studio

When you create an agent in Copilot Studio, it's collected within a Power Platform solution. You can create custom solutions to manage your agents across multiple environments, or for pipeline deployments and other application lifecycle management (ALM) scenarios.

You can view, export and import solutions, set your preferred or default environment, configure pipelines, and customize and manage your solutions directly in Microsoft Copilot Studio.

Solutions can be useful if you use different environments for different purposes, or you employ ring-deployment methodologies. For example, you might have an environment to test and validate agents, another environment to test agents for only a subset of users, and a production environment where you share agents with customers.

Prerequisites

  • The solution explorer in Copilot Studio inherits the security role privileges of the user. This means a user can only perform the solution-management tasks in Copilot Studio that they can perform in the Power Apps admin center. Ensure your users have the correct roles and permissions to manage solutions. Learn more about configuring user security in an environment.
  • Familiarity with Power Apps solution concepts.

View solutions in Copilot Studio

A solution acts as a "carrier" for your agents. When you create an agent, it's automatically added to a default solution, which you can change.

You can view the solution that contains your agent in the solution explorer in Copilot Studio.

You can access the solution used by a specific agent in a couple of ways:

  • From the agent's overview page in Copilot Studio:

    1. In Copilot Studio, open the agent that you want to manage the solution for.

    2. On the agent's Overview page, select the menu icon () just below the environment name, next to Settings, and then select View solution.

      Screenshot of the solutions button in the settings menu on the agent's overview page.

  • From the agent's settings in Copilot Studio:

    1. In Copilot Studio, open the agent that you want to manage the solution for.

    2. On the agent's Overview page, select Settings, just below the environment name. You're taken to the settings page for the agent.

    3. On the Agent details or Advanced page, select View solution.

      Screenshot of the view solution button in an agent's advanced settings in Copilot Studio.

To access the solution explorer:

  • From the side navigation pane in Copilot Studio:

    1. In Copilot Studio, select the menu icon () on the side navigation pane, and then select Solutions.

      Screenshot of the Solutions icon in the Copilot Studio side navigation pane menu.

The solution explorer opens in a new browser tab.

Manage solutions in Copilot Studio

You can perform all the usual solution-related tasks directly in Copilot Studio, such as adding or removing components, exporting, and importing solutions:

Tip

Ignore instructions in the Power Apps documentation that tell you to sign in to Power Apps. If you're logged in to Copilot Studio, you don't need to go to Power Apps.

Set your preferred solution

  1. Open the solution explorer in Copilot Studio.

  2. Select Set preferred solution on the top menu bar, above the list of solutions.

  3. Choose the solution you want agents to be created in by default.

See the Power Apps documentation for more information on setting your preferred solution.

Create a custom solution

Copilots are created in a default solution automatically. To export, import, and manage agents between environments, you need to create and use a custom solution.

  1. Open the solution explorer in Copilot Studio.

  2. Select New solution, and follow the instructions and requirements in the Power Apps documentation to create a solution.

  3. The solution you created should open automatically. If it doesn't, return to the solution explorer and select your new custom solution.

Import and export solutions

You can export and import the solutions that contain your agents from one environment to another.

Follow the steps at Export and import solutions in Copilot Studio for more details on how to use solutions to export and import agents.

Add components to an agent in a custom solution

You might need to add components to your solution if you want to export an agent.

Follow the instructions and requirements in the Power Apps documentation to add an existing component to a solution.

Upgrade or update a solution with an agent

Follow the instructions and requirements in the Power Apps documentation to upgrade or update a solution.

Remove an unmanaged layer from a managed agent

Managed and unmanaged solutions exist at different levels in a Microsoft Dataverse environment. To learn more, go to the Power Apps documentation for Solution layers.

  1. Open your solution.

  2. Select Agents, and then select your agent in the list.

  3. Select Commands (), select Advanced, and then select See solution layers.

    Screenshot highlighting the See solution layers option under the Commands menu in Power Apps.

  4. In the Solution Layers page, select the unmanaged layer, and then select Remove unmanaged layer.

Create and manage solution pipelines

Solution pipelines are a feature of Power Platform that you can use to automate the deployment of solutions across environments.

  1. Open the solution explorer in Copilot Studio.

  2. Select Pipelines underneath the list of solutions.

Follow the instructions and requirements in the Power Apps documentation for creating and managing pipelines.