お客様は、Microsoft Defender XDR を使用する Azure サブスクリプションをご利用されています。 Microsoft Defender ポータルから監査検索を実行し、結果を Filel という名前のファイルとしてエクスポートします。 10,000行を含むCSVファイル。 Microsoft Excelを使用して、Filel.csvファイルからAuditData列を解析するために、データの取得と変換操作を実行します。しかし、これらの操作では、特定のJSONプロパティに対応する列が生成されません。 監査検索結果において、Excelが特定のJSONプロパティに対応する列を生成するようにする必要があります。 解決策:Defenderで監査検索の検索条件を変更して返されるレコード数を減らし、結果をエクスポートします。Excelで、新しいエクスポート機能を使用して「データの取得と変換」操作を実行します。 これは要件を満たしていますか?
正解:B
This solution does not reliably meet the requirement. The underlying problem is not the absolute count of rows in the CSV but how Power Query (Get & Transform) infers and expands JSON properties: Power Query samples the input rows to discover the JSON schema/fields. If a particular JSON property does not appear in the sample used for schema detection, Power Query will not create a column for it when you expand the JSON. Simply reducing the exported record count from Defender (so you end up with fewer rows) only helps if the exported dataset by chance contains the missing JSON properties within the rows Power Query samples. It is not a guaranteed or controlled fix and therefore does not meet the requirement. The correct fixes are to (a) adjust Power Query's sampling/preview settings so it inspects more rows (so the property is included in schema detection), or (b) explicitly parse the JSON and expand fields using Power Query M functions (for example parse each AuditData with JSON.Document and then expand Record fields), which ensures the desired properties become columns regardless of initial sampling. Reducing Defender export size is not the recommended or reliable approach.