What it observes
The sensitivity label and classification on a site, and whether they can be resolved to a name.
m365-governance collect classification \
--client-id <id> \
--site-url https://<tenant>.sharepoint.com/sites/<site> \
--output ./evidence/classification.json| Mode | Classification |
| Needs | --site-url |
| Profile | default |
| Produces findings | Yes |
No profile of its own, and that is a decision
A profile selects rules. The three classification rules are the only ones that read this evidence, so a profile naming them would repeat what the evidence already says. The omission is recorded here so it does not read as an oversight.
An empty label is an observation, not a gap
The first version reported an empty SensitivityLabelId as missing, which
says "the collector did not obtain this fact". Run against a tenant, all three
sites came back that way and the derived classified fact was false: an
answer built out of three admissions of ignorance.
Whichever of the two was right, the pair could not both be. An unlabelled site is a site that is unlabelled, and the engine now says so.
Why resolvability is collected separately
A label identifier that cannot be resolved to a name is a different situation from no label at all: the site is classified and the reader cannot see as what. Reporting both as "unclassified" would merge a configuration state with a visibility problem.
What the Engine publishes
Generated from the Engine's capability manifest at1.0.0b6@b4bf9c325233. No value on this panel is maintained by this site.
- Answers
- what a site records about the kind of content it holds
- Collector
- PnP PowerShell · mode
Classification - Reads
Get-PnPWebGet-PnPSite
- Least privilege
- not established
No source settles the least privilege for this collector, so the Engine states none. An invented permission would be worse than an admitted gap, because somebody would grant it.
- Produces
sharepoint·site- Proven against a tenant
- live-validated
Rules that decide from it
SPO-CLASS-001This site carries no sensitivity label and no classificationdocumented-guidanceSPO-CLASS-002This site carries a sensitivity label that could not be resolved to a nameconventionSPO-CLASS-003This group-connected site carries no sensitivity labelconventionSPO-CLASS-004A classification string is doing a label's jobdocumented-guidance
Contracts it produces
Every collection writes evidence and an account of itself. The manifest publishes no narrower per-capability list, so this states what it does establish rather than guessing at more.