pnp / PnP-PowerShell

SharePoint PnP PowerShell CmdLets
https://pnp.github.io/powershell
Other
985 stars 665 forks source link

Get-PnPUnifiedAuditLog is missing pagination. It only bring back results for the limit of two hours. There are no parameters to run through full log (of the day)[BUG] #2969

Open laimaKristol opened 3 years ago

laimaKristol commented 3 years ago

Get-PnPUnifiedAuditLog is missing pagination. It only bring back results for the limit of two hours. There are no parameters to run through full log (of the day). In other APIs for Audit log, you need to get the next page property (ex. added in the header) and use it to call the command again until you finish reading the log for given time period.