Azure OpenAI Integration Error - "Access denied: I...
# support
f
Hi Vapi Support Team, I'm experiencing an issue setting up Azure OpenAI credentials in Vapi. I followed the exact steps outlined in your documentation at https://docs.vapi.ai/providers/model/azure-openai, but I'm receiving an error when trying to save my credentials. Error Message: "Access denied: Invalid Azure API key or endpoint. Please check that your Azure OpenAI key and endpoint are correct, and that your subscription is active. Remove the OCP-APIM-Subscription-Key Header if you are not using Azure API Management." My Configuration: Provider: Azure OpenAI Region: swedencentral Models: gpt-4.1-2025-04-14 OpenAI Endpoint: https://artemina.openai.azure.com/openai/deployments/gpt-4.1-2025-04-14/chat/completions?api-version=2025-01-01-preview OpenAI Key: [valid key from Azure Portal Keys and Endpoint section] OCP-APIM-Subscription-Key: [left blank as recommended] What I've Verified: My Azure OpenAI resource is active and deployed in Sweden Central The deployment "gpt-4.1-2025-04-14" exists and is running successfully I can access the model directly through Azure AI Foundry I'm using the base endpoint URL format as specified in your documentation The API key is copied correctly from Azure Portal > Keys and Endpoint My Azure subscription is active The credentials work fine when testing directly in Azure, but Vapi cannot validate them. Could you please help troubleshoot this issue? Thank you for your assistance. https://cdn.discordapp.com/attachments/1410294028335059014/1410294028678860912/Snimka_obrazovky_2025-08-27_o_18.02.17.png?ex=68b07e2a&is=68af2caa&hm=5dc6bdd1fe79a8f63d970327e638f96052167b30062cf44f52b4df4f65032f60&
4 Views