microsoft/PAX copilotinteraction-v1.1.0
microsoft/PAX
Captured source
source ↗copilotinteraction-v1.1.0
Repository: microsoft/PAX
Tag: copilotinteraction-v1.1.0
Published: 2025-12-01T22:57:52Z
Prerelease: no
Release notes:
Release Notes: v1.1.0
Release Information
- Version: 1.1.0
- Release Date: 2025-12-01
- Released By: Microsoft Copilot Growth ROI Advisory Team (copilot-roi-advisory-team-gh@microsoft.com)
---
⚠️ Important Usage & Compliance Disclaimer
Please note:
While this tool helps customers better understand their Microsoft 365 Copilot interaction data, Microsoft has no visibility into the data that customers input into this script/tool, nor does Microsoft have any control over how customers will use this script/tool in their environment.
Customers are solely responsible for securing, storing, and processing all exported data in compliance with their organization's policies and all applicable laws and regulations, including but not limited to data privacy, security, and regulatory requirements (e.g., GDPR, HIPAA, PCI DSS, and data residency obligations).
This script outputs highly sensitive Copilot interaction content, including user prompts and Copilot responses, which may contain confidential, regulated, or personally identifiable information (PII). By using this script, you acknowledge and agree:
- You must implement appropriate safeguards, including encryption, access controls, and data classification, before running or sharing outputs generated by this script.
- Do not run this script on shared or unmanaged devices. Ensure that only authorized personnel have access to the exported data.
- Apply data loss prevention (DLP) policies and sensitive information detection where possible.
Microsoft provides this script "as-is" without warranties of any kind and disclaims all liability for any loss, breach, or misuse of data arising from or related to your use of this script. Microsoft does not provide support for custom modifications or downstream uses of this script. All operational risk and compliance obligations rest with you.
✅ Additional Guidance
Consult Your Compliance Team Before using this script, consult your organization's legal and compliance teams to confirm that your planned usage aligns with internal policies and external regulatory requirements.
Retention & eDiscovery Obligations Data exported by this script may fall under retention, legal hold, or eDiscovery obligations. Ensure that your organization's compliance policies are applied to any exported files.
🔐 Security Best Practices Checklist
- ☑ Rotate credentials regularly (client secrets or certificates) and never hard-code secrets in scripts.
- ☑ Run only in secure environments (managed devices, trusted networks).
- ☑ Apply encryption at rest and in transit for all exported files.
- ☑ Restrict access to exported data to authorized personnel only.
- ☑ Enable DLP and sensitivity labels to prevent accidental sharing.
- ☑ Validate storage location (e.g., secure SharePoint or encrypted file share).
- ☑ Review logs and outputs for sensitive content before distribution.
- ☑ Apply retention and deletion policies to exported data in line with compliance requirements.
🧪 Experimental Script Notice
This is an experimental script. On occasion, you may notice small deviations from metrics in the official Microsoft 365 Copilot Dashboards. We will continue to iterate based on your feedback. Currently available in English only.
---
Installation
Download v1.1.0 (This Version)
Use the direct download link below to obtain this specific version:
Related Assets
- Documentation (v1.1.0): PAX_CopilotInteractions_Content_Audit_Log_Processor_Documentation_v1.1.0.md
- Prior Release Notes (v1.0.0): PAX_CopilotInteractions_Content_Audit_Log_Processor_Release_Note_v1.0.0.md
Prerequisites
- PowerShell: 5.1 or later (PowerShell 7+ recommended for parallel processing performance)
- Microsoft Graph PowerShell SDK: Auto-installed by script if missing (
Microsoft.Graph.Authenticationmodule) - ImportExcel Module: Auto-installed by script if missing (required only when using
-ExportWorkbook) - Microsoft Entra ID App Registration: Required with the following Application permissions (all three required for every script run):
AiEnterpriseInteraction.Read.All- Read Copilot interaction history for all usersUser.Read.All- Read user directory and license informationOrganization.Read.All- Read organization and related resources- All permissions require tenant admin consent
---
Overview
Version 1.1.0 keeps the default CopilotInteractions export lightweight while adding an opt-in path to capture every nested artifact. Existing jobs keep running on the updated 12-column schema (reduced from 13), and operators can now turn on -IncludeExtended whenever they need richer analytics.
Key Features
1. `-IncludeExtended` Opt-In Metadata
- Adds locale, ETag, and flattened identity set fields (
FromUser*,FromApp*,FromDevice*). - Appends boolean/count columns that flag contexts, attachments, links, mentions, and history windows.
- Writes dedicated CSV files or Excel tabs for each nested artifact, including:
CopilotInteractions_Contexts_*/ Contexts tab with one row per context object (type, source application, title, and snippet)...._Attachments_*/ Attachments tab detailing file names, drive identifiers, sharing state, and source messages...._Links_*/ Links tab listing resolved URLs, display text, and classification metadata...._Mentions_*/ Mentions tab capturing mentioned users/apps with IDs and role context.- History metadata remains summarized in the main dataset (counts plus first/last timestamps); no separate history export is generated.
2. Streamlined Base Schema
- Removes the legacy JSON
Contextscolumn from the default...
Excerpt shown — open the source for the full document.