Skip to content

Linked Agent Identities Not Visible in Portal #285

@ivanja81

Description

@ivanja81

Description

A365 CLI Version: v1.1.94-preview
Environment: Microsoft 365 developer tenant (single-tenant)


Issue 1: Linked Agent Identities Not Visible in Portal

What I See in Entra ID

Blueprint Portal Shows Actual Count (Graph Beta)
Blueprint A (created by Azure ML / AI Foundry) 1 linked (visible, clickable) 1
Blueprint B (created by A365 CLI) "-" (dash, no identities) 3 (confirmed via Graph)
Blueprint C (created by A365 CLI) 2 linked (count shown, but list empty) 2
Image

The Agent ID portal at Microsoft 365 Admin Center > Agents > Registry does not display the linked agent identities for blueprints created by the A365 CLI, even though the ServiceIdentity SPs exist and have valid agentIdentityBlueprintId linkage.

Evidence

All three agent identities linked to Blueprint B are confirmed via Graph Beta:

GET https://graph.microsoft.com/beta/servicePrincipals/{sp-id}

Identity1 → agentIdentityBlueprintId: <blueprint-b-app-id>
Identity2 → agentIdentityBlueprintId: <blueprint-b-app-id>
Identity3 → agentIdentityBlueprintId: <blueprint-b-app-id>

All three have @odata.type: #microsoft.graph.agentIdentity and servicePrincipalType: ServiceIdentity.

Root Cause Hypothesis: signInAudience Difference

The only meaningful difference between the working blueprint (A) and the non-working one (B) is:

Property Blueprint A (works — Azure ML) Blueprint B (broken — A365 CLI)
signInAudience AzureADMyOrg AzureADMultipleOrgs
createdByAppId Azure Machine Learning App ID A365 CLI App ID

Questions

  1. Does the Agent ID portal filter linked identities by signInAudience? If so, this is a bug — AzureADMultipleOrgs blueprints should still show their linked identities.

  2. Why does a365 setup blueprint create the app registration with signInAudience: AzureADMultipleOrgs? The Azure ML / AI Foundry path uses AzureADMyOrg. Should the CLI match this behavior?

Questions

  1. Is there a rendering/pagination bug in the Agent ID portal list view? The count API returns 2 but the list API returns empty. These seem to be hitting different code paths. (see image)

Expected behavior

The Agent ID portal should display all linked agent identities regardless of the blueprint's signInAudience setting

  • Tenant admins should be able to modify blueprint properties (e.g., signInAudience) via Graph API or CLI
  • The portal's count and list views should be consistent

SDK Version

A365 CLI Version: v1.1.94-preview

Language/Runtime

Python

OS

Windows 11

How to Reproduce

Reproduction Steps

  1. Create a blueprint using a365 setup blueprint (CLI creates it with signInAudience: AzureADMultipleOrgs)
  2. Create one or more agent identities linked to that blueprint using a365 setup instance
  3. Navigate to Microsoft 365 Admin Center > Agents > Registry
  4. Observe: the linked identities either show as "-" (zero) or show a count but the list view is empty
  5. Verify via Graph Beta that the identities exist with correct agentIdentityBlueprintId

Output

No response

Screenshots

Image

Code of Conduct

Metadata

Metadata

Assignees

Labels

P2High prioritybugSomething isn't workingescalatedIssue has breached SLA and been escalatedsecuritySecurity-related issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions