microsoft/PAX purview-v1.11.1
microsoft/PAX
Captured source
source ↗purview-v1.11.1
Repository: microsoft/PAX
Tag: purview-v1.11.1
Published: 2026-05-12T03:12:53Z
Prerelease: no
Release notes:
Release Notes: v1.11.x
Release Information
- Latest Version: 1.11.1
- Latest Release Date: 2026-05-11
- Released By: Microsoft Copilot Growth ROI Advisory Team (copilot-roi-advisory-team-gh@microsoft.com)
---
Script Download & Support
Download the script below. For questions or issues, refer to the documentation.
- PAX Purview Audit Log Processor Script v1.11.1: PAX_Purview_Audit_Log_Processor_v1.11.1.ps1
- Documentation v1.11.x (Markdown): PAX_Purview_Audit_Log_Processor_Documentation_v1.11.x.md
---
Overview
v1.11.1
Version 1.11.1 is a large functional release. It introduces three flagship capabilities — the `-Rollup` / `-RollupPlusRaw` post-processor, Microsoft Agent 365 catalog enrichment, and remote output destinations (SharePoint and Microsoft Fabric / OneLake) — alongside a new ManagedIdentity auth mode for Azure-hosted unattended runs and major reliability and authentication hardening. Existing Purview audit-log processing behavior is unchanged when none of the new switches are used.
🚀 Rollup Post-Processor (-Rollup / -RollupPlusRaw)
The new `-Rollup` and `-RollupPlusRaw` switches turn PAX into an end-to-end pipeline: as soon as the audit export succeeds, an embedded Python post-processor runs against the raw CSV(s) and emits rolled-up CSVs shaped specifically for the Microsoft Copilot Growth ROI Advisory Team's Power BI templates published at . This collapses what was previously a multi-step, manual hand-off (run PAX → locate raw CSV → run a separate Python script → load into Power BI) into a single command line.
Highlights:
- Two switches, one pipeline.
-Rollupdeletes the raw CSV(s) on processor success (only the rollup output remains);-RollupPlusRawkeeps the raw CSV(s) alongside the rollup output. Mutually exclusive. - Auto-selected processor based on the audit run's shape.
- CopilotInteraction-only run → embedded
Purview_CopilotInteraction_Processorv3.0.0.-IncludeUserInfois auto-enabled because this processor consumes both the Purview CSV and the Entra users CSV. Target Analytics-Hub dashboards: *AI-in-One* and *AI Business Value*. - `-IncludeM365Usage` run → embedded
Purview_M365_Usage_Bundle_Explosion_Processorv2.1.0.-CombineOutputis auto-enabled so a single combined Purview CSV is fed to the processor. Target Analytics-Hub dashboard: *M365 Usage Analytics*. - Single-file distribution preserved. Both Python sources are embedded byte-for-byte inside the
.ps1. At runtime the selected source is materialized into.pax_incremental\PAX__.py, executed, and reaped by the function'sfinallyblock plus an end-of-run safety-net sweep. No external Python files to ship or maintain. - Zero-friction Python bootstrap. PAX auto-detects Python 3.10+ on PATH (
python→py -3.13/-3.12/-3.11/-3.10→python3). If none is found it attempts a per-user silent install of Python 3.13 via winget (Python.Python.3.13), falling back to the python.org offline installer.orjsonis installed best-effort for ~5–10× faster JSON parsing; both processors fall back to stdlibjsonon import failure. - Best-effort, non-destructive failure semantics. A non-zero processor exit code logs an error and keeps the raw outputs (regardless of
-Rollupvs-RollupPlusRaw); the raw CSV(s) already on disk remain the canonical successful artifact. The audit run is never marked failed because of a rollup failure. - Resume-safe. The checkpoint snapshot persists
rollupMode(None/Rollup/RollupPlusRaw) andprocessorMode(None/CopilotInteraction/M365Bundle). On-Resume, the original rollup intent is restored automatically; if the resume command line passes a rollup switch explicitly, last-write-wins (override logged in yellow). - Agent 365 companion file is always retained.
-Rollupis compatible with-IncludeAgent365Infoand never deletes theAgent365_.csv— Analytics-Hub dashboards consume it as a companion input alongside the rollup output.
> ⚠️ Scope reminder. The rollup outputs exist solely to feed the Microsoft Copilot Growth ROI Advisory Team's Power BI templates at . Schema, column names, aggregation grain, and join keys are dictated by those data models. For generic analytics exports, run PAX without -Rollup / -RollupPlusRaw and consume the raw CSV directly.
See [Rollup Post-Processor: -Rollup / -RollupPlusRaw (v1.11.1)](#rollup-post-processor--rollup---rollupplusraw-v1111) below for the full feature matrix, blocked combinations, and examples.
🆕 Microsoft Agent 365 Catalog Enrichment (-IncludeAgent365Info / -OnlyAgent365Info)
A pair of new switches — `-IncludeAgent365Info` (audit run + Agent 365 enrichment) and `-OnlyAgent365Info` (Agent 365 enrichment only) — produce a dedicated Agent365_.csv (or Agents365 Excel tab) whose 28-column schema matches the manual Agent 365 dashboard export. Data is sourced from the Microsoft Graph Agent Package Management API (https://graph.microsoft.com/beta/copilot/admin/catalog/packages). Available to tenants enrolled in the Microsoft Agent 365 Frontier program; signed-in caller must hold AI Administrator (preferred) or Global Administrator.
☁️ Remote Output Destinations — SharePoint & Microsoft Fabric / OneLake (-OutputPathSP / -OutputPathFabric)
Two new mutually-exclusive parameters extend -OutputPath (local directory) with first-class remote destinations so PAX can publish directly into a SharePoint document library or a Microsoft Fabric Lakehouse without an intermediate local copy.
- `-OutputPathSP ` — Uploads every customer-visible artifact (CSV, XLSX, run log, metrics JSON) directly to a SharePoint Online document-library folder via Microsoft Graph (
createUploadSessionfor files >4 MiB,PUT /contentfor small files). Folder hierarchy is created server-side if missing. RequiresSites.ReadWrite.All+Files.ReadWrite.Allon the same identity used for the audit phase. - `-OutputPathFabric ` — Uploads to a Fabric...
Excerpt shown — open the source for the full document.