- Home
- Skills
- Agents & Orchestration
- ast microsoft
Works with the AI Agents you already use
ast microsoft
Investigate and respond to threats across Microsoft 365, Entra ID, Azure, and Defender using MCP and CLI tools.
$199
ast microsoft
Example session with this skill installed
Check Entra ID for any risky users and list the most recent Defender alerts.
- Read your context and instructions
- Compiled the ast microsoft
I have completed the investigation into risky users in Entra ID and gathered the latest alerts from Microsoft Defender.
Security Investigation Report
| Source | Identifier | Risk Level / Severity | Description | Timestamp (UTC) |
|---|---|---|---|---|
| Entra ID | user.alpha@company.com | High | Leaked Credentials | 2023-10-27 14:22:01 |
| Entra ID | user.beta@company.com | Medium | Unfamiliar sign-in properties | 2023-10-27 15:45:10 |
| Defender | Alert-8821 | Informational | Manual investigation started | 2023-10-27 16:00:12 |
| Defender | Alert-8825 | High | Possible Cobalt Strike activity | 2023-10-27 16:15:45 |
Gaps
- The search was limited to the last 24 hours.
- No errors were reported by the
az-searchtool. - Results cover Entra ID and Defender only; Sentinel KQL hunting was not performed.
Next steps
- Needs your approval: Revoke sessions for
user.alpha@company.comto mitigate the leaked credential risk. - Needs your approval: Isolate the host associated with Defender alert
Alert-8825. - Run a Sentinel KQL query to check for lateral movement from these accounts.
Connects securely to your tools. The creator never sees your data.
About this skill
Securing and managing Microsoft 365 or Azure environments often requires jumping between multiple portals and running disjointed PowerShell scripts. This skill provides a unified command-line and MCP interface to investigate and respond to threats across the entire Microsoft stack from your agent.
What it does
- Security Investigation queries Entra ID, Defender alerts, and Sentinel incidents using KQL to hunt for threats.
- Incident Response disables compromised accounts, revokes sessions, and contains hosts across on-prem AD and Entra.
- Email Defense searches mailboxes, analyzes headers, and purges phishing emails or releases items from quarantine.
- Device & App Management audits Intune device status, manages the Win32 app catalog, and tracks install status.
- Compliance & Governance manages Purview eDiscovery cases, litigation holds, and Teams federation blocks.
- Resource Optimization analyzes Azure cost data and identifies VM rightsizing opportunities.
How it works
- Prerequisites requires the user to create read, write, and compliance app registrations in the Entra portal.
- Installation involves running an
install.shscript to set up a local Python virtual environment and offline AST packages. - Configuration uses a
.envfile or system keychain to store API credentials securely. - Execution leverages specialized CLIs like
az-search,az-exch, andaz-sentinelor their corresponding MCP tools.
Frameworks & tools
Built for Python 3.12+, utilizing Microsoft Graph API, Azure Management API, and Sentinel KQL. Certain Exchange and Purview features require PowerShell 7 and the ExchangeOnlineManagement module.
Why this beats prompting it yourself
Generic prompts often hallucinate PowerShell syntax or overlook the complex API permissions required for M365 security actions. This skill provides tested, specific tooling that handles the nuances of Microsoft's various API endpoints while enforcing a strict safety model for destructive actions.
Use cases
- Disable a compromised user account and revoke all active sessions across Entra and on-prem AD.
- Search all mailboxes for a specific phishing SHA256 hash and purge the messages.
- Query Sentinel for high-severity incidents and pull associated Defender hunting telemetry.
- Audit Azure tenant spend and identify underutilized VMs for cost reduction.
Known limitations
Does not support Okta, Google Workspace, or sovereign clouds like GCC High and DoD. Write operations require manual environment variable gates to be enabled for MCP access.
How to use
Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scanned
Verified clean 3 days ago
- Passed all security checks, Safe to install
Requires