Forum Discussion
Incomplete data from Search-UnifiedAuditLog cmdlet for AzureAD record type
from the docs https://docs.microsoft.com/en-us/office365/securitycompliance/search-the-audit-log-in-security-and-compliance
There's a 3,060-character limit for the data that's displayed in the AuditData field for an audit record. If the 3,060-character limit is exceeded, the data in this field is truncated.
- Ryan JacobsonOct 29, 2018Copper Contributor
Great - at the end of the day I am hoping for a valid JSON output. If individual fields have to be thrown away/truncated, so be it.
- TonyRedmondOct 29, 2018MVP
As I said, the truncation issue is being worked and we should have a solution soon. I am actively tracking the issue with engineering. See https://office365foritpros.com/2018/10/22/longer-retention-office365-auditdata/
- FromelardJan 28, 2019Iron Contributor
Dear all,
Any news for that question ?
I tried to use the Web interface to export the data and discovered that AuditData field limitation truncated to 3000 chars
I created a dedicated PowerShell script using the special command:- Search-UnifiedAuditLog
And found the truncate is also done at this Powershell level, so when that issue will be fixed ?
Thanks for your feedback.
PS:
I posted a script to manage that AuditLog:
The limitation still exist with the PS command
Fab