Reducing returned records from Defender before export so Excel builds the audit JSON columns
Short answer
A Reducing returned records before export keeps the relevant JSON properties within the first 1,000 rows Excel samples, so their columns are created.
Question
Key Takeaways
Reducing the exported record count from the source (Defender) so the relevant properties appear in the first 1,000 rows is the documented way to make Excel generate their columns during the JSON transform.
To ensure Excel generates columns for specific JSON properties, you modify the Defender audit-search criteria to return fewer records before exporting, so the records with those properties are within the first 1,000 rows Power Query samples.
Common mistake: Exporting the full 10,000 rows — the records with the missing properties may sit beyond the first 1,000 rows and never get columns, so reducing the export scope is the fix.
Expert Analysis
Why the Answer Is Correct
Excel derives the split JSON columns from the first 1,000 rows of the AuditData column. By tightening the Defender audit-search criteria to return fewer records, the export's first 1,000 rows are more likely to contain the specific JSON properties, and their columns are generated during Get & Transform. This is the documented approach, so the solution meets the requirement.
Why the Other Option Is Wrong
Answering No (B) would ignore the documented guidance that reducing the number of records before export helps surface the missing properties.
Community Comment Notes
The community is unanimous (A 100). e072f83 and smosmo cite the audit-log-export-records documentation, noting you must reduce the records so the relevant JSON properties fall within the first 1,000 sampled rows.
Official Reference
https://learn.microsoft.com/en-us/purview/audit-log-export-records
This link opens the official vendor documentation in a new tab.
Community Votes
100% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 3 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 3
-
e072f83 👍 4 Answered AThe JSON properties displayed in the previous screenshot (after you click Load more) are based on the properties found in the AuditData column from the first 1,000 rows in the CSV file. If there are different JSON properties in records after the first 1,000 rows, these properties (and a corresponding column) won't be included when the AuditData column is split into multiple columns. To help prevent this, consider re-running the audit log search and narrow the search criteria so that fewer records are returned. Another workaround is to filter items in the Operations column to reduce the number of rows (before you perform step 5 above) before transforming the JSON object in the AuditData column. https://learn.microsoft.com/en-us/purview/audit-log-export-records
-
smosmo 👍 2Correct, you have to reduce the records:https://learn.microsoft.com/en-us/purview/audit-log-export-records
-
smosmo 👍 1 Answered AThe JSON properties displayed in the previous screenshot (after you click Load more) are based on the properties found in the AuditData column from the first 1,000 rows in the CSV file. If there are different JSON properties in records after the first 1,000 rows, these properties (and a corresponding column) won't be included when the AuditData column is split into multiple columns. To help prevent this, consider re-running the audit log search and narrow the search criteria so that fewer records are returned. Another workaround is to filter items in the Operations column to reduce the number of rows (before you perform step 5 above) before transforming the JSON object in the AuditData column.
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All SC-200 Questions
Access 80 questions with complete answers and detailed explanations.
View Full SC-200 Practice Test →