Skip to content
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

Sponsor

Foreign or multi-tenant Agent Blueprint Principals and Agent Identities should not hold privileged directory roles (Preview)

MT.1207HighEntra IDAgent identitiesRuns with -IncludePreview

Part of Maester · Entra ID · Agent identities · All checks

Run this check
Invoke-Maester -TestId MT.1207 -IncludePreview

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.

  1. Open the Microsoft Entra admin center and navigate to Entra ID > Agents > Agent blueprints.
  2. Locate the reported foreign Blueprint Principal using its Object ID or display name.
  3. Review its Assigned roles in Entra ID > Roles & administrators.
  4. 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.
  5. If the multi-tenant agent is untrusted or no longer required, remove the Blueprint Principal.
Every attribute of this check
FieldValue
Test IDMT.1207
SeverityHigh
SuiteMaester
ProductEntra ID
FeatureAgent identities
AreaPrivileged access
Resource typeAgent
User impactLow
Implementation costMedium
MITRE ATT&CKT1078.004 Cloud Accounts, T1199 Trusted Relationship
Supports controlsnist-800-53-r5:AC-6, nist-800-53-r5:AC-20
PowerShell testTest-MtEntraAgentForeignPrivileged
ServicesGraph
LifecyclePreview
Long runningYes