DataClassification is a table-field property, not a page-field property
DataClassification is defined on table fields. Pages — including Card, List, API, and ListPart — do not own a classification; they simply expose fields whose classification is inherited from the underlying table.
- microsoftlayer
- privacydomain
- 0examples
- 0pull requests
Rule on GitHub · microsoft layer · privacy · BC all · tier official · derived
Description
DataClassification is defined on table fields. Pages — including Card, List, API, and ListPart — do not own a classification; they simply expose fields whose classification is inherited from the underlying table. A page-level DataClassification property does not exist, so neither a missing nor a “wrong” classification can be reported against a page. When the underlying table field is misclassified, the fix is on the table definition, not on every page that surfaces the field.
Best Practice
When reviewing a page that exposes a field believed to be under-classified, follow the field back to its source table and inspect (or correct) the DataClassification there. A single corrected table field propagates to every page, report and API that uses it.
Anti Pattern
Flagging a page (or trying to add a DataClassification property to a page field) because the page displays personal data. Pages display data that authenticated, permissioned users are already entitled to see; the classification belongs on the table field that stores the data, not on the UI that renders it.
Names
- ErrorInfo.DataClassification([DataClassification]) Method (names DataClassification)
From microsoft/BCQuality at a4593a1, MIT License, Copyright (c) 2026 Microsoft Corporation (license).