Foreign or multi-tenant Agent Blueprint Principals and Agent Identities should not hold privileged directory roles (Preview)
-IncludePreview: Invoke-Maester -TestId MT.1207 -IncludePreviewPart of Maester · Entra ID · Agent identities · All checks
Invoke-Maester -TestId MT.1207 -IncludePreviewOverview
Section titled “Overview”Foreign or multi-tenant Agent Blueprints and Agent Identities should not hold privileged directory roles without review.
Multi-tenant Agent Blueprints originate in an external Microsoft Entra tenant. If a foreign Blueprint Principal or its child Agent Identities are granted a privileged directory role (like Global Administrator), a compromise of the blueprint or credentials in the external home tenant could compromise your local resources.
Foreign Blueprint Principals and their child Agent Identities must not be assigned privileged Microsoft Entra directory roles. Application permissions assigned to foreign Blueprint Principals should also be reviewed to confirm that they are necessary and follow least privilege. These application permissions are shown for review but do not cause the test to fail on their own.
Remediation action:
Section titled “Remediation action:”- Open the Microsoft Entra admin center and navigate to Entra ID > Agents > Agent blueprints.
- Locate the reported foreign Blueprint Principal using its Object ID or display name.
- Review its Assigned roles in Entra ID > Roles & administrators.
- If privileged roles or unnecessary application permissions were assigned:
- Remove directory role assignments and replace them with least-privilege delegated assignments.
- Restrict application role assignments to only the specific resources required by the agent.
- If the multi-tenant agent is untrusted or no longer required, remove the Blueprint Principal.
Related links
Section titled “Related links”Details
Section titled “Details”Every attribute of this check
| Field | Value |
|---|---|
| Test ID | MT.1207 |
| Severity | High |
| Suite | Maester |
| Product | Entra ID |
| Feature | Agent identities |
| Area | Privileged access |
| Resource type | Agent |
| User impact | Low |
| Implementation cost | Medium |
| MITRE ATT&CK | T1078.004 Cloud Accounts, T1199 Trusted Relationship |
| Supports controls | nist-800-53-r5:AC-6, nist-800-53-r5:AC-20 |
| PowerShell test | Test-MtEntraAgentForeignPrivileged |
| Services | Graph |
| Lifecycle | Preview |
| Long running | Yes |
Source
Section titled “Source”- Test:
tests/maester/entra/Test.MT.1207.ps1 - Documentation:
tests/maester/entra/Test.MT.1207.md
About this check
- Severity
- High
- Effort to fix
- Medium
- Impact on users
- Low
- Product
- Entra ID
- Feature
- Agent identities
- Area
- Privileged access
- Suite
- Maester