3 minute read

How to discover who accessed Microsoft Purview.

Overview

Trace user access of the Data Governance solution using the Risk and Compliance Solution. Unified Audit Log search is turned on by default for M365 and O365 Enterprise licences. Audit Logs are retained for 180 days by default.

Quickstart

  1. Role: Login with an Audit Logs role.
  2. Navigate: Microsoft Purview > Audit solution.
  3. Date range: Pick a timeframe.
  4. Activities: Friendly or operational names: Pick from (search, glossary, classification, etc).
  5. Record types: Pick from (PurviewDataMapOperation, PurviewMetadataPolicyOperation, PurviewPolicyOperation).
  6. User:s UPN or app id.
  7. File, folder or site.
  8. Workloads: (PurviewDataMapOperation, PurviewMetadataPolicyOperation, PurviewPolicyOperation).
  9. Export: download results to csv.

Role-Based Access Control (RBAC)

Membership in Audit Logs or View-Only Audit Logs role.

Built-in Role Groups:

role group description
Audit Manager Manage Audit log settings and Search, View, and Export Audit logs.
Audit Reader Search, View and Export Audit Logs.
Global Reader Read-only access to reports, alerts, and configutation and settings
Organisation Management Control permissions for accessing features

Roles:

role description default role group
Audit Logs Turn on and configure auditing for the organisation, view the organisation’s audit reports, and export reports to file. Audit Manager
View-Only Audit Logs View and export audit reports. Note: Only assign this role to people with an explicit need to know this information. Audit Reader

Activities

Audited Microsoft Purview Governance Activities:

name description
EntityCreated Asset or entity created
ClassificationAdded Classification added
ClassificationDefinitionCreated Classification definition created
ClassificationDefinitionDeleted Classification definition deleted
ClassificationDefinitionUpdated Classification definition updated
ClassificationDeleted Classification deleted
ClassificationUpdated Classification updated
EntityDeleted Entity deleted
EntityUpdated Entity updated
GlossaryTermAssigned Glossary term assigned
GlossaryTermCreated Glossary term created
GlossaryTermDeleted Glossary term deleted
GlossaryTermDisassociated Glossary term disassociated
GlossaryTermUpdated Glossary term updated
SensitivityLabelChanged Sensitivity label changed

Microsoft Purview on-demand classification activities (Audit Premium):

name description
DataScanClassification Classified file in an on-demand classification scan for SharePoint or OneDrive.
SensitiveInfoDiscovered Classified file on Endpoint device in an on-demand classification scan.
DataScanDeClassification Declassified file in an on-demand classification scan.

Activity Types

Microsoft Purview-specific Activity Types:

name description
OldValue The value before a change, includes all properties updated or deleted.
NewValue The value after a change, includes all properties updated or deleted.
ObjectFullyQualifiedName Fully qualified name of an entity.
ObjectName Entity name.
SecurityComplianceCenterEventType 0 indicates a Microsoft Purview portal activity.

Generic Activity Types that appply to Microsoft Purview:

name description
CreationTime UTC datetime when activity logged.
CurrentProtectionType Fields: ProtectionType, Owner, TemplateID, DocumentEncrypted.
ID Uniquely identifies a Report entry.
ModifiedProperties Fields: Name, NewValue, OldValue.
ObjectId The name or URL of the modified object.
Operation An audited activity.
OrganizationId The GUID of the organisation.
PreviousProtectionType Fields: ProtectionType, Owner, TemplateId, DocumentEncrypted.
ProtectionEventType Protection changes indicator (0 - unchanged, 1 - added, 2, changed, 3 removed).
RecordType Indicator values (38 - DataGovernance retention policies and labels, 52 - DataInsightsRestApiAudit, 331 - DataCatalogAccessRequests, ).
ResultStatus Action success flag (True - successful, False - Failed).
UserID The user who performed the action.
UserKey A Microsoft Entra ID Object ID.
UserType The type of user that performed the operation.
Version The version number of the logged activity.
Workload The service where the activity occurred.

Further Reading

Microsoft:


QED

© Adam Heinz

7 April 2026

Categories:

Updated: