You built an agent in the default solution and now need to move it to test. What do you do first?
- Exam domain
- Test and manage agents25–30% of the exam
- Difficulty
- Medium
- In this mock
- 13 questions on this domainPractise this domain
Why the exam asks this
Implement application lifecycle management (ALM) for agents in Copilot Studio
Objective in the exam guide: Create a solution
Solutions are the unit of deployment in Power Platform.
Why C is the answer
Create a custom solution and add the agent to it
Agents are created in the default solution. To export and import agents between environments, you need a custom solution that contains the agent.
Remember: Move agents in a custom solution.
How it works
A solution packages an agent and its components so it can move between environments.
Clues in the question
The words that point to the answer, and what each one tells you.
- default solution
- Not for export, so create a custom one.
In detail
- Set a preferred solution so new agents land there.
- Use Add required objects to include dependencies.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Copy the agent by hand in the test environmentWrong
Manual copies drift and lose components.
B. Publish the agent to TeamsWrong
Publishing does not move an agent between environments.
C. Create a custom solution and add the agent to itRight
Move agents in a custom solution.
D. Export the default solutionWrongMost tempting
The default solution is not meant for moving agents.
Why it tempts: It already holds the agent, so it looks like the obvious thing to export.
Use case
An illustrative scenario, not a real incident.
Illustrative: a maker creates a "Support Agent" solution, adds the agent, and sets it as the preferred solution for future work.
See it in different ways
flowchart LR S0["Dev custom unmanaged solution"] --> S1["Add agent and required objects"] --> S2["Pipeline deploys managed solution"] --> S3["Test set variable values"] --> S4["Production"]
How to read this chart
- Read it in order: Dev custom unmanaged solution, then Add agent and required objects, then Pipeline deploys managed solution, then Test set variable values, then Production.
mindmap
root(("Agent ALM"))
n1["In the solution"]
n2["Agent"]
n3["Workflows"]
n4["Environment variables"]
n5["Connection references"]
n6["Set per environment"]
n7["Variable values"]
n8["Connections"]
n9["Channels and sharing"]How to read this chart
- The centre is "Agent ALM".
- "In the solution" covers "Agent", "Workflows", "Environment variables", "Connection references".
- "Set per environment" covers "Variable values", "Connections", "Channels and sharing".