Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

purview-for-m365

Skill by vinayaklatthe

Guides admins in applying Microsoft Purview labels, DLP, retention and Copilot data protection across Exchange Online, SharePoint, OneDrive and Teams. It treats each workload separately, since each has distinct behaviour.

  • Score 57
  • 183 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install purview-for-m365

Built from the published package, never by AI.

git clone --depth 1 https://github.com/vinayaklatthe/microsoft-security-skills /tmp/microsoft-security-skills && mkdir -p ~/.claude/skills && cp -r /tmp/microsoft-security-skills/skills/purview-for-m365 ~/.claude/skills/purview-for-m365

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install purview-for-m365 in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill gives guidance for applying Microsoft Purview data security and compliance across Microsoft 365 workloads: Exchange Online, SharePoint, OneDrive and Teams. It coordinates sensitivity labels, DLP, retention and Copilot data protection for each workload. A per-workload picker compares labels, DLP, retention and notes for each one.

The skill treats each workload as its own DLP and retention location, so selecting one does not cover the others. It sets out a five-step approach: baseline labels, DLP with simulation, retention, Copilot protection and monitoring. It also lists guardrails and common anti-patterns, such as Teams DLP not covering historical chat. It is aimed at people operating Purview across Microsoft 365 collaboration and email.

Written from the project's SKILL.md and checked against it.

What it can do

  • Per-workload pickerCompares labels, DLP, retention and notes for Exchange, SharePoint, OneDrive and Teams.
  • Label baselinePublishes a label set to user groups and checks that it shows in each app.
  • DLP rolloutApplies DLP per workload location, with simulation before enforcement.
  • Retention mappingApplies retention and records through policies and adaptive scopes per workload.
  • Copilot protectionPairs oversharing controls and DSPM for AI so Copilot honours permissions and labels.
  • MonitoringUses Activity Explorer, alerts and audit with per-workload incident triage.
  • Container vs item labelsExplains that container labels do not encrypt items, while item labels do.

What you need

  • Microsoft Purview
  • Microsoft 365 workloads: Exchange Online, SharePoint, OneDrive and Teams

Try asking

  • Protect SharePoint and Teams data with labels and DLP across Office.
  • Set up retention for Exchange and OneDrive governance.
  • Apply container labels to a sensitive SharePoint site and a private Team.

Good to know

  • Teams DLP and retention are not retroactive for some message types.
  • Container labels do not encrypt items; item labels do.
  • Each workload is a separate DLP and retention location.
  • Retention for Teams alone misses meeting recordings stored in OneDrive or SharePoint.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/purview-for-m365/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to purview-for-m365

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

purview-for-m365: common questions

Does this skill cover the multicloud Data Map?

No. The source says to use the purview-data-map skill for the multicloud Data Map.

Do Teams DLP policies cover existing chat history?

The source says Teams DLP is post-creation only and not retroactive for some message types, so historical chat may not be covered.

Where are Teams meeting recordings stored?

The source says recordings live in OneDrive or SharePoint, so retention set only for Teams misses them.

How do I install purview-for-m365?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is purview-for-m365 free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is purview-for-m365 safe to use?

It scores 57 of 100. Grades: maintenance B, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to purview-for-m365?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

purview-for-m365 Install

Add to stack

Loading.