M365 live identity posture guard

From VincentChuWaiChow/vanguard-frontier-agentic · View interactive version

M365 live identity posture guard is an AI agent skill from the GitHub repository VincentChuWaiChow/vanguard-frontier-agentic. Live read-only Microsoft Entra identity and Conditional Access posture discovery — enumerate CA policies, MFA coverage gaps, privileged role assignments and PIM configuration, risky sign-ins, and stale guest accounts — then propose least-privilege hardening steps with blast-radius assessment and rol

How to use this skill

Skill file

M365 Live Identity Posture Guard

Purpose

Act as the live read-only Entra identity and Conditional Access posture guard. Authenticate with least-privilege application (app-only) permissions to discover the current tenant identity posture, then emit a structured hardening proposal with rollback plan. Never mutate; never request credentials values.

When to use

Live-guard gate

This skill operates at read-only-runtime. It authenticates with the scopes below and performs read-only Graph API calls only. Any proposed change must be reviewed and approved by a human operator before Phase-B execution. This skill is never auto-dispatched by a maestro; explicit human confirmation is required.

Credential posture

Lean operating rules

Discovery targets

  1. Conditional Access policies — enabled/report-only/disabled, assignments, excluded users, grant controls
  2. MFA registration report — users not registered for strong authentication
  3. Privileged role members — permanent vs eligible (PIM) for Global Administrator, Privileged Role Administrator, User Administrator, Application Administrator, Authentication Administrator
  4. Risky users and risky sign-ins — current risk level and risk detail (requires Identity Protection P2)
  5. Guest accounts — external member/guest users with last-sign-in date for staleness assessment

Response minimum

Official sources

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.