Microsoft 365 Monitoring and Remediation Guide
Last updated: August 26, 2026
Overview
The Matters Microsoft 365 integration scans Microsoft 365 data for sensitive entities and supports remediation for eligible OneDrive and SharePoint files.
Two connection modes are available:
Monitor
Provides read-only scanning for:
OneDrive users and files
SharePoint sites and files
Outlook mailboxes and emails
Matters can discover and classify sensitive entities but cannot modify files, permissions, or sharing settings.
Monitor & Remediate
Includes all monitoring capabilities and enables remediation actions on eligible OneDrive and SharePoint files.
Outlook content is scanned for sensitive entities, but remediation actions apply only to OneDrive and SharePoint files.
Required Permissions
To enable remediation, a Microsoft Entra administrator must add the following Microsoft Graph application permissions and grant admin consent:
Permission | Purpose |
|---|---|
| Modify files, manage sharing permissions and links, and delete files. |
| Read and update documents and content across SharePoint sites. |
| Manage SharePoint lists, libraries, and related site resources. |
Configure the Integration
In Microsoft Entra ID
To enable remediation, ensure the required Microsoft Graph application permissions are configured and admin consent has been granted.
Open Microsoft Entra admin centre.
Go to App registrations.
Select the application used for Matters.
Open API permissions.
Add the required Microsoft Graph application permissions.
To perform remediation on OneDrive and SharePoint files, enable Monitor & Remediate while configuring the Microsoft 365 integration.
Grant the following Microsoft Graph application permissions in Microsoft Entra ID to allow Matters to remediate OneDrive and SharePoint files.
Files.ReadWrite.All : Allows Matters to modify files, revoke sharing permissions, manage sharing links and move files to the recycle bin.
Sites.ReadWrite.All : Allows Matters to remediate documents and related content across SharePoint site collections.
Sites.Manage.All : Allows Matters to manage SharePoint document libraries and lists.
Refer SAAS O365 Integration guide under SAAS for Detailed Steps for adding permissions
Grant admin consent for the organisation.
In Matters
The following steps apply only if Microsoft 365 is already integrated with Matters and you want to enable remediation for the existing connection.
Go to Integrations → SaaS.
Open the existing Microsoft 365 integration.
Select Edit Connection.
Choose Monitor & Remediate.
Enable the Remediation Engine.
Click Save.
If you are setting up Microsoft 365 in Matters for the first time, follow the Microsoft 365 Integration Guide under SAAS Integrations to create and configure the integration.
Selecting Monitor enables scanning only and does not allow remediation actions.
Supported Remediation Actions
Action | Description |
|---|---|
Make Private | Revokes all sharing, including anyone-with-link access and every external grant, restoring owner-only access. This action is non-destructive and idempotent. |
Remove External Access | Revokes every outside-organisation grant and external or anyone-with-link access. |
Remove External Access by Time | Schedules external-access removal for a specified time. Matters stores the deadline and removes access when the deadline is reached. |
Revoke Specific Recipient | Removes a single external or internal grantee from a file while leaving all other recipients in place. |
Downgrade Link Scope | Converts an Anyone with the link sharing link to organisation-only or specific-people access. |
Set Link Expiry | Sets a time-bound expiry for a public link. Matters stores the expiry and removes the public link when the expiry time is reached while retaining existing internal and external direct shares. |
Delete File | Permanently deletes the file or object, using version-aware handling where applicable. This action is destructive. |
Only actions that are valid for the file's source and current sharing state are displayed.
Perform a Remediation Action
Users can remediate eligible OneDrive and SharePoint files that are shared publicly, externally, or internally.
Go to SaaS.
Select a OneDrive User or SharePoint Site.
Select the file which you want to perform Remediation Action.

Review the file's owner, sharing status, and detected sensitive entities.

Click Take Action.

Select the required remediation action. Review the impact.

Confirm the action or submit it for approval.
Open File Activity to track the remediation progress.
All remediation activity is recorded in:
Remediation → Activity

Audit Logs

Delete a File
Delete File is a destructive remediation action supported exclusively for eligible OneDrive and SharePoint files.
Because deletion permanently removes the file, the Delete File remediation flow should require approval. The file is deleted only after an authorised admin/approver approves the request.
Configure Delete File Approval
Before users can submit files for deletion, an administrator must configure the approval workflow.
Go to Remediation → Flows.
Select Delete File.

Configure the required Scope to include the applicable OneDrive and/or SharePoint datastores.

4. Under Approval, enable Require approval. In Approvers, add the administrator or users authorised to approve deletion requests.

Click Save.
The configured approver receives and reviews deletion requests before the file can be deleted.
Submit a File for Deletion
To request deletion of a OneDrive or SharePoint file:
Open the required OneDrive or SharePoint file.

Click Take Action.
Select Delete File.

Review the impact of the action and provide any required details or comments.

Submit the deletion request. Because approval is enabled, the file is not deleted immediately. The remediation request moves to Awaiting Approval.

While the request is awaiting approval:
Delete File displays the Awaiting Approval status.
Other remediation actions may be unavailable until the pending action is resolved.
Approval Notification
When the deletion request is submitted, the configured approver receives an email notification from Matters informing them that a file has been marked for removal.
The email includes relevant information about the request, such as:
File name and path
Data source
File owner
Detected sensitive data
Requester
Request time
Request comments
The approver can select Review and Approve from the email to open the remediation request in Matters.

Approve or Reject the Deletion
The administrator/approver can also review pending requests directly from Matters.
Go to Remediation → Activity.

Locate the Delete File action with the Awaiting Approval status.
Open the remediation activity.
Review the file, requester, datastore, and other request details.
Select one of the following:
Approve & Run — Approves the request and allows Matters to execute the file deletion.
Reject — Rejects the deletion request and prevents the file from being deleted.

After Approval
When the administrator clicks Approve & Run, Matters executes the Delete File remediation action. Once the action completes successfully, the file is deleted from the corresponding OneDrive or SharePoint location.
If the administrator selects Reject, the deletion is not performed.
The request and its final status can be tracked from Remediation → Activity and are also recorded in the Audit Logs.
Important: The Delete File remediation action and approval workflow apply to supported OneDrive and SharePoint files only. Outlook content can be scanned for sensitive entities but cannot be deleted using this remediation action.
All other supported remediation actions can be performed in a similar way by selecting the relevant action from Take Action, reviewing the impact, and completing the required confirmation or approval steps.