Copilot interaction events overview

For auditing, details are captured when users interact with Copilot. Events include how and when users interact with Copilot, in which Microsoft 365 service the activity took place, and references to the files stored in Microsoft 365 that were accessed during the interaction. If these files have a sensitivity label applied, that's also captured.

Copilot events can be accessed in the Audit solution from the Microsoft Purview compliance portal. To search for copilot events, select Copilot activities and Interacted with Copilot. You can also select Copilot as a workload. More information on searching the audit log can be found in Audit New Search.

audit search copilot interaction dialog box

Schema example


<edmx:DataServices>
    <Schema Namespace="Microsoft.Office.Audit.Schema.CopilotInteraction" xmlns="http://docs.oasis-open.org/odata/ns/edm">
        <ComplexType Name="SensitivityLabelIdData">
            <Property Name="Id" Type="Edm.String">
                <Annotation Term="Microsoft.Office.Audit.Schema.PIIFlag" Bool="true"/>
            </Property>
            <Property Name="Type" Type="Edm.String"/>
            <Property Name="Name" Type="Edm.String">
                <Annotation Term="Microsoft.Office.Audit.Schema.PIIFlag" Bool="true"/>
            </Property>
            <Property Name="SensitivityLabelId" Type="Edm.String"/>
        </ComplexType>

        <ComplexType Name="CopilotId">
            <Property Name="Id" Type="Edm.String">
                <Annotation Term="Microsoft.Office.Audit.Schema.PIIFlag" Bool="true"/>
            </Property>
            <Property Name="Type" Type="Edm.String"/>
        </ComplexType>

        <ComplexType Name="EventData">
            <Property Name="AppHost" Type="Edm.String" />
            <Property Name="Contexts" Type="Collection(Self.CopilotId)" />
            <Property Name="ThreadId" Type="Edm.String" />
            <Property Name="MessageIds" Type="Collection(Edm.String)" />
            <Property Name="AccessedResources" Type="Collection(Self.SensitivityLabelIdData)" />
        </ComplexType>

        <EntityType Name="CopilotInteractionAuditRecord" BaseType="AuditRecord" >
            <Annotation Term="Microsoft.Office.Audit.Schema.WorkloadType" EnumMember="Microsoft.Office.Audit.Schema.WorkloadType/Copilot"/>
            <Property Name="CopilotEventData" Type="Self.EventData" />
        </EntityType>
    </Schema>
</edmx:DataServices>

Audit copilot schema definitions

Attribute Definition
CopilotEventData.AppHos The type of Copilot used during the interaction.
For example, bizchat refers to the M365 Chat experience on Bing and Teams. App chat refers to the copilot experiences on apps like Excel, PowerPoint, Teams, and more.
Example: "AppHost": "appchat", “AppHost”: “bizchat”
CopilotEventData.Contexts Context contains a collection of attributes within AppChat around the user interaction to help describe where the user was during the copilot interaction.
Example: If Copilot is used in Excel, then context will be the identifier of the Excel Spreadsheet and the file type.
CopilotEventData.Contexts.ID The identifier of the resource that was being used during the copilot interaction.
CopilotEventData.ContextsnType The name of the app or service within context.
Some examples of supported apps and services include M365 Office (docx, pptx, xlsx), TeamsMeeting, TeamsChannel, and TeamsChat.
CopilotEventData.ThreadId The ID of the copilot and user interaction thread.
CopilotEventData.MessageIds This is currently reserved with Microsoft Internal.
CopilotEventData.AccessedResources References to all the files and documents Copilot used in M365 services like OneDrive and SharePoint Online to respond to the user’s request.