Hi Quinn S,
In config.json is used to store configuration details, it includes Azure AI search key to allow application to authenticate and interact within Azure AI search
we need to write the syntax correctly otherwise it may not work properly
To add or update the Azure AI search key in config.json file for your Azure AI Foundry project, you can follow syntax like:
{
"AzureAISearch": {
"APIKey": "your-azure-ai-search-key-here"
``` }
}
Replace the "your-azure-ai-search-key-here" with the actual API key provided in your Azure portal.
Also Ensure The key is inside double quotes. The JSON structure remains valid (commas, brackets, and formatting are correct). No extra spaces or hidden characters are included that might cause parsing issues.
[https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/use-your-data?tabs=ai-search%2Ccopilot#deploy-to-a-copilot-preview,-teams-app-preview,-or-web-app](https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/use-your-data?tabs=ai-search%2Ccopilot#deploy-to-a-copilot-preview,-teams-app-preview,-or-web-app)
[https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/use-web-app#connecting-to-azure-ai-search-and-uploaded-files-as-a-data-source](https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/use-web-app#connecting-to-azure-ai-search-and-uploaded-files-as-a-data-source)
If the answer is helpful, please click Accept Answer and kindly upvote it so that other people who faces similar issue may get benefitted from it.
Let me know if you have any further Queries.