-
Notifications
You must be signed in to change notification settings - Fork 10
Description
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 |
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
-
Does the Agent ID portal filter linked identities by
signInAudience? If so, this is a bug —AzureADMultipleOrgsblueprints should still show their linked identities. -
Why does
a365 setup blueprintcreate the app registration withsignInAudience: AzureADMultipleOrgs? The Azure ML / AI Foundry path usesAzureADMyOrg. Should the CLI match this behavior?
Questions
- 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
- Create a blueprint using
a365 setup blueprint(CLI creates it withsignInAudience: AzureADMultipleOrgs) - Create one or more agent identities linked to that blueprint using
a365 setup instance - Navigate to Microsoft 365 Admin Center > Agents > Registry
- Observe: the linked identities either show as "-" (zero) or show a count but the list view is empty
- Verify via Graph Beta that the identities exist with correct
agentIdentityBlueprintId
Output
No response
Screenshots
Code of Conduct
- I agree to follow the Microsoft Open Source Code of Conduct.