microsoft/entrabot

Give a device-local AI agent its own Microsoft Entra identity. Reference implementation for Microsoft Agent 365 and Entra Agent ID.

About the project

microsoft/entrabot is a device-local Model Context Protocol server that gives an AI agent its own identity and user account in Microsoft Entra, allowing actions such as sending Teams messages, using email, accessing Microsoft 365 files, and recording audit events under the agent’s identity. It is a reference implementation for agents running with Microsoft 365 services on macOS, Linux, or Windows, and the catalogue entries support configuring and operating it.

7 files for Claude Code, Codex and OpenCode: SessionStart, PreToolUse, entrabot, implement-agent-id and 3 more — 5,425 tokens loaded in every session.

12Stars on the repository
7Files it configures its agents with
5,425Tokens loaded in every session
3Agents configured

Instructions

Settings

Hooks

Skills

These files are microsoft/entrabot's own configuration — they tell Claude Code, Codex and OpenCode how to work on this repository, so they are not mods to install elsewhere. Copy one as a starting point and replace the parts that are about this project.