In this quick post, I will show you how to leverage Application Insights to collect and analyze telemetry data for the Copilot Studio Agent.

Integrating Application Insights enables effective performance monitoring, tracking user interactions, and diagnosing issues, which ensures optimal performance and enhances the overall user experience.

Copilot Studio has plenty of features; one essential is the built-in analytics feature. Using this feature, you can send telemetry data to Azure Application Insights. This telemetry provides valuable insights into your agent by tracking the following:

  • Logged messages and events exchanged with your agent
  • Topics triggered during user conversations
  • Custom telemetry events that can be sent from your topics

 

Connect the Copilot Studio agent to Azure Application Insights

Access the Azure portal, locate the Azure Application Insights resource, and in the Overview section, copy the Connection String.

From the Agent Settings page, choose Advanced, paste the Connection String you copied in the previous step, and tap the Save button.

The agent must be published before the changes take effect, as the message below states.

 

In the top pane, go to the Channels section and click the Publish button.

 

A few days ago, you could access the App Insights page from the Azure portal. This page provides valuable insights for your custom Copilot Studio agent.

The animated image below illustrates the comprehensive information you can obtain from the Azure Portal.

Share This