Proof of concept: Automated document review tracking with Microsoft 365
A proof of concept that tracks whether assigned reviewers have accessed important policy documents, built with SharePoint Online, Power Automate and the Microsoft 365 Management Activity API.
Policy document
Viewed by 2 of 3 reviewers
- Reviewer AViewed
- Reviewer BViewed
- Reviewer CPending
The business problem
When a policy document goes out for review, someone has to find out who has opened it. Without a shared record, that means asking people and keeping the answers by hand.
No clear view of access
A document is shared for review, but nobody can see which reviewers have opened it.
Follow-ups by hand
Someone has to ask reviewers one by one, including people who have already looked.
Progress in many places
Answers sit in inboxes, chats and separate lists, so the overall status is hard to state.
The solution
Each reviewer gets a tracking record for each document. Access events that Microsoft 365 already records in its audit log then update those records, so reviewers do not have to report back.
- Project type
- Proof of concept
- Category
- Microsoft solutions, SharePoint, business process automation
- Platform
- Microsoft 365
Two flows, one tracking list
One flow starts when a document is uploaded. The other runs on a schedule and brings the records up to date.
When a document is uploaded
On a schedule
SharePoint tracking list
One record for each reviewer and document
Pendingchanges toViewed
How it works
From upload to a status everyone can check.
A document is uploaded
A Power Automate flow starts when the document reaches SharePoint and creates a tracking record for each intended reviewer.
Audit events are retrieved
A scheduled flow collects the relevant events through the Microsoft 365 Management Activity API.
Access is matched to reviewers
The flow finds document access events that belong to the assigned reviewers.
Records update themselves
Matching tracking records in SharePoint change from Pending to Viewed.
Progress is monitored centrally
Review status for each document can be followed in one place.
What it is designed to improve
The aims of the proof of concept, not measured results.
Fewer follow-ups
Less manual chasing of document reviews.
Visibility
A better view of reviewer activity.
Central tracking
Review status held in one list.
Automated monitoring
Document access checked by a scheduled flow.
Accountability
A clear record for each reviewer and document.
What it shows, and what it does not
It shows
- Tracking records can be created automatically when a document is uploaded.
- Access events in Microsoft 365 can be matched to assigned reviewers.
- Records can move from Pending to Viewed without anyone updating them by hand.
Its limits
- It is a proof of concept, not a deployed enterprise product.
- Viewed means an access event was recorded. It does not show that the document was read in full or agreed with.
- Updates depend on the schedule and on when audit events become available, so they are not instant.
Technology
Microsoft 365 services, connected by two flows.
Tenant details, credentials and document names are left out of this case study.
- SharePoint Online
- Holds the documents and the tracking records.
- Power Automate
- Runs the upload flow and the scheduled flow.
- Microsoft 365 Management Activity API
- Supplies the audit events the scheduled flow retrieves.
- Microsoft Purview Audit
- Records the document access events.
- Microsoft Entra ID and OAuth 2.0 client credentials
- Let the scheduled flow sign in to the API as an application.
- SharePoint REST API
- Lets the flows work with SharePoint data.
- Microsoft Teams integration
- Links the workflow with Teams.
Guides from Osmosys Insights
How to See Who Viewed a SharePoint Document
Three ways to find out who opened a file in SharePoint Online, what each one really proves, and how we automated it for document reviews.
Need to know who has seen a document?
Tell us how reviews work in your organization today. We’ll come back within 24 hours with a suggested next step.
