Rightshold™ Sign up
Rightshold is live — the trust layer for AI agents.Launched November 23, 2026.Evidence Delivery$99 / 30 days · Offers are open — review the exact terms and the payment options shown on the service page before accepting.No token, everany ‘Rightshold token’ is not ours

Answers · agent controls

Our AI agents run with Microsoft Entra Agent ID identities. If one goes wrong, how do we shut it off: one agent, a whole blueprint, or every agent in the tenant? Does that stop the access tokens it already holds, and where does it show up in the logs?

Last updated

TL;DR: Microsoft Entra Agent ID gives you three off switches. Disable one agent identity, and it can't sign in or get tokens, while the object and its metadata stay in your tenant. Disable an agent identity blueprint, and it blocks the agents made from it and stops new ones from being created; a multi-tenant blueprint can be disabled in all tenants at once. Or use Conditional Access (it needs an Entra ID P1 license) to block token issuance for every agent identity in the tenant, including ones you didn't create, without changing any object. Re-enabling restores access. What none of these pages promise is that a token issued before the switch stops working. They describe blocking sign-ins and new tokens, and Microsoft's token documentation gives access tokens a default lifetime of 60 to 90 minutes. So plan for the gap: stop the agent's process or tool layer too, and treat the first hour as still open.

What should I check, step by step?

1. Know which of your agents have an Entra agent identity. Agents built in earlier versions of Copilot Studio and Azure AI Foundry may be classic applications or service principals, and the agent identity switches don't reach them.

  1. For one agent: Entra ID > Agents > Agent identities, select it, Disable (at least the Agent ID Administrator role). Owners and sponsors can do the same from the My Account portal, and the admin center can disable several at once.
  2. For every agent made from one template: Entra ID > Agents > Agent blueprints, select it, Disable. Choose Disable in all tenants only if you own a multi-tenant blueprint and mean to stop it everywhere.
  3. For the whole tenant: create the Block agent identity authentication Conditional Access policy (All agent identities, All resources, Block). Microsoft's guide has two more templates, for agents' user accounts and for people signing into agents.
  4. Create Conditional Access policies in report-only mode first, as Microsoft recommends, unless you're responding to a live incident and accept that other agents will stop too.
  5. Don't stop at Entra: tokens issued before the switch can still reach a resource until they expire, so stop the agent's runtime or block its tool calls as well.
  6. If the agent was compromised, rotate its credentials before you re-enable it, or retire the identity.

What are the ways to disable an AI agent identity in Microsoft Entra Agent ID?

Microsoft's guide to disabling agent identities (last updated November 2026) separates object-scoped switches from tenant-wide ones. Disabling an agent identity in the admin center stops that one agent from receiving tokens and authenticating, and keeps the identity and its metadata in the tenant. Disabling a blueprint stops new agent identities from being created from it and blocks the existing ones. The management guide adds that a disabled agent can't sign in across Microsoft Entra ID and connected apps, and that re-enabling at any scope restores access and token issuance.

Does disabling an Entra agent identity stop access tokens it already has?

The Agent ID pages describe what disabling blocks: sign-ins and the issuing of tokens. They don't say that an access token issued before the switch is recalled. Microsoft's access token documentation says the identity platform gives an access token a default lifetime picked at random between 60 and 90 minutes, 75 on average.

Where do Microsoft Entra logs show an AI agent's sign-ins and changes?

Entra logs agent activity under the identity type it's built on. An agent identity's changes appear as service principal events (Update service principal), a blueprint's as application events, and an agent's user account's as user events. The agentType property on initiatedBy, performedBy and targetResources tells you which: agenticAppInstance for an agent identity, agenticApp for a blueprint, agentIDuser for an agent's user account, and notAgentic for everything else. blueprintId ties an agent back to its blueprint.

How do I ask Rightshold about this (free, no key)?

Add the MCP server https://www.rightshold.com/mcp to Claude, Cursor, ChatGPT, Grok or VS Code, then ask: “My agent is misbehaving and I've disabled its Entra agent identity. Revoke its Rightshold credential too, so every Rightshold check refuses it now, reason rogue_behavior.”

One-click setup

{
  "tool": "revoke_agent",
  "arguments": {
    "subject_id": "crd_YOUR_AGENT_CREDENTIAL",
    "reason": "rogue_behavior",
    "note": "Entra agent identity disabled; access tokens issued before that may still be valid"
  }
}

Rightshold isn't affiliated with Microsoft. It doesn't manage Entra tenants, policies or tokens. Behavior is as described in Microsoft Learn's Entra Agent ID guides to disabling agent identities, managing agent identities, Conditional Access for agents and agent sign-in and audit logs, and the Microsoft identity platform's access token reference, all read November 27, 2026; several of these features are in preview and can change, so check the linked pages before relying on them.

What are the sources?

Related

Not legal advice. JSON · Markdown · All answers

Get a free API key in one call

No card and no email needed. 100 free credits; the license and policy checks stay free without a key.

curl -s -X POST https://www.rightshold.com/v1/accounts/signup -H "Content-Type: application/json" -d '{"accept_terms":true}'
export RIGHTSHOLD_API_KEY=rs_...   # the api_key from the reply (shown once)
curl -s https://www.rightshold.com/v1/licenses/check -H "Authorization: Bearer $RIGHTSHOLD_API_KEY" \
  -H "Content-Type: application/json" -d '{"license":"MIT","intended_use":{"commercial_use":true}}'