Microsoft Entra Agent ID best practices
Best practices for Microsoft Entra Agent ID
Microsoft released Microsoft Entra Agent ID operational best practices, guiding teams to design, secure and govern agent identities. Recommendations: plan an identity blueprint before deployment and assign a sponsor and owner to each blueprint; in production, prefer managed identities or certificates over client secrets, isolate credentials by blueprint and rotate certificates at least annually; use custom security attributes and dedicated agent conditional access policies for fine-grained control, automatically blocking agents that Identity Protection deems high risk; register all agents in Microsoft Entra to eliminate shadow AI, with the sponsor conducting access reviews every 6-12 months; monitor sign-in and audit logs and include agents in incident response. The article also provides guardrail instructions that can be copied into .github/copilot-instructions.md or AGENTS.md to prevent AI coding assistants from building agents as ordinary app registrations.