CLI Microsoft365
pnp/cli-microsoft365-mcp-server
Use CLI for Microsoft 365 to manage Microsoft 365 tenants from the terminal.
Guidance for managing AI agents at enterprise scale with Microsoft Agent 365 - the control plane that lets admins observe, govern, and secure every agent (Microsoft, Copilot Studio, and third-party)…
$ npx skills add vinayaklatthe/microsoft-security-skills --skill microsoft-agent-365 -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install vinayaklatthe/microsoft-security-skills microsoft-agent-365 --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/vinayaklatthe/microsoft-security-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/microsoft-agent-365 .claude/skills/microsoft-agent-365 && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "microsoft-agent-365" agent skill from https://github.com/vinayaklatthe/microsoft-security-skills/tree/main/skills/microsoft-agent-365 into .claude/skills/microsoft-agent-365/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "microsoft-agent-365", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/vinayaklatthe/microsoft-security-skills/tree/main/skills/microsoft-agent-365Type this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add vinayaklatthe/microsoft-security-skills --skill microsoft-agent-365 -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install vinayaklatthe/microsoft-security-skills microsoft-agent-365 --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/vinayaklatthe/microsoft-security-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/microsoft-agent-365 .agents/skills/microsoft-agent-365 && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "microsoft-agent-365" agent skill from https://github.com/vinayaklatthe/microsoft-security-skills/tree/main/skills/microsoft-agent-365 into .agents/skills/microsoft-agent-365/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "microsoft-agent-365", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add vinayaklatthe/microsoft-security-skills --skill microsoft-agent-365 -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install vinayaklatthe/microsoft-security-skills microsoft-agent-365 --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/vinayaklatthe/microsoft-security-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/microsoft-agent-365 .cursor/skills/microsoft-agent-365 && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "microsoft-agent-365" agent skill from https://github.com/vinayaklatthe/microsoft-security-skills/tree/main/skills/microsoft-agent-365 into .cursor/skills/microsoft-agent-365/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "microsoft-agent-365", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/vinayaklatthe/microsoft-security-skills.git --path skills/microsoft-agent-365--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add vinayaklatthe/microsoft-security-skills --skill microsoft-agent-365 -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install vinayaklatthe/microsoft-security-skills microsoft-agent-365 --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/vinayaklatthe/microsoft-security-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/microsoft-agent-365 .gemini/skills/microsoft-agent-365 && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "microsoft-agent-365" agent skill from https://github.com/vinayaklatthe/microsoft-security-skills/tree/main/skills/microsoft-agent-365 into .gemini/skills/microsoft-agent-365/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "microsoft-agent-365", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install vinayaklatthe/microsoft-security-skills microsoft-agent-365Installs for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add vinayaklatthe/microsoft-security-skills --skill microsoft-agent-365 -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/vinayaklatthe/microsoft-security-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/microsoft-agent-365 .github/skills/microsoft-agent-365 && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "microsoft-agent-365" agent skill from https://github.com/vinayaklatthe/microsoft-security-skills/tree/main/skills/microsoft-agent-365 into .github/skills/microsoft-agent-365/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "microsoft-agent-365", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add vinayaklatthe/microsoft-security-skills --skill microsoft-agent-365 -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install vinayaklatthe/microsoft-security-skills microsoft-agent-365 --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/vinayaklatthe/microsoft-security-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/microsoft-agent-365 .opencode/skills/microsoft-agent-365 && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "microsoft-agent-365" agent skill from https://github.com/vinayaklatthe/microsoft-security-skills/tree/main/skills/microsoft-agent-365 into .opencode/skills/microsoft-agent-365/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "microsoft-agent-365", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
microsoft-agent-365Guidance for managing AI agents at enterprise scale with Microsoft Agent 365 - the control plane that lets admins observe, govern, and secure every agent (Microsoft, Copilot Studio, and third-party)…
Microsoft Agent 365 is an agent skill from vinayaklatthe/microsoft-security-skills. Guidance for managing AI agents at enterprise scale with Microsoft Agent 365 - the control plane that lets admins observe, govern, and secure every agent (Microsoft, Copilot Studio, and third-party) from a single registry, using Microsoft Entra Agent ID for identity, Microsoft Purview for data security, and Microsoft Defender for runtime threat protection. WHEN: Microsoft Agent 365, Agent 365, manage agents at scale, agent control plane, agent registry, agent map, observe govern secure agents, Entra Agent ID…
Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It works with Microsoft Copilot Studio, Microsoft Defender, Microsoft Entra ID and Microsoft 365. The repository describes itself as: Curated Microsoft Security skills for AI agents - Defender, Sentinel, Entra, Purview, Intune, Security Copilot. The licence is MIT.
7 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 15f16df. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
learn.microsoft.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Microsoft Agent 365 loads about 2k tokens when it runs. Until then it costs about 203 tokens; SKILL.md has 925 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from vinayaklatthe/microsoft-security-skills at commit 15f16df, republished under its MIT licence (© vinayaklatthe). 925 words, ~1,999 tokens.
.claude/skills/microsoft-agent-365/SKILL.md (or your agent's skills folder).Microsoft Agent 365 is the control plane for agents - it extends the infrastructure you use to manage people (identity, access, data protection, threat defense) to AI agents, regardless of where they originate (Microsoft, Copilot Studio, partner/third-party including agents built on Anthropic Claude, OpenAI, or Google Gemini, or custom-built). It organises the work into three pillars: observe, govern, and secure. Generally available for Commercial since 1 May 2026, licensed per user, with Microsoft E5 as the recommended prerequisite.
Standing up enterprise-wide management for a growing fleet of AI agents - when you need a single inventory, consistent lifecycle and access controls, and unified security across agents built on different platforms. Use it as the orchestration layer that ties together Entra, Purview, and Defender for agents.
Do not use this skill for Purview data-security controls on a single agent in isolation (use
purview-agent-365-security), or to remediate Microsoft 365 Copilot oversharing of end-user
content (use purview-copilot-oversharing / m365-oversharing).
| Goal | Pillar | Primary surface |
|---|---|---|
| Know how many agents exist, who owns them, how they're used | Observe | Agent registry + Agent Map in Microsoft 365 admin center |
| Onboard, approve, review, and retire agents with policy | Govern | Agent management in M365 admin center + Microsoft Purview |
| Give each agent a managed identity and risk-based access | Secure | Microsoft Entra Agent ID + Conditional Access |
| Stop agents leaking or over-accessing sensitive data | Secure | Microsoft Purview (DSPM for AI, DLP, sensitivity labels, IRM) |
| Detect malicious or unsafe agent behaviour at runtime | Secure | Microsoft Defender for Cloud Apps (real-time agent protection) |
Rule of thumb: treat every agent as a first-class, governed identity - not a feature of an app. The more autonomous the agent, the more it must be managed like a privileged account.
Set up Microsoft Agent 365 to manage all our AI agents at scale.How do I observe, govern, and secure agents from one control plane?Give each agent an Entra Agent ID and least-privilege access.Use Purview and Defender to secure Agent 365 agents.Build an agent inventory and retire ownerless agents.© vinayaklatthe, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/microsoft-agent-365 of vinayaklatthe/microsoft-security-skills.
Open the folder on GitHubat commit 15f16df
Microsoft Agent 365 next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Microsoft Agent 365 this skillvinayaklatthe/microsoft-security-skills | 175 | — | ~2k | Automated safety check: Pass | MIT | |
| CLI Microsoft365pnp/cli-microsoft365-mcp-server | 132 | — | ~3.5k | Automated safety check: Pass | MIT | |
| CLI Microsoft365 Scriptpnp/cli-microsoft365-mcp-server | 132 | — | ~3.3k | Automated safety check: Pass | MIT | |
| Entra Agent Idmicrosoft/GitHub-Copilot-for-Azure | 255 | 2 repos | ~4k | Automated safety check: Pass | MIT | |
| AI Agent ActivitySCStelz/security-investigator | 249 | — | ~17k | Automated safety check: Pass | MIT | |
| AI Agent PostureSCStelz/security-investigator | 249 | — | ~21k | Automated safety check: Pass | MIT |
pnp/cli-microsoft365-mcp-server
Use CLI for Microsoft 365 to manage Microsoft 365 tenants from the terminal.
pnp/cli-microsoft365-mcp-server
Write PowerShell scripts using CLI for Microsoft 365 commands to automate Microsoft 365 management tasks.
microsoft/GitHub-Copilot-for-Azure
Provision Microsoft Entra Agent Identity Blueprints, BlueprintPrincipals, and per-instance Agent Identities via Microsoft Graph, and configure OAuth 2.0 token exchange (fmipath, OBO, cross-tenant)…
SCStelz/security-investigator
Report/investigate RUNTIME ACTIVITY of AI agents (Agent 365 / Copilot Studio / M365 Copilot / Work IQ) — agents used, tools/connectors, channels, tokens, prompt/reply content, and Prompt Shield…
SCStelz/security-investigator
Audit or report on AI agent security posture across Copilot Studio, Microsoft 365 Copilot, Microsoft Foundry, and third-party agents.
microsoft/skills
Microsoft 365 Agents SDK for Python. An agent skill from microsoft/skills.
vinayaklatthe/microsoft-security-skills
Guidance for designing secure APIs on Azure - authentication, authorization, gateway controls, input validation, rate limiting, secret management, and runtime threat detection - aligned to OWASP API…
vinayaklatthe/microsoft-security-skills
Guidance for securing Azure App Service web apps and APIs — managed identity, Easy Auth with Microsoft Entra ID, network isolation via private endpoints + VNet integration, HTTPS / TLS hardening…
vinayaklatthe/microsoft-security-skills
Guidance for Azure Arc — projecting on-premises, multicloud (AWS/GCP), and edge servers, Kubernetes, and data services into Azure Resource Manager for unified governance, security, and management.
vinayaklatthe/microsoft-security-skills
Guidance for secure remote VM management in Azure using Azure Bastion combined with Defender for Cloud just-in-time (JIT) VM access.
vinayaklatthe/microsoft-security-skills
Guidance for Azure Confidential Computing — protecting data in use through hardware-based Trusted Execution Environments (TEEs).
vinayaklatthe/microsoft-security-skills
Guidance for Azure DDoS Protection — Network Protection (per-VNet) and IP Protection (per public IP) tiers built on the same always-on Microsoft platform.
Guidance for managing AI agents at enterprise scale with Microsoft Agent 365 - the control plane that lets admins observe, govern, and secure every agent (Microsoft, Copilot Studio, and third-party)…. Microsoft Agent 365 is an agent skill from vinayaklatthe/microsoft-security-skills. Guidance for managing AI agents at enterprise scale with Microsoft Agent 365 - the control plane that lets admins observe, govern, and secure every agent (Microsoft, Copilot Studio, and third-party) from a single registry, using Microsoft Entra Agent ID for identity, Microsoft Purview for data security, and Microsoft Defender for runtime threat protection.
Microsoft Agent 365 fits situations like: purview-only data controls on a single agent (use purview-agent-365-security); end-user Copilot oversharing (use purview-copilot-oversharing).
Run `npx skills add vinayaklatthe/microsoft-security-skills --skill microsoft-agent-365 -a claude-code`. Or copy the skill folder (skills/microsoft-agent-365 in vinayaklatthe/microsoft-security-skills) into .claude/skills/microsoft-agent-365 in your project. Claude Code loads it when a task matches its description.
Run `npx skills add vinayaklatthe/microsoft-security-skills --skill microsoft-agent-365 -a codex`. Or copy the skill folder (skills/microsoft-agent-365 in vinayaklatthe/microsoft-security-skills) into .agents/skills/microsoft-agent-365 in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add vinayaklatthe/microsoft-security-skills --skill microsoft-agent-365 -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/microsoft-agent-365, .gemini/skills/microsoft-agent-365, .github/skills/microsoft-agent-365 and .opencode/skills/microsoft-agent-365 in your project.
SKILL.md names no scripts, command-line tools or credentials: Microsoft Agent 365 is instructions for the agent only.
SKILL.md names 1 domain. As links in the text: learn.microsoft.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Microsoft Agent 365 is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2k tokens (SKILL.md is roughly 8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Microsoft Agent 365: CLI Microsoft365 (pnp/cli-microsoft365-mcp-server, 132 stars), CLI Microsoft365 Script (pnp/cli-microsoft365-mcp-server, 132 stars), Entra Agent Id (microsoft/GitHub-Copilot-for-Azure, 255 stars) and AI Agent Activity (SCStelz/security-investigator, 249 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
vinayaklatthe (a GitHub user) maintains it in vinayaklatthe/microsoft-security-skills, which has 175 GitHub stars. The repository holds 50 skills in this directory. The repository was last updated on June 18, 2026.
Source: vinayaklatthe/microsoft-security-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.