Formerly known as Azure AI Services or Azure Cognitive Services is a unified collection of prebuilt AI capabilities within the Microsoft Foundry platform
Hi there Lisa MM
Thanks for using QandA platform
If your agent works in Playground but API access via project key returns a 401 Unauthorized, it’s possible that external API access for your Foundry project is not enabled by default.
We cant check it for you please check if your Azure subscription and Foundry project settings permit external API access. Also, verify that the project key is correct, the API endpoint is Correct
If this helps kindly accept the answer thanks much.