# Agent Identity Blueprints should not use the allAllowed inheritance pattern for delegated scopes or application roles (Preview)

Agent Identity Blueprints should pass only explicitly selected delegated scopes and application roles to their child Agent Identities.

Source: https://maester.dev/docs/tests/MT.1211

<!-- This file is generated by website/scripts/generate-test-docs.mjs. Do not edit manually. -->

<div class="test-byline"><div class="test-byline-avatars"><a class="test-byline-avatar test-byline-avatar--author" href="/contributors/agnivesh" title="Agnivesh S. · Original author"><img src="https://github.com/agnivesh.png" alt="Agnivesh S." width="28" height="28" loading="lazy" decoding="async" /></a></div><div class="test-byline-meta"><span class="test-byline-text">Contributed by <a href="/contributors/agnivesh">Agnivesh S.</a></span><a class="test-byline-link" href="/contributors">All contributors →</a></div></div>

<p class="test-part">Part of <a href="/docs/tests/maester">Maester</a> · Entra ID · Agent identities · <a href="/docs/tests">All checks</a></p>

```powershell title="Run this check"
Invoke-Maester -TestId MT.1211 -IncludePreview
```

## Overview

Agent Identity Blueprints should pass only explicitly selected delegated scopes and application roles to their child Agent Identities.

The `allAllowed` inheritance pattern gives every child Agent Identity all permissions granted to the Blueprint for a resource, without requiring separate consent. It also applies permissions granted to the Blueprint in the future. This can give existing and future Agent Identities broader access than intended and increases the impact of an unnecessary or high-risk permission assignment.

This test reports Agent Identity Blueprints that allow all delegated scopes or all application roles to be inherited. Each Blueprint should instead define only the permissions its child Agent Identities require.

### Remediation action:

1. Open the [Microsoft Entra admin center][entra-admin-center] and navigate to **Entra ID** > **Agents** > **Agent blueprints**.
2. Locate the reported Blueprint using its **Object ID** or display name.
3. Review its inheritable permissions configuration for the reported resource.
4. Replace the `allAllowed` pattern with an enumerated list: use **enumerated scopes** for delegated scope findings and **enumerated application roles** for application role findings. Include only the permissions agents require.
5. Re-consent affected Agent Identities if narrowing the inheritance pattern removes permissions they were using.

### Related links

* [View and manage agent blueprints][manage-blueprints]
* [Configure inheritable permissions for agent identity blueprints][configure-inheritable-permissions]

[entra-admin-center]: https://entra.microsoft.com
[manage-blueprints]: https://learn.microsoft.com/entra/agent-id/manage-agent-blueprint
[configure-inheritable-permissions]: https://learn.microsoft.com/entra/agent-id/configure-inheritable-permissions-blueprints

## Details

<details>
<summary>Every attribute of this check</summary>

| Field | Value |
| --- | --- |
| Test ID | MT.1211 |
| Severity | High |
| Suite | Maester |
| Product | Entra ID |
| Feature | Agent identities |
| Area | AI and agents |
| Resource type | Agent |
| User impact | Low |
| Implementation cost | Medium |
| MITRE ATT&CK | T1078.004 Cloud Accounts |
| Supports controls | nist-800-53-r5:AC-6 |
| PowerShell test | [Test-MtEntraAgentBlueprintAllAllowedInheritance](https://github.com/maester365/maester/blob/main/tests/maester/entra/Test.MT.1211.ps1) |
| Services | Graph |
| Lifecycle | Preview |
| Long running | Yes |

</details>

## Source

- Test: [`tests/maester/entra/Test.MT.1211.ps1`](https://github.com/maester365/maester/blob/main/tests/maester/entra/Test.MT.1211.ps1)
- Documentation: [`tests/maester/entra/Test.MT.1211.md`](https://github.com/maester365/maester/blob/main/tests/maester/entra/Test.MT.1211.md)
