Agent Identity Blueprints should not use wildcard or plain-http redirect URIs (Preview)
-IncludePreview: Invoke-Maester -TestId MT.1213 -IncludePreviewPart of Maester · Entra ID · Agent identities · All checks
Invoke-Maester -TestId MT.1213 -IncludePreviewOverview
Section titled “Overview”Agent Identity Blueprints should use specific, secure redirect URIs.
During interactive consent, Microsoft Entra sends the consent result and optional state value to a redirect URI registered on the Blueprint. A wildcard can route that response to an unintended or attacker-controlled matching address. A plain HTTP address sends the response without transport encryption, allowing someone who can observe or alter network traffic to intercept or tamper with the consent result or state. HTTP loopback addresses are permitted for local development because the response stays on the same device instead of travelling across the network; they should not be used for deployed endpoints.
This test reports Agent Identity Blueprints with a wildcard redirect URI or a non-loopback HTTP redirect URI. Redirect URIs should identify a specific destination and use HTTPS unless they are loopback addresses used for local development.
Remediation action:
Section titled “Remediation action:”- Open the Microsoft Entra admin center and navigate to Entra ID > Agents > Agent blueprints.
- Locate the reported Blueprint using its Object ID or display name.
- Under Authentication, remove the reported redirect URI.
- Replace it with a specific,
https-only URI (or anhttp://localhost/loopback URI for local development only).
Related links
Section titled “Related links”Details
Section titled “Details”Every attribute of this check
| Field | Value |
|---|---|
| Test ID | MT.1213 |
| Severity | High |
| Suite | Maester |
| Product | Entra ID |
| Feature | Agent identities |
| Area | AI and agents |
| Resource type | Agent |
| User impact | Low |
| Implementation cost | Low |
| MITRE ATT&CK | T1557 Adversary-in-the-Middle |
| Supports controls | nist-800-53-r5:SC-23, nist-800-53-r5:SC-8 |
| PowerShell test | Test-MtEntraAgentBlueprintRedirectUriHygiene |
| Services | Graph |
| Lifecycle | Preview |
Source
Section titled “Source”- Test:
tests/maester/entra/Test.MT.1213.ps1 - Documentation:
tests/maester/entra/Test.MT.1213.md
About this check
- Severity
- High
- Effort to fix
- Low
- Impact on users
- Low
- Product
- Entra ID
- Feature
- Agent identities
- Area
- AI and agents
- Suite
- Maester