Microsoft Managed Apps is a project for building custom web applications with React, TypeScript, and Vite, and it provides Microsoft's official templates and development tooling. Developers use its SDK, CLI, and Vite plugin to create and manage these applications. Its catalogue add-ons help AI coding agents build Microsoft Managed Apps.
Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/microsoft/managed-appsnpx agentmods add skills/microsoft/managed-apps/add-office365-usersWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/microsoft/managed-apps/add-office365-users)<a href="https://agentmods.dev/skills/microsoft/managed-apps/add-office365-users"><img src="https://agentmods.dev/badge/skills/microsoft/managed-apps/add-office365-users/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/microsoft/managed-apps/add-office365-users"><img src="https://agentmods.dev/badge/skills/microsoft/managed-apps/add-office365-users.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00051 | $0.01299 |
| Opus 5.5 | $0.00020 | $0.00520 |
| Sonnet 5.5 | $0.00010 | $0.00260 |
| Haiku 4.5 | $0.00005 | $0.00130 |
Grade A, and why
add-office365-users scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 170 lines — stays where its author put it; the contents beside it link to each section on GitHub.
📋 Shared Instructions: shared-instructions.md — Cross-cutting concerns.
Add Office 365 Users (Wrapper)
This skill is a thin wrapper. Use /add-data-source as the single implementation path.
Delegation contract
Invoke /add-data-source with:
api-id:shared_office365usersmode:action
Office 365 Users: Method Selection Guide
After the connector is added, import the generated service:
import { Office365UsersService } from '../../generated/services/Office365UsersService'
Use the V2 methods for profiles and reporting relationships:
| Scenario | Method | Result |
|---|---|---|
| Current signed-in user | MyProfile_V2($select?) |
One GraphUser_V1 |
| Specific user by ID or UPN | UserProfile_V2(id, $select?) |
One GraphUser_V1 |
| User's manager | Manager_V2(id, $select?) |
One GraphUser_V1 |
| Direct reports | DirectReports_V2(id, $select?, $top?) |
Profiles in result.data.value |
| Search people | SearchUserV2(searchTerm, top?, ...) |
Search response in result.data.value |
| Profile photo | UserPhotoMetadata(userId), then UserPhoto_V2(id) |
Metadata, then binary image data |
DirectReports_V2 requires the target manager's Microsoft Entra directory ID or user
principal name (UPN). For the signed-in user, call
MyProfile_V2('id,userPrincipalName'), then pass the returned id or fall back to
userPrincipalName. For a known person, pass their directory ID or UPN directly.
Profile and direct-report pattern
Request only the fields the UI needs:
const fields = [
'id',
'displayName',
'jobTitle',
'department',
'mail',
'userPrincipalName',
'officeLocation',
].join(',')
const myProfile = await Office365UsersService.MyProfile_V2(
'id,userPrincipalName',
)
if (!myProfile.success) {
throw new Error(myProfile.error?.message ?? 'Failed to resolve current user')
}
const managerId =
myProfile.data?.id ?? myProfile.data?.userPrincipalName
if (!managerId) {
throw new Error('Current user profile did not include an ID or UPN')
}
const result = await Office365UsersService.DirectReports_V2(
managerId,
fields,
)
if (!result.success) {
throw new Error(result.error?.message ?? 'Failed to load direct reports')
}
const people = result.data?.value ?? []
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago Changed · -2 lines efe00ecf1c8c
- 1mo ago First seen · 172 lines · 51 tokens per session scan A 2a2bc0b8625e
add-office365-users is a skill published in the GitHub repository microsoft/managed-apps (36 stars, last pushed 3d ago), licensed MIT. It adds 51 tokens to every session and 1,299 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-24.
add-office365-users compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| add-office365-usersmicrosoft/managed-apps | Skill | 36 | 3d ago | MIT | A | 51 | Claude Code |
| mem0-oss-to-platformmem0ai/mem0 | Skill | 69k | 2d ago | Apache-2.0 | A | 217 | Claude Code, Codex |
| azure-mgmt-botservice-dotnetmicrosoft/skills | Skill | 3.2k | 2d ago | MIT | A | 78 | Claude Code |
| fastapi-router-pymicrosoft/skills | Skill | 3.2k | 2d ago | MIT | A | 46 | Claude Code |
| api-designericrisco/rsc-harness | Skill | 555 | 4d ago | MIT | A | 105 | Claude Code, Codex |
| migrate-segw-to-raparc-mcp/arc-1 | Skill | 253 | yesterday | MIT | A | 106 | Claude Code |
| telnyx-messaging-hosted-curlteam-telnyx/ai | Skill | 225 | today | MIT | A | 45 | Claude Code |