Tools · Microsoft Purview
Score your Purview configuration from a read-only sign-in.
The Purview Audit signs in to your own Microsoft 365 tenant, reads how audit, data loss prevention, sensitivity labels, retention and alert policies are set up, and scores each feature out of 10 against 25 checks. It reads settings only and changes nothing.
CATALOGUE 2026.12 · 27 CHECKS · 5 FEATURES
01 · What it checks
Every check, the cmdlet that reads it and the role it needs.
25 checks run for every profile; 2 more run only for the profile that asks for them. Each is read with a Get- cmdlet from Exchange Online or Security & Compliance PowerShell.
| ID | Feature | A pass means | Read with | Role | Licence | Weight |
|---|---|---|---|---|---|---|
| AUD-01 | Audit | Unified audit log ingestion is on. | Get-AdminAuditLogConfig | Global Reader (Exchange view-only organisation configuration) | Audit (Standard) | 3 · CRITICAL |
| AUD-02 | Audit | Mailbox auditing is on by default. | Get-OrganizationConfig | Global Reader (Exchange view-only organisation configuration) | Audit (Standard) | 3 · CRITICAL |
| AUD-03 | Audit | No mailbox is excluded from audit logging. | Get-MailboxAuditBypassAssociation | Global Reader (Exchange view-only organisation configuration) | Audit (Standard) | 2 · WARNING |
| AUD-04 | Audit | A custom audit retention policy keeps logs beyond the default. | Get-UnifiedAuditLogRetentionPolicy | Compliance Administrator (not in Global Reader) | Audit (Premium) | 1 · WARNING |
| DLP-01 | Data loss prevention | At least one DLP policy is turned on. | Get-DlpCompliancePolicy | Global Reader | DLP for Exchange, SharePoint and OneDrive | 3 · CRITICAL |
| DLP-02 | Data loss prevention | Exchange, SharePoint and OneDrive are each covered by a policy that is on. | Get-DlpCompliancePolicy | Global Reader | DLP for Exchange, SharePoint and OneDrive | 2 · WARNING |
| DLP-03 | Data loss prevention | Teams chat and channel messages are covered by a policy that is on. | Get-DlpCompliancePolicy | Global Reader | DLP for Teams (E5-class) | 1 · WARNING |
| DLP-04 | Data loss prevention | Devices are covered by a policy that is on. | Get-DlpCompliancePolicy | Global Reader | Endpoint DLP (E5-class) | 1 · WARNING |
| DLP-05 | Data loss prevention | Rules in policies that are on detect the sensitive information types this profile expects. | Get-DlpCompliancePolicy, Get-DlpComplianceRule | Global Reader | DLP for Exchange, SharePoint and OneDrive | 2 · WARNING |
| DLP-06 | Data loss prevention | Every DLP policy reached its locations without an error. | Get-DlpCompliancePolicy | Global Reader | DLP for Exchange, SharePoint and OneDrive | 1 · WARNING |
| DLP-07 | Data loss prevention | No DLP policy is left in simulation. | Get-DlpCompliancePolicy | Global Reader | DLP for Exchange, SharePoint and OneDrive | 1 · WARNING |
| LBL-01 | Sensitivity labels | Sensitivity labels exist. | Get-Label | Global Reader | Sensitivity labels | 3 · CRITICAL |
| LBL-02 | Sensitivity labels | Labels are published by a label policy that is on. | Get-Label, Get-LabelPolicy | Global Reader | Sensitivity labels | 3 · CRITICAL |
| LBL-03 | Sensitivity labels | A label policy sets a default label or requires a label. | Get-Label, Get-LabelPolicy | Global Reader | Sensitivity labels | 1 · WARNING |
| LBL-04 | Sensitivity labels | A service-side auto-labelling policy is on. | Get-Label, Get-AutoSensitivityLabelPolicy | Global Reader | Auto-labelling (E5-class) | 1 · WARNING |
| LBL-05 | Sensitivity labels | The label set stays manageable: five or fewer top-level labels, five or fewer sublabels each. | Get-Label | Global Reader | Sensitivity labels | 1 · WARNING |
| LBL-06 | Sensitivity labels | Exchange Online can use Azure Rights Management for encrypted labels. | Get-IRMConfiguration | Global Reader (Exchange view-only organisation configuration) | Sensitivity labels | 2 · WARNING |
| LBL-07 | Sensitivity labels | Labels exist for OFFICIAL, OFFICIAL: Sensitive and PROTECTED. Runs only for the Protective Security Policy Framework (PSPF) profile. | Get-Label | Global Reader | Sensitivity labels | 2 · WARNING |
| RET-01 | Retention | At least one retention policy is on. | Get-RetentionCompliancePolicy | Global Reader | Retention | 3 · CRITICAL |
| RET-02 | Retention | Exchange, SharePoint and OneDrive are each covered by a retention policy that is on. | Get-RetentionCompliancePolicy | Global Reader | Retention | 2 · WARNING |
| RET-03 | Retention | Teams chats and channel messages are covered by a retention policy that is on. | Get-RetentionCompliancePolicy | Global Reader | Retention | 1 · WARNING |
| RET-04 | Retention | Retention labels with a retention action exist. | Get-ComplianceTag | Global Reader | Retention | 2 · WARNING |
| RET-05 | Retention | Retention labels are published or applied automatically. | Get-ComplianceTag, Get-RetentionComplianceRule | Global Reader | Retention | 1 · WARNING |
| RET-06 | Retention | Every retention policy reached its locations without an error. | Get-RetentionCompliancePolicy | Global Reader | Retention | 1 · WARNING |
| RET-07 | Retention | Exchange and SharePoint content is kept for at least the period this profile expects. Runs only for the AML/CTF Act (AUSTRAC) profile. | Get-RetentionCompliancePolicy, Get-RetentionComplianceRule | Global Reader | Retention | 2 · WARNING |
| ALR-01 | Alert policies | Microsoft's default high-severity alert policies are on. | Get-ProtectionAlert | Global Reader | Audit (Standard) | 2 · WARNING |
| ALR-02 | Alert policies | Alert policies that are on notify someone. | Get-ProtectionAlert | Global Reader | Audit (Standard) | 1 · WARNING |
02 · What you need
An account that can read Purview, and device code sign-in allowed.
- Role
- Compliance Administrator runs every check. Global Reader is read-only and runs every check but AUD-04, the custom audit retention policy. The role is the limit Microsoft enforces, so a read-only role is the surest way to keep the session read-only.4
- Sign-in
- A work account in the tenant you assess, with multi-factor authentication already set up. Guest accounts are not supported. Your organisation must allow device code sign-in; if Conditional Access blocks it, Microsoft says so in the sign-in window and the audit cannot run.1,6
- Licences
- Audit, DLP for Exchange, SharePoint and OneDrive, labels and retention come with Microsoft 365 E3 and Business Premium. Teams and endpoint DLP, auto-labelling and Audit (Premium) need E5-class licences. Tell the audit your plan and it marks those checks not licensed instead of guessing.5
03 · How sign-in works
Two Microsoft prompts, and why there are two.
-
01
Sign in with Microsoft.
A Microsoft window asks you to choose your account and, the first time, to accept "LensIQ Purview Audit sign-in". It tells the audit who you are and your tenant, nothing more. LensIQ never sees or asks for your password.
-
02
Enter the device code.
The frame shows the address and code Microsoft gives, exactly as Microsoft prints them. Open the address, enter the code and sign in as the same account. Microsoft then asks you to approve a sign-in from a remote device in MELBOURNE, Australia: that is LensIQ’s server in Azure Australia Southeast. Your organisation’s terms of use or MFA setup may appear here too.1,6
-
03
Confirm the tenant.
The frame shows the tenant ID, its domains and the account that signed in. Nothing is read until you press This is the right tenant.
The first sign-in adds "LensIQ Purview Audit sign-in" to your organisation’s enterprise apps. It asks only for your sign-in and profile, and stays until an admin deletes it in the Microsoft Entra admin centre under Enterprise apps.7
04 · What leaves your browser
Your sign-ins and your settings, for one session.
Your Microsoft sign-ins and the settings it reads go to LensIQ’s server in Australia for that session only; nothing is stored there. This page itself receives nothing: the frame tells it only which step it is on and how tall it is. The report stays in the frame and on your computer if you download it.
05 · Terms
Before you run it.
- Run the Purview Audit only on a Microsoft 365 tenant you are authorised to assess, signed in with your own work account.
- It reads settings only and never changes your tenant. Your account’s role is the limit Microsoft enforces: we recommend Compliance Administrator, or Global Reader for a read-only account.
- Signing in adds "LensIQ Purview Audit sign-in" to your organisation’s enterprise apps. It stays there until an admin deletes it in the Microsoft Entra admin centre (Enterprise apps).
- LensIQ’s server in Australia Southeast holds your sign-in identity and the settings it reads in memory for that session only, at most an hour, and stores nothing. The report is kept only if you download it.
- The report scores your configuration against LensIQ’s check catalogue (version 2026.12). It is not legal advice, an audit opinion or a certification of compliance with any framework.
- A remediation script you download is yours to review and run. It changes nothing until you run it with -Apply in your own session.
- The service is free, provided as is, and may be unavailable.
06 · Run the assessment
Choose a profile and your plan, then start.
Not started.
07 · How it scores
One score out of 10 per feature, never averaged.
- A check that passes counts 1, a partial pass 0.5 and a fail 0, weighted 1 to 3 by how much it matters. A check that could not run is left out, never counted as a pass.
- A failed critical check caps the feature at 4.0. A feature where under half its weight could run reads NOT SCORED.
- CRITICAL: a critical check failed, or the score is under 5. WARNING: the score is under 8, or a warning check failed. COMPLIANT: otherwise.
- The five features stand side by side. There is no overall grade.
Worked example · DLP, Australian Privacy Act profile, Microsoft 365 E3
| Check | What | Weight | Result | Points |
|---|---|---|---|---|
| DLP-01 | A policy is on | 3 | COMPLIANT | 3 |
| DLP-02 | Exchange, SharePoint, OneDrive | 2 | PARTIAL — OneDrive missing | 1 |
| DLP-03 | Teams | 1 | NOT RUN — not licensed | – |
| DLP-04 | Devices | 1 | NOT RUN — not licensed | – |
| DLP-05 | Australian identifiers (weight ×1.5) | 3 | COMPLIANT | 3 |
| DLP-06 | Distribution | 1 | COMPLIANT | 1 |
| DLP-07 | Not left in simulation | 1 | WARNING — 1 policy | 0 |
Weight 10, points 8: WARNING — 8.0 / 10.
08 · Remediation library
A script for each failed check, coming.
Each script previews what it would change, changes nothing without -Apply, asks for a typed YES before each change and checks your tenant ID first. They are being written and are not available yet.
- R01 Turn on unified audit log ingestion Enable-UnifiedAuditIngestion.ps1 COMING
- R02 Turn on mailbox auditing by default Enable-MailboxAuditDefault.ps1 COMING
- R03 Stop excluding mailboxes from audit logging Repair-MailboxAuditBypass.ps1 COMING
- R04 Add a custom audit retention policy New-AuditRetentionPolicy.ps1 COMING
- R05 Create a DLP policy in simulation New-LensiqDlpPolicy.ps1 COMING
- R06 Review DLP policies in simulation or with distribution errors Repair-DlpPolicyDistribution.ps1 COMING
- R07 Create and publish a starter label set to a pilot group New-LensiqLabelSet.ps1 COMING
- R08 Create an auto-labelling policy in simulation New-AutoLabelPolicy.ps1 COMING
- R09 Let Exchange Online use Azure Rights Management Enable-AzureRmsLicensing.ps1 COMING
- R10 Create a retain-only retention policy for a set period New-LensiqRetentionPolicy.ps1 COMING
- R11 Create and publish retain-only retention labels New-LensiqRetentionLabels.ps1 COMING
- R12 Turn on the default alert policies and set who is notified Enable-AlertPolicies.ps1 COMING
09 · The catalogue
Version 2026.12, owned by the LensIQ brand owner.
Reviewed: Quarterly, and whenever the pinned ExchangeOnlineManagement module changes or Learn changes a cited cmdlet.
The alert policy and IRM checks were modelled on Microsoft’s Compliance Assessment and Monitoring Pipeline (CAMP, OfficeDev/CAMP on GitHub), published under the MIT licence: Copyright (c) Microsoft Corporation. No CAMP code runs in the audit.
10 · Sources
Where the facts on this page come from.
- 1 Microsoft, Connect-ExchangeOnline The device code sign-in and -CommandName.
- 2 Microsoft, Connect-IPPSSession The Security & Compliance connection.
- 3 Microsoft, Get-AdminAuditLogConfig Why audit ingestion is read in Exchange Online.
- 4 Microsoft, Microsoft Entra built-in roles What Global Reader and Compliance Administrator can read.
- 5 Microsoft, Microsoft Purview service description Which plans include each feature.
- 6 Microsoft, OAuth 2.0 device authorization grant How device code sign-in works.
- 7 Microsoft, Delete an enterprise application How an admin removes the sign-in app.
- 8 OAIC, Australian Privacy Principles guidelines The Australian Privacy Act profile.
- 9 APRA, CPS 234 Information Security The APRA CPS 234 profile.
- 10 ASD, Information Security Manual The ASD ISM profile.
- 11 Australian Government, Protective Security Policy Framework The PSPF profile and its classification labels.
- 12 AUSTRAC, Record keeping The AML/CTF profile’s seven-year records.
- 13 EUR-Lex, Regulation (EU) 2016/679 (GDPR) The GDPR profile.
- 14 U.S. HHS, HIPAA The HIPAA profile.
- 15 California Privacy Protection Agency, Regulations (CCPA/CPRA) The CCPA/CPRA profile.
Next step
When the score is the start of the work.
LensIQ configures labels, DLP, retention and audit against the obligation each one carries, starting from what your tenant already has.
Request configuration review