QuestionQ6
VerifiedImplement generative AI and agentic solutionsYou have a Microsoft Foundry project named Project1 that contains the following:
- An OpenAPI tool that calls an external API
- A project connection named Connection1 that stores the API key for the external API
When an agent calls the OpenAPI tool, the API returns a 401 Unauthorized error, and traces show that the API key header is not being sent.
You need to ensure that the OpenAPI tool automatically includes the API key from Connection1 on every request.
What should you do?
Community Discussion