Agent Identity Blueprint Principals should require assignment for the application roles they expose (Preview)
-IncludePreview: Invoke-Maester -TestId MT.1212 -IncludePreviewPart of Maester · Entra ID · Agent identities · All checks
Invoke-Maester -TestId MT.1212 -IncludePreviewOverview
Section titled “Overview”Agent Identity Blueprint Principals that expose application roles should require an explicit assignment before another identity can use them.
Application roles control which applications or agents can access capabilities provided by an Agent Identity Blueprint Principal. If assignment isn’t required, an identity in the tenant may receive a token for an enabled role without an administrator explicitly granting it access. Requiring assignment ensures that only approved identities can use those roles.
This test reports Agent Identity Blueprint Principals that expose at least one enabled application role but don’t require assignment. Disabled application roles aren’t included in the assessment.
Remediation action:
Section titled “Remediation action:”- Open the Microsoft Entra admin center and navigate to Entra ID > Enterprise applications.
- Locate the reported Blueprint Principal using its Object ID or display name.
- Under Properties, set Assignment required? to Yes.
- Under Users and groups (or the equivalent app role assignment surface), explicitly assign the principals that should be able to obtain tokens for the exposed roles.
Related links
Section titled “Related links”Details
Section titled “Details”Every attribute of this check
| Field | Value |
|---|---|
| Test ID | MT.1212 |
| Severity | Medium |
| Suite | Maester |
| Product | Entra ID |
| Feature | Agent identities |
| Area | AI and agents |
| Resource type | Agent |
| User impact | Low |
| Implementation cost | Low |
| MITRE ATT&CK | T1078.004 Cloud Accounts |
| Supports controls | nist-800-53-r5:AC-3, nist-800-53-r5:AC-6 |
| PowerShell test | Test-MtEntraAgentBlueprintOpenAccess |
| Services | Graph |
| Lifecycle | Preview |
Source
Section titled “Source”- Test:
tests/maester/entra/Test.MT.1212.ps1 - Documentation:
tests/maester/entra/Test.MT.1212.md
About this check
- Severity
- Medium
- Effort to fix
- Low
- Impact on users
- Low
- Product
- Entra ID
- Feature
- Agent identities
- Area
- AI and agents
- Suite
- Maester