What it observes
When a person last changed something on one site, and whether the site is in a state where nobody could.
m365-governance collect activity \
--client-id <id> \
--site-url https://<tenant>.sharepoint.com/sites/<site> \
--tenant-url https://<tenant>-admin.sharepoint.com \
--output ./evidence/activity.json| Mode | Activity |
| Needs | --site-url and --tenant-url |
| Profile | activity |
| Produces findings | Yes |
The one decision this collector exists for
It reads LastItemUserModifiedDate, not LastItemModifiedDate.
On a real tenant every site had been touched that same day by a system process, and two of three had gone over a year without a person. The naive property makes every site look alive. That difference is the whole reason the module exists, and it is why an inactivity finding from this engine is worth reading.
Why the lock state travels with the date
A site nobody has touched because it is locked is not the same as a site nobody wants. Collecting whether the site is in a state where nobody could change it keeps a rule from reporting enforced read only as abandonment.
What it does not establish
That the content is unwanted. A last human write date is a fact about writes. Whether anybody is reading, and whether the site still matters, is not observable from here.
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
- when a person last changed something on one site
- Collector
- PnP PowerShell · mode
Activity - Reads
Get-PnPWebGet-PnPTenantSite
- 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-ACTIVITY-001No person has changed anything on this site for over a yearconvention
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.