Usage
tenant auditlog report [options]
Description
Gets audit logs from the Office 365 Management API
Options
| Option |
Description |
-c, --contentType <contentType> |
Audit content type of logs to be retrieved, should be one of the following: AzureActiveDirectory, Exchange, SharePoint, General, DLP. |
-s, --startTime [startTime] |
Start time of logs to be retrieved. Start time and end time must be less than or equal to 24 hours apart. Start time is mandatory if End time is specified. |
-e, --endTime [endTime] |
End time of logs to be retrieved. Start time and end time must be less than or equal to 24 hours apart. If End time is not specified, command will assume the End time to be 24 hours from the specified Start time. |
-o, --output [output] |
Output type. json,text. Default text |
--verbose |
Runs command with verbose logging |
--debug |
Runs command with debug logging |
Additional Information
For more information and implementation details see Get-PnPUnifiedAuditLog
Usage
Description
Gets audit logs from the Office 365 Management API
Options
-c, --contentType <contentType>-s, --startTime [startTime]-e, --endTime [endTime]-o, --output [output]json,text. Defaulttext--verbose--debugAdditional Information
For more information and implementation details see Get-PnPUnifiedAuditLog