Locking Down Default Entra Agent Identity Blueprint Creation (MC1506733) & Migrating Legacy Agent Registry APIs to Agent 365

✨ Entra Agent ID Governance Brief — MC1506733 & Agent 365 Convergence
  • Immediate Exposure (MC1506733): By default, non-admin users in Microsoft Entra ID can register Agent Identity Blueprints—just like legacy app registrations—unless administrators explicitly toggle "Users can register agent identity blueprints" to No.
  • API Convergence: Legacy Entra Agent Registry Graph APIs are converging into Microsoft Agent 365; agents registered solely against legacy preview endpoints will require re-registration under the Agent 365 control plane.
  • What Else Is Landing: Pair this lockdown with Agent Lifecycle Policies (automated expiration and periodic access reviews), Local Agent Authentication (PKCE Public Preview) to eliminate static client secrets, and Dynamic Agent Risk in Conditional Access.

Enterprise identity teams spent years tightening Users can register applications = No in Microsoft Entra ID to stop shadow OAuth apps. Now, the exact same governance gap has reopened for autonomous AI workloads.

Under Message Center advisory MC1506733, Microsoft Entra ID permits non-admin users to create Agent Identity Blueprints by default unless explicitly restricted. Because a multi-instance blueprint acts as a parent template capable of minting credentials and spawning multiple child Entra Agent IDs, leaving blueprint registration open to all users creates an instant shadow-agent blind spot.

At the same time, Microsoft is converging the legacy Agent Registry Graph APIs into Microsoft Agent 365, introducing formal Agent Lifecycle Policies, and previewing Local Agent Authentication (OAuth Authorization Code Flow with PKCE) so endpoint-hosted agents no longer rely on static client secrets.


Architecture: How Blueprint Lockdown Connects to Agent 365 Governance

Default State (MC1506733) Non-admins can register Agent Identity Blueprints 1. Authorization Policy Block default user creation Require Agent ID Admin role 2. Agent 365 Registry Re-register legacy API agents into unified plane 3. Runtime Controls Lifecycle Expiration PIM + PKCE + Risk CA Zero Trust Guardrail Checklist for Entra Agent IDs (December 2026) âś” Disable non-admin blueprint creation (MC1506733) | âś” Enforce sponsor & expiration via Agent Lifecycle Policies âś” Replace static secrets with PKCE (Local Agents) or Federated Identity Credentials | âś” Gate via Dynamic Agent Risk CA

Step 1: Disable Default Non-Admin Agent Blueprint Registration (Entra Admin Center & Graph)

Option A — Microsoft Entra Admin Center (Fastest for Change Control)

  1. Sign in to the Microsoft Entra admin center as Global Administrator or Agent ID Administrator.
  2. Navigate to Entra ID > Users > User settings (or Entra ID > Agents > Settings as the consolidated blade rolls out).
  3. Locate Users can register agent identity blueprints and set it to No.
  4. Confirm Users can register applications is also set to No so makers cannot sidestep blueprint governance by creating standard OAuth apps.

Option B — Audit & Enforce via Microsoft Graph PowerShell

Required Permissions: Reading and updating tenant authorization policy requires Policy.Read.All (for audit) and Policy.ReadWrite.Authorization (for remediation). Standard read-only automation apps without Policy.Read.All will receive 403 Forbidden on /policies/authorizationPolicy—which we verified on our LAB 365 dev tenant (LAB365-Dev-Automation) before elevating via interactive admin session.
POWERSHELL
# Interactive privileged session (requires Policy.ReadWrite.Authorization + AgentIdentityBlueprint.Read.All)
Connect-MgGraph -Scopes @(
    "Policy.ReadWrite.Authorization",
    "AgentIdentityBlueprint.Read.All",
    "Application.Read.All"
) -NoWelcome

# 1. Inspect current defaultUserRolePermissions on the beta authorizationPolicy endpoint
$AuthPolicy = Invoke-MgGraphRequest `
    -Method GET `
    -Uri "https://graph.microsoft.com/beta/policies/authorizationPolicy"

$AuthPolicy.defaultUserRolePermissions | Format-List

# 2. Check specifically for app & agent blueprint creation flags
$Flags = $AuthPolicy.defaultUserRolePermissions
[PSCustomObject]@{
    AllowedToCreateApps       = $Flags.allowedToCreateApps
    AllowedToCreateTenants    = $Flags.allowedToCreateTenants
    AllowedToCreateSecGroups  = $Flags.allowedToCreateSecurityGroups
    PermissionGrantPolicies   = ($Flags.permissionGrantPoliciesAssigned -join ", ")
} | Format-List

If your tenant's authorizationPolicy exposes the agent blueprint toggle or still allows allowedToCreateApps = $true, lock down default user permissions and route all new blueprint requests through your Agent ID Administrator or Application Administrator workflow:

POWERSHELL
# Restrict standard users from creating apps (and apply blueprint restriction in Entra User Settings)
$Body = @{
    defaultUserRolePermissions = @{
        allowedToCreateApps = $false
    }
} | ConvertTo-Json -Depth 5

Invoke-MgGraphRequest `
    -Method PATCH `
    -Uri "https://graph.microsoft.com/beta/policies/authorizationPolicy" `
    -Body $Body `
    -ContentType "application/json"

Step 2: Inventory Existing Agent Identity Blueprints & Child Agent IDs

Before migrating legacy Agent Registry entries into Agent 365, generate a complete inventory of every agentIdentityBlueprint and agentIdentity object currently in your directory. Any blueprint missing an explicit human sponsor/owner should be flagged for immediate review.

POWERSHELL
# 1. Enumerate all Agent Identity Blueprints (beta)
$Blueprints = (Invoke-MgGraphRequest `
    -Method GET `
    -Uri "https://graph.microsoft.com/beta/applications/microsoft.graph.agentIdentityBlueprint").value

# 2. Enumerate all Agent Identities (child instances)
$AgentIdentities = (Invoke-MgGraphRequest `
    -Method GET `
    -Uri "https://graph.microsoft.com/beta/servicePrincipals/microsoft.graph.agentIdentity").value

Write-Host "Found $($Blueprints.Count) Agent Identity Blueprints and $($AgentIdentities.Count) Agent Identities." -ForegroundColor Cyan

$Report = foreach ($bp in $Blueprints) {
    $Owners = (Invoke-MgGraphRequest `
        -Method GET `
        -Uri "https://graph.microsoft.com/beta/applications/$($bp.id)/owners?`$select=displayName,userPrincipalName").value

    [PSCustomObject]@{
        DisplayName       = $bp.displayName
        AppId             = $bp.appId
        ObjectId          = $bp.id
        CreatedDateTime   = $bp.createdDateTime
        OwnerCount        = $Owners.Count
        Owners            = ($Owners.userPrincipalName -join "; ")
        HasPasswordCreds  = ($bp.passwordCredentials.Count -gt 0)
        HasFederatedCreds = ($bp.federatedIdentityCredentials.Count -gt 0)
    }
}

$Report | Format-Table DisplayName, AppId, OwnerCount, HasPasswordCreds, HasFederatedCreds -AutoSize
$Report | Export-Csv -Path ".\Entra_AgentIdentityBlueprints_Audit.csv" -NoTypeInformation

Step 3: Legacy Agent Registry Graph API → Agent 365 Migration Checklist

Microsoft is consolidating standalone preview Agent Registry endpoints into Microsoft Agent 365. Use this four-point migration checklist so autonomous workflows do not break during the cutover:

Migration PhaseWhat to AuditAction Required
1. DiscoveryAgents registered via legacy preview Agent Registry Graph callsExport blueprint IDs, manifest metadata, and owning business unit.
2. Re-RegistrationLegacy registry entries not visible in the Agent 365 bladeRe-register agents under the Agent 365 control plane and validate Entra Agent ID linkage.
3. Credential HygieneLocal endpoint agents using static client secrets (HasPasswordCreds = True)Migrate local agents to Local Agent Authentication (OAuth Auth Code + PKCE) and cloud agents to Federated Identity Credentials (FIC).
4. Lifecycle & RiskOrphaned agents (OwnerCount = 0) or permanent elevated rolesAttach Agent Lifecycle Policies (auto-expiration + sponsor review), convert standing roles to PIM for AI Agents, and enforce Dynamic Agent Risk Conditional Access.


References & Official Microsoft Documentation

đź’¬ Reader Comments & Feedback

Did this runbook help, or did Microsoft change a cmdlet or UI menu? Share your feedback below.