pnp / PnP-PowerShell

SharePoint PnP PowerShell CmdLets

Home Page:https://pnp.github.io/powershell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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]

laimaKristol opened this issue · comments

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.