Access Denied Azure Open AI services

Mukul Khatter 0 Reputation points
2024-12-25T13:15:41.9033333+00:00

Hi Team

Not able to access Playground chat using Visual Studio Professional Subscription but getting below error while accessing any service

Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource. | Apim-request-id: 84527971-7cde-426c-b21d-095be17fc6f0

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,453 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Chakaravarthi Rangarajan Bhargavi 790 Reputation points MVP
    2024-12-25T13:45:14.76+00:00

    Hi Mukul Khatter,

    Thanks for the question, and welcome to Microsoft Q&A. Can you please confirm if the following steps have been followed to resolve the issue?

    Subscription Access

    • Verify that your Visual Studio Professional Subscription is active and supports the Azure OpenAI Service. Correct API Key and Endpoint
    • Confirm that the API key being used matches the one listed in your Azure OpenAI resource.
      • Double-check the regional endpoint in use, ensuring it aligns with the East US region, as mentioned in your query.
      • You can find the endpoint in your Azure portal under the OpenAI resource's "Keys and Endpoint" section.
      Resource Configuration
    • Verify that your Azure OpenAI resource is correctly configured and deployed within the East US region. Network and Firewall
    • Ensure there are no network restrictions or firewall settings blocking access to the Azure OpenAI endpoints. Azure OpenAI Service Access
    • Check that your subscription has been granted access to the Azure OpenAI Service. As it is a Limited Access service, your subscription must meet Microsoft’s eligibility criteria.
    • Learn more at Limited Access for Azure OpenAI Service.

    Account Permissions

    • Verify that your account has the correct role-based permissions to create and manage Azure OpenAI resources.

    If these steps help resolve your issue, please mark the response as helpful and mark it as accepted. Please let me know if you have any further questions—I’d be happy to assist further!

    Regards,

    C R Bhargavi


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.