New Foundry - Agent Identity ID and Old Foundry -Agent ID are same ?

Yogesh Dhavale (LTIMindtree Limited) 20 Reputation points Microsoft External Staff
2026-09-09T07:56:54.38+00:00

New Foundry-Agent Identity ID as highlighted in screenshot below:User's image

Old Foundry - Agent ID highlighted in screenshot below :User's image

Foundry Agent Service
Foundry Agent Service

A fully managed platform in Microsoft Foundry for hosting, scaling, and securing AI agents built with any supported framework or model

0 comments No comments

2 answers

Sort by: Oldest
  1. AI answer

    2026-09-09T07:57:13.06+00:00

    No.

    They are different identifiers for different objects:

    • Old Foundry Agent ID is the agent resource identifier used to reference the created agent.
    • New Foundry Agent Identity ID is the identifier for the agent’s Microsoft Entra service principal identity used for authentication and authorization.

    The context explicitly separates these concepts:

    • Agent ID: service-generated resource ID returned when the agent is created.
    • Agent identity: a specialized Microsoft Entra ID service principal that represents the agent at runtime.
    • agentIdentityId: the identifier used when assigning permissions to that agent identity.

    Also, in the newer model:

    • New agents have a non-null agent.identity and therefore a unique identity.
    • Legacy agents have agent.identity = null and use the shared project identity.

    So the value shown in New Foundry → Entra agent identity → ID should not be treated as the same thing as the old Agent ID like asst_....

    A practical way to think about it:

    • Use Agent ID to find or call the agent resource.
    • Use Agent Identity ID / agentIdentityId to assign RBAC permissions to downstream Azure resources.

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

  2. Yogesh Dhavale (LTIMindtree Limited) 20 Reputation points Microsoft External Staff
    2026-09-09T11:54:43.09+00:00

    Which ID we need to refer as a unique identifier for Agent in New Foundry ?

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.