CopilotInteraction Audit Logs: Single Prompt Generating Multiple Responses

Louis 40 Reputation points
2026-04-10T13:25:08.5966667+00:00

I would like to understand whether a single prompt submitted to Microsoft Copilot can generate multiple response entries in the CopilotInteraction audit logs. If so, could you please explain the possible scenarios (such as streaming responses, retries, or backend processing) that may result in multiple records with "isPrompt": false for a single "isPrompt": true entry?
Screenshot 2026-04-10 184524

Microsoft Copilot | Microsoft 365 Copilot | Development
0 comments No comments

1 answer

Sort by: Oldest
  1. AI answer

    2026-04-10T13:25:25.76+00:00

    Yes. A single Copilot prompt can generate multiple response messages within one CopilotInteraction audit record.

    In Copilot audit logs, the Messages array is defined as:

    • Each entry has an ID and an isPrompt flag.
    • isPrompt: true identifies the user’s prompt.
    • isPrompt: false identifies Copilot’s response messages.
    • A single audit record “typically contains a prompt‑response pair but can also include a prompt with multiple response messages (that is, all Copilot responses associated with that prompt).”

    This means:

    • One CopilotInteraction record can contain one prompt message (isPrompt: true) followed by multiple response messages (isPrompt: false).
    • Those multiple response messages represent all the responses Copilot produced for that single prompt in that interaction.

    The documentation does not break these multiple responses down into specific sub‑scenarios such as streaming vs. retries. Instead, it treats them generically as “all Copilot responses associated with that prompt” and stores them together in the Messages collection of a single CopilotInteraction record, not as separate audit records.

    So, the pattern shown in the screenshot—one isPrompt: true entry followed by several isPrompt: false entries—is expected and simply indicates that Copilot produced multiple response messages for that one prompt within the same interaction.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.