Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 2.51 KB

ENABLE-APPINSIGHTS.md

File metadata and controls

33 lines (24 loc) · 2.51 KB

Enable Application Insights support

Prerequisites

  • Application Insights resource has been created and Copilot has been configured to send telemetry to it. Please see instructions here.

Steps to enable Application Insights support in Copilot Studio Kit

To enable Application Insights support in Copilot Studio Kit, new application registration is required.

Note

If you have already created app registration for Copilot Studio Kit to use with user authentication, you may reuse that application for App Insights enrichment instead of creating another application. If you wish to do that, you can skip step 1 below and start with step 2 after navigating to the existing app registration.

  1. Register new application in Microsoft Entra ID and add new client secret for it. Make note of the secret as it will be used later as App Insights Secret in the Copilot configuration (depending on App Insights Secret location, please see the details here.)
  2. Make note of the Directory (tenant) ID and Application (client) ID of the application as they will be used later as App Insights Tenant ID and App Insights Client ID in the Copilot configuration
  3. Select View API permissions from the Overview (or navigate to Manage -> API permissions from the sidebar)
  4. Select Add a permission
  5. Select APIs my organization uses and search for Application Insights API. Select Application Insights API from the list.
  6. Select Delegated permissions
  7. Check Data.Read and proceed with Add permissions

copilot-appinsights-permissions

And finally, you need to grant this application access to your Application Insights resource

  1. Navigate to the Application Insights resource in the Azure Portal.
  2. Select Access control (IAM).
  3. Select Add role assignment.
  4. Select Reader from the list and click Next.
  5. Select Select members.
  6. Search and select your application from the list. Finish by clicking Select
  7. Proceed to Review + assign by clicking Next
  8. Review the permissions and finish by clicking Review + assign button from the bottom of the screen.