Lesson 1 of 4 Monitoring and Tuning AI Solutions

Recommending a Monitoring Process and Tools for Agents

This lesson explains the monitoring loop and the tools each platform provides.

Learning outcomes

After completing this lesson, you will be able to:

  • Describe the stages and owners of monitoring.
  • Identify monitoring tools in Copilot Studio, Foundry and administration centers.
  • Design metrics with sources, targets and responses.

The monitoring process

Monitoring an AI solution is a loop rather than a dashboard. The loop has four stages. Collect telemetry from every component: conversations, tool calls, model usage, errors and user feedback. Observe it against targets, such as resolution rate, latency and cost per conversation, with alerts for breaches. Diagnose changes by drilling from aggregates into transcripts and traces. Act by fixing content, topics, tools, prompts or models, and then confirm the effect in the next cycle.

The process needs owners. A business owner reviews outcome metrics such as resolution and satisfaction, a maker or developer reviews technical metrics and errors, and an administrator reviews capacity, cost and governance. Reviews should be scheduled, for example weekly in the first months after launch and monthly once the solution is stable, with alerts for issues that cannot wait.

Tools by platform

Each platform provides its own monitoring capabilities, and a solution that spans platforms uses several of them. The following overview describes the main tools.

Copilot Studio

Copilot Studio analytics show sessions, engagement, topic outcomes (resolved, escalated, abandoned), customer satisfaction scores and trends, themes of user questions, knowledge source use and, for authenticated agents, daily and monthly active users. For autonomous agents, analytics show runs started by triggers. Monitor data is kept for 360 days, while session details and transcripts in analytics are kept for 28 days; transcripts stored in Dataverse have their own retention. Access is controlled with roles: the Analytics Viewer role gives access to monitoring, and transcripts also need the Bot Transcript Viewer role. Agents can also send telemetry to Azure Application Insights for custom analysis and alerting.

Microsoft Foundry

Foundry provides tracing of agent runs and model calls, integration with Application Insights, built-in observability dashboards (preview) and continuous evaluation of quality and safety on a sample of production traffic. The Foundry Control Plane gives a cross-project view of agents, models and tools with health, cost and token metrics, and compliance with guardrail policies.

Microsoft 365 and administration

Microsoft 365 administrators see usage of Copilot and agents in the Microsoft 365 admin center, and Microsoft Agent 365 provides a registry with owner, usage and risk for all agents. The Power Platform admin center shows capacity consumption, including Copilot Credits per environment. Dynamics 365 Customer Service offers a Copilot analytics report that shows how representatives use Copilot.

Designing a monitoring solution

A monitoring design names the metrics, their sources, their targets and the responses. The following table shows an example for a customer service agent.

MetricSourceTargetResponse when breached
Resolution rateCopilot Studio analyticsAt least 45%Review themes and unresolved transcripts
Escalation rate by topicCopilot Studio analyticsBelow 30% per topicReview the topic and its knowledge
Tool failure rateApplication InsightsBelow 1%Alert the maker; check authentication and API health
Copilot Credits per dayPower Platform admin centerWithin budgetInvestigate volume or loops; adjust allocation
Customer satisfactionCopilot Studio analyticsAt least 4 of 5Review comments and low-rated sessions
Worked example

Monitoring a multi-platform solution

A solution has a Copilot Studio customer agent that calls a Foundry agent for warranty decisions. The operations team must be alerted within minutes when warranty decisions fail, the business wants a weekly view of resolution and satisfaction, and finance wants to track AI spend. What monitoring should you recommend?

Copilot Studio analytics give the business its weekly view of resolution, outcomes and satisfaction. Both the Copilot Studio agent and the Foundry agent should send telemetry to Application Insights, where an alert on failed warranty tool calls notifies operations within minutes, and Foundry tracing helps diagnose the failures. Finance tracks Copilot Credits in the Power Platform admin center and token cost in Foundry, possibly through the Control Plane's cost views. Each metric has an owner and a review cadence.

Check yourself

A reviewer has the Analytics Viewer role but cannot open transcripts. What else is needed?

Show answer

The Bot Transcript Viewer role, which transcript access requires in addition to monitoring access.

Exam Tips

Remember for the exam

  • Monitoring is a loop: collect, observe, diagnose, act.
  • Copilot Studio analytics keep monitor data 360 days and transcripts 28 days.
  • Analytics Viewer grants monitoring access; transcripts also need Bot Transcript Viewer.
  • Use Application Insights for alerts and Foundry tracing for agent runs.