Record

Record class

Audit log record

The Record type exposes the following members:

Constructors

NameDescription
Record()Initializes a new instance of the Record class

Properties

NameDescription
creation_timeGets or sets date and time in Coordinated Universal Time (UTC) when the user performed the activity.
Mandatory: Yes
idGets or sets unique identifier of an audit record.
Mandatory: Yes
operationGets or sets name of the user or admin activity.
For a description of the most common operations/activities, see Search the audit log in the Office 365 Protection Center.
For Exchange admin activity, this property identifies the name of the cmdlet that was run.
For Dlp events, this can be “DlpRuleMatch”, “DlpRuleUndo” or “DlpInfo”, which are described under “DLP schema” below.
Mandatory: Yes
organization_idGets or sets GUID for your organization’s Office 365 tenant.
This value will always be the same for your organization, regardless of the Office 365 service in which it occurs.
Mandatory: Yes
record_typeGets or sets type of operation indicated by the record.
Mandatory: Yes
result_statusGets or sets value which indicates whether the action (specified in the Operation property) was successful or not.
Mandatory: No
user_keyGets or sets an alternative ID for the user identified in the UserId property.
For example, this property is populated with the passport unique ID (PUID) for events performed by users in SharePoint, OneDrive for Business, and Exchange.
This property may also specify the same value as the UserID property for events occurring in other services and events performed by system accounts.
Mandatory: Yes
user_typeGets or sets type of user that performed the operation.
Mandatory: Yes
workloadGets or sets Office 365 service where the activity occurred.
Mandatory: No
client_ipGets or sets 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.
Mandatory: Yes
object_idGets or sets object identifier.
For SharePoint and OneDrive for Business activity, the full path name of the file or folder accessed by the user.
For Exchange admin audit logging, the name of the object that was modified by the cmdlet.
Mandatory: No
user_idGets or sets UPN (User Principal Name) of the user who performed the action (specified in the Operation property) that resulted in the record being logged;
for example, my_name@my_domain_name.
Note that records for activity performed by system accounts (such as SHAREPOINT\system or NT AUTHORITY\SYSTEM) are also included.
Mandatory: Yes
azure_active_directory_event_typeGets or sets type of Azure AD event.
Mandatory: Yes
extended_propertiesGets or sets list of extended properties for the setting being changed. Each property will have a Name and Value.
Mandatory: No
clientGets or sets details about the client device, device OS, and device browser that was used for the of the account login event.
Mandatory: No
login_statusGets or sets login status
Mandatory: Yes
user_domainGets or sets Tenant Identity Information (TII).
Mandatory: Yes

See Also