microsoft-foundry / microsoft-foundry/foundry-samples
Feature request: Use managed identity of the project (not AI Foundry) for authentication method defined in custom tool
Nobody has claimed this yet.
- Dominant language
- Bicep
- Stars
- 445
- Forks
- 494
- Avg merge
- 11h 35m
- Merged PRs (30d)
- 38
Description
Current Behavior
When defining an action for an agent based on an OpenAPI specification, there are three authentication options available:
- anonymous,
- managed identity,
- connection.
Currently, when selecting "Managed Identity" the authorization header in requests contains the application ID of the AI Foundry rather than the specific project for which the agent action is being configured.
Expected Behavior
The managed identity authentication should use the project's identity instead of the AI Foundry identity.
Business Justification
In enterprise environments with multiple projects within AI Foundry, proper identity attribution is crucial for accountability, security and compliance reasons.
This is particularly important when integrating with external APIs through services like Azure API Management (APIM), where different projects may require different access permissions or rate limits.
Question
Is there currently a way to achieve project-scoped managed identity authentication, or is this feature planned for the roadmap?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No repository files, tests, or entry points are named. Start by tracing how authentication is configured for OpenAPI custom tools and determine whether project-scoped managed identity is supported; done means requests use the configured project's identity rather than the AI Foundry identity, with the behavior documented or tested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- api, authentication, cloud
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100