Detailed properties in the audit log

When you export the results of an audit log search from the Microsoft Purview compliance portal, you can download all the results that meet your search criteria. You can export this information by selecting Export results > Download all results on the Audit log search page. For more information, see Search the audit log.

When your export all results for an audit log search, the raw data from the unified audit log is copied to a comma-separated value (CSV) file that is downloaded to your local computer. This file contains additional information from each audit record in a column named AuditData. This column contains a multi-value property for multiple properties from the audit log record. Each of the property: value pairs in this multi-value property are separated by a comma.

The following sections and tables describe the properties that are included (depending on the service in which an event occurs) in the multi-property AuditData column. For more detailed information about these properties or about properties that may not be listed in this article, see Management Activity API Schema.

Tip

You can use the JSON transform feature in Power Query in Excel to split the AuditData column into multiple columns so that each property has its own column. This lets you sort and filter on one or more of these properties. To learn how to do this, see Export, configure, and view audit log records.

All services

Property Description
CreationTime The date and time in Coordinated Universal Time (UTC) when the user performed the activity.
CurrentProtectionType A complex property type containing fields to describe the current protection status of a document. Includes the following:

ProtectionType: Enumerates the type of protection applied to the document. These values and their meanings apply: 0 (no protection), 1 (template-based protection), 2 (don't forward, for email), 3 (encrypt only), and 4 (custom, user configured protection)
Owner: The email address of the user that configured protection.
TemplateId: When the ProtectionType is set to 1 (template), this field contains the GUID of the template applied to the document. When the value of ProtectionType doesn't equal 1, this field is blank.
DocumentEncrypted: Boolean flag indicating if any type of encryption is applied to the document. Values are True or False.
ID The ID of the report entry. The ID uniquely identifies the report entry.
ModifiedProperties (Name, NewValue, OldValue) The property is included for admin events, such as adding a user as a member of a site or a site collection admin group. The property includes the name of the property that was modified (for example, the Site Admin group) the new value of the modified property (such the user who was added as a site admin, and the previous value of the modified object).
ObjectId For Exchange admin audit logging, the name of the object modified by the cmdlet.
For SharePoint activity, the full URL path name of the file or folder accessed by a user.
For Microsoft Entra activity, the name of the user account that was modified.
Operation The name of the user or admin activity. The value of this property corresponds to the value that was selected in the Activities drop down list. If Show results for all activities was selected, the report includes entries for all user and admin activities for all services. For a description of the operations/activities that are logged in the audit log, see the Audited activities tab in Search the audit log in the Microsoft 365.
For Exchange admin activity, this property identifies the name of the cmdlet that was run.
OrganizationId The GUID for your organization.
Operation The name of the user or admin activity. The value of this property corresponds to the value that was selected in the Activities drop down list. If Show results for all activities was selected, the report includes entries for all user and admin activities for all services. For a description of the operations/activities that are logged in the audit log, see the Audited activities tab in Search the audit log in Microsoft 365.
For Exchange admin activity, this property identifies the name of the cmdlet that was run.
OrganizationId The GUID for your organization.
UserId The user who performed the action (specified in the Operation property) that resulted in the record being logged. Audit records for activity performed by system accounts (such as SHAREPOINT\system or NT AUTHORITY\SYSTEM) are also included in the audit log. Another common value for the UserId property is app@sharepoint. This property indicates that the "user" who performed the activity was an application that has the necessary permissions in SharePoint to perform organization-wide actions (such as search a SharePoint site or OneDrive account) on behalf of a user, admin, or service.

For more information, see:
The app@sharepoint user in audit records
or
System accounts in Exchange mailbox audit records.
UserKey Contains a valid Microsoft Entra Object ID in GUID format or hex format. For scenarios where the primary actor isn't a user, the UserKey is an empty string. See UserType and UserKey scenarios for details on various UserKey scenarios.
UserType The type of user that performed the operation. See the UserType and UserKey scenarios for details on various UserType scenarios.
Version Indicates the version number of the activity (identified by the Operation property) that's logged.
Workload The Microsoft 365 service where the activity occurred.

Microsoft Copilot for Microsoft 365

Property Description
AccessedResources References to all the files and documents Copilot used in Microsoft 365 services like OneDrive and SharePointOnline to respond to the user’s request. A complex property type containing additional fields, including the following:

Id: Identifier for files within Microsoft 365 services like SharePoint and OneDrive.
Type: Type of files within Microsoft 365 services like SharePoint and OneDrive.
Name: Name of files within Microsoft 365 services like SharePoint and OneDrive.
SensitivityLabelId: The sensitivity label identifier assigned to the file. This value is a unique ID in the form of a GUID. This value is null if there isn't a sensitivity label present.
AppHost The type of copilot used during the interaction.

For example, bizchat refers to the Microsoft 365 Chat experience on Bing and Teams. Appchat refers to the copilot experiences on apps like Excel, PowerPoint, Teams, and more.

Example: AppHost: appchat, AppHost: bizchat
Contexts Context contains a collection of attributes within AppChat around the user interaction to help describe where the user was during the copilot interaction. For example, if Copilot is used in Excel, then context is the identifier of the Excel Spreadsheet and the file type.

A complex property type containing additional fields, including the following:

Id: The identifier of the resource being used during the Copilot interaction.
Type: The name of the app or service within context. Some examples of supported apps and services include Microsoft 365 Office files (docx, pptx, xlsx), TeamsMeeting, TeamsChannel, and TeamsChat.
MessageIds This is currently reserved for internal Microsoft use.
ThreadId The ID of the copilot and user interaction thread.

Microsoft Entra ID

Property Description
Actor The user or service account that performed the action.
AzureActiveDirectoryEventType The type of Microsoft Entra event. The following values indicate the type of event.
0 - Indicates an account login event.
1 - Indicates an Azure application security event.
Client The client device, the device OS, and the device browser used for the login event (for example, Nokia Lumia 920; Windows Phone 8; IE Mobile 11).
ClientIP The IP address of the device that was used when the activity was logged. The IP address is displayed in either an IPv4 or IPv6 address format.

For some services, the value displayed in this property might be the IP address for a trusted application (for example, Office on the web apps) calling into the service on behalf of a user and not the IP address of the device used by person who performed the activity.

Also, for admin activity (or activity performed by a system account) for Microsoft Entra related events, the IP address isn't logged and the value for the ClientIP property is null.
ExtendedProperties The extended properties for a Microsoft Entra event.
LoginStatus Identifies login failures that might have occurred.
Target The user that the action (identified in the Operation property) was performed on. For example, if a guest is added to SharePoint or a Microsoft Team, that user would be listed in this property.
UserDomain Identity information about the tenant organization of the user (actor) who performed the action.

Microsoft Exchange

Property Description
ClientInfoString Information about the email client that was used to perform the operation, such as a browser version, Outlook version, and mobile device information
ClientIP The IP address of the device that was used when the activity was logged. The IP address is displayed in either an IPv4 or IPv6 address format.

For some services, the value displayed in this property might be the IP address for a trusted application (for example, Office on the web apps) calling into the service on behalf of a user and not the IP address of the device used by person who performed the activity.

Also, for admin activity (or activity performed by a system account) for Microsoft Entra related events, the IP address isn't logged and the value for the ClientIP property is null.
ExternalAccess For Exchange admin activity, specifies whether the cmdlet was run by a user in your organization, by Microsoft datacenter personnel or a datacenter service account, or by a delegated administrator. The value False indicates that the cmdlet was run by someone in your organization. The value True indicates that the cmdlet was run by datacenter personnel, a datacenter service account, or a delegated administrator.
For Exchange mailbox activity, specifies whether a mailbox was accessed by a user outside your organization.
InternalLogonType Reserved for internal use.
LogonType The type of mailbox access. The following values indicate the type of user who accessed the mailbox.

0 - Indicates a mailbox owner.
1 - Indicates an administrator.
2 - Indicates a delegate.
3 - Indicates the transport service in the Microsoft datacenter.
4 - Indicates a service account in the Microsoft datacenter.
6 - Indicates a delegated administrator.
MailboxGuid The Exchange GUID of the mailbox that was accessed.
MailboxOwnerUPN The email address of the person who owns the mailbox that was accessed.
Path The name of the mailbox folder where the message that was accessed is located. This property also identifies the folder a where a message is created in or copied/moved to.
Parameters For Exchange admin activity, the name and value for all parameters that were used with the cmdlet that is identified in the Operation property.
Subject The subject line of the message that was accessed.

Microsoft Purview

Property Description
ObjectFullyQualifiedName The fully qualified name for an entity.
ObjectName The main entity name.
ObjectType The entity type. Microsoft Purview (governance).
OldValue The value before a change. Includes all properties updated or deleted.
NewValue The value after a change. Includes all properties updated or deleted.

Microsoft Purview compliance portal

Property Description
SecurityComplianceCenterEventType Indicates that the activity was a compliance portal event. All compliance portal activities have a value of 0 for this property.

Microsoft SharePoint

Property Description
ClientIP The IP address of the device that was used when the activity was logged. The IP address is displayed in either an IPv4 or IPv6 address format.

For some services, the value displayed in this property might be the IP address for a trusted application (for example, Office on the web apps) calling into the service on behalf of a user and not the IP address of the device used by person who performed the activity.

Also, for admin activity (or activity performed by a system account) for Microsoft Entra related events, the IP address isn't logged and the value for the ClientIP property is null.
DestinationFileExtension The file extension of a file that is copied or moved. This property is displayed only for the FileCopied and FileMoved user activities.
DestinationFileName The name of the file is copied or moved. This property is displayed only for the FileCopied and FileMoved actions.
DestinationRelativeUrl The URL of the destination folder where a file is copied or moved. The combination of the values for the SiteURL, the DestinationRelativeURL, and the DestinationFileName property is the same as the value for the ObjectID property, which is the full path name for the file that was copied. This property is displayed only for the FileCopied and FileMoved user activities.
EventSource Identifies that an event occurred in SharePoint. Possible values are SharePoint and ObjectModel.
ItemType The type of object that was accessed or modified. Possible values include File, Folder, Web, Site, Tenant, and DocumentLibrary.
SharingType The type of sharing permissions that was assigned to the user that the resource was shared with. This user is identified in the UserSharedWith property.
Site The GUID of the site where the file or folder accessed by the user is located.
SiteUrl The URL of the site where the file or folder accessed by the user is located.
SourceFileExtension The file extension of the file that was accessed by the user. This property is blank if the object that was accessed is a folder.
SourceFileName The name of the file or folder accessed by the user.
SourceRelativeUrl The URL of the folder that contains the file accessed by the user. The combination of the values for the SiteURL, the SourceRelativeURL, and the SourceFileName property is the same as the value for the ObjectID property, which is the full path name for the file accessed by the user.
UserAgent Information about the user's browser. This information is provided by the browser.

Microsoft Teams

Property Description
AddOnName The name of an add-on that was added, removed, or updated in a team. The type of add-ons in Microsoft Teams is a bot, a connector, or a tab.
AddOnType The type of an add-on that was added, removed, or updated in a team. The following values indicate the type of add-on.
1 - Indicates a bot.
2 - Indicates a connector.
3 - Indicates a tab.
ChannelGuid The ID of a Microsoft Teams channel. The team that the channel is located in is identified by the TeamName and TeamGuid properties.
ChannelName The name of a Microsoft Teams channel. The team that the channel is located in is identified by the TeamName and TeamGuid properties.
Members Lists the users that have been added or removed from a team. The following values indicate the Role type assigned to the user.

1 - Indicates the Owner role.
2 - Indicates the Member role.
3 - Indicates the Guest role.

The Members property also includes the name of your organization, and the member's email address.
TabType The type of tab added, removed, or updated in a team. The possible values for this property are:

Excel pin - An Excel tab.
Extension - All first-party and third-party apps; such as Class Schedule, VSTS, and Forms.
Notes - OneNote tab.
Pdfpin - A PDF tab.
Powerbi - A Power BI tab.
Powerpointpin - A PowerPoint tab.
Sharepointfiles - A SharePoint tab.
Webpage - A pinned website tab.
Wiki-tab - A wiki tab.
Wordpin - A Word tab.
TeamGuid The ID of a team in Microsoft Teams.
TeamName The name of a team in Microsoft Teams.

UserType and UserKey scenarios

The following table provides details for UserType and UserKey scenarios:

Value UserType member name Description UserKey
0 Regular A regular user without admin permissions. Microsoft Entra Object ID in GUID format
2 Admin An administrator in your Microsoft 365 organization.1 Microsoft Entra Object ID in GUID format
3 DCAdmin A Microsoft datacenter administrator or datacenter system account. Microsoft Entra Object ID in GUID format
4 System An audit event triggered by server-side logic. For example, Windows services or background processes. Guid.Empty.ToString() (or the value '00000000-0000-0000-0000-000000000000').
5 Application An audit event triggered by a Microsoft Entra application. Microsoft Entra Application Name or Application ID (when available). Otherwise, an empty string.
6 ServicePrincipal A service principal. Guid.Empty.ToString() (or the value '00000000-0000-0000-0000-000000000000').
7 CustomPolicy A customer created or managed policy. Guid.Empty.ToString() (or the value '00000000-0000-0000-0000-000000000000').
8 SystemPolicy A Microsoft-managed or system policy. Guid.Empty.ToString() (or the value '00000000-0000-0000-0000-000000000000').
9 PartnerTechnician A partner tenant's user working on behalf of the customer tenant (in GDAP scenarios). Guid.Empty.ToString() (or the value '00000000-0000-0000-0000-000000000000').
10 Guest A guest or anonymous user. Guid.Empty.ToString() (or the value '00000000-0000-0000-0000-000000000000').

Note

1 For Microsoft Entra related events, the value for an administrator isn't used in an audit record. Audit records for activities performed by administrators will indicate that a regular user (for example, UserType: 0) performed the activity. The UserID property will identify the person (regular user or administrator) who performed the activity.