Learn how to take advantage of your business data with Microsoft Dynamics 365 & Power Platform & Cross Technologies. My name is Sanjaya Prakash Pradhan and I am a Microsoft Certified Trainer (MCT) and
Copilot Studio makers can diagnose an agent that understands a request but chooses the wrong action by tracing orchestration and checking the action definitions and mappings. This matters to people building or maintaining agents with actions that have similar business purposes. Softchief Learn demonstrates this troubleshooting approach with an order-status scenario in a YouTube Short.
Action selection depends partly on how the agent is configured to handle a request. With classic orchestration, topic matching and trigger phrases drive routing; with generative orchestration, the agent plans among available tools, topics, and actions using descriptions, inputs, and conversation context.
That distinction helps narrow the investigation. In the example, a request to check an order's status leads to a cancellation action instead of the order-details action. A vague description such as “handles customer orders” does not clearly distinguish retrieving information from canceling an order.
This workflow is for Copilot Studio makers and developers troubleshooting an agent whose selected action does not match the user's intent. Start with a test conversation that reproduces the problem and identify the action the agent should have chosen.
Keep the action definitions and their expected inputs and outputs in view. In the example, the order-details action needs an order ID and should return order status and shipment details. The same checks apply to the actions in your own agent: clarify what each one does and what information it needs.
Choosing the right action is only one part of successful execution: incorrect or missing input and output mappings can still produce the wrong result. The activity map helps locate the decision in the execution path, but the example does not provide a universal menu path or a complete list of diagnostic fields.
For consequential operations such as canceling an order, test the agent with varied prompts and check that the action boundary is clear before relying on the behavior. Avoid changing instructions at random; use the trace to identify what needs correction.
Reproduce the request in the test pane and inspect the activity map for the selected topic or tool and execution sequence. Then check orchestration mode, action descriptions, and parameter mappings.
Broad or overlapping action descriptions can make it harder to distinguish actions. Generative orchestration also considers available tools, inputs, and conversation context.
Retest with positive, ambiguous, and negative prompts rather than relying on one request. Also verify the required inputs and returned outputs.
Classic orchestration uses topic matching and trigger phrases to route conversations. Generative orchestration lets the model plan among available topics, tools, and actions using descriptions, inputs, and context.