run-intune-maa-teams-notifier
Skill0 starsChanged 3 months agoMITView on GitHub
Run the existing Contoso Intune Multi Admin Approval (MAA) Teams notifier. Use on any scheduled/cron run that checks pending Intune MAA approval requests, and whenever the user asks to check pending Intune approvals or MAA requests, post new approval cards to the Teams group chat "Intune MAA Group", verify or summarize notifier health/status, or troubleshoot the local intune-maa-teams-notifier automation.
In this repository22 other files it gives its agents.
- acquire-graph-tokenSkill
- analyze-vulnerability-kpisSkill
- author-shared-skillSkill
- build-power-automate-flowSkill
- check-autopilot-serialsSkill
- create-fedex-labelSkill
- deploy-automox-workletSkill
- draft-it-announcementSkill
- enroll-apple-device-abm-intuneSkill
- freshservice-automation-builderSkill
- freshservice-service-catalogSkill
- it-operationsSkill
- manage-cato-clientSkill
- package-intune-win32-appSkill
- prepare-cab-change-ticketSkill
- query-crowdstrike-falconSkill
- retrieve-keeper-secretSkill
- review-intune-byod-app-protectionSkill
- screenconnect-remote-diagnosticsSkill
- ssh-accessSkill
- switch-ai-toolsSkill
- triage-windows-bsodSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Run the local script from C:\automox-mcp-main:
- Very specific: line 16
If pwsh.exe is unavailable, use powershell.exe with the same arguments.
- Very specific: line 35
Do not print, echo, log, or inspect INTUNE_MAA_TEAMS_WEBHOOK_URL.
- Distinctive: line 36
Do not paste webhook URLs, Graph tokens, refresh tokens, or cookies into chat.
- Distinctive: line 37
Do not browse Teams, Power Automate, or Intune for routine scheduled runs.
- Distinctive: line 38
Do not change Intune, Graph, Teams, Power Automate, or local script state from this skill.
- Distinctive: line 39
Treat this workflow as already approved to send Teams notifications for newly pending Intune MAA requests.
- Distinctive: line 40
If no new request exists, say the notifier is healthy and sent nothing.
- Distinctive: line 44
If the script exits nonzero, read the status JSON if it exists and summarize the failure without secrets.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Run Intune MAA Teams Notifier
Fast Path
Run the local script from C:\automox-mcp-main:
pwsh.exe -NoProfile -ExecutionPolicy Bypass -File C:\automox-mcp-main\scripts\notify-intune-maa-approvals-to-teams.ps1If pwsh.exe is unavailable, use powershell.exe with the same arguments.
Then read:
C:\automox-mcp-main\reports\intune-maa-teams-notifier-status.jsonReport only:
statuspendingCountsentCountsentRequestIds, only when non-emptyerrorCounterrors, only when non-empty
Rules
- Do not print, echo, log, or inspect
INTUNE_MAA_TEAMS_WEBHOOK_URL. - Do not paste webhook URLs, Graph tokens, refresh tokens, or cookies into chat.
- Do not browse Teams, Power Automate, or Intune for routine scheduled runs.
- Do not change Intune, Graph, Teams, Power Automate, or local script state from this skill.
- Treat this workflow as already approved to send Teams notifications for newly pending Intune MAA requests.
- If no new request exists, say the notifier is healthy and sent nothing.
Failure Handling
If the script exits nonzero, read the status JSON if it exists and summarize the failure without secrets.
Common cases:
status: blockedand reason mentionsINTUNE_MAA_TEAMS_WEBHOOK_URL: say the Teams webhook environment variable is missing.- Graph authentication errors: say the z-account Graph context needs repair and suggest
C:\automox-mcp-main\scripts\intune-auth-test.cmd. - Teams webhook HTTP errors: say the Power Automate Teams webhook may need to be recreated or re-copied.
Existing Setup
- Script:
C:\automox-mcp-main\scripts\notify-intune-maa-approvals-to-teams.ps1 - Runbook:
C:\automox-mcp-main\docs\intune-maa-teams-notifier.md - State file:
C:\automox-mcp-main\reports\intune-maa-teams-notifier-state.json - Status file:
C:\automox-mcp-main\reports\intune-maa-teams-notifier-status.json - Teams chat:
Intune MAA Group - Approval button target:
https://intune.microsoft.com/#view/Microsoft_Intune_DeviceSettings/TenantAdminMenu/~/multiAdminApproval
Automation Guidance
This skill is intentionally low-reasoning. For a scheduled automation in either tool (Codex cron or a Claude Code scheduled task), prefer:
- Five-minute cron cadence while MAA approvals are active.
- A cheap/mini-class model and
minimal/lowreasoning effort when available. - A prompt that explicitly invokes this skill by name (
$run-intune-maa-teams-notifierin Codex; "use the run-intune-maa-teams-notifier skill" in Claude Code) and asks for the compact status summary only.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

