Azure OpenAI Studio - Unable to create new deployments

Gal, Ofer (Israel) 131 Reputation points
2023-05-17T10:18:24.97+00:00

Question:

I recently obtained access to Azure OpenAI Studio in a subscription. However, when attempting to create new deployments, I receive the error message "Failed to create deployments" without any details. I suspect this may be due to missing permissions, but I am uncertain which ones are required. Can anyone confirm or provide guidance on what Azure permissions are needed to create deployments in Azure OpenAI Studio? Additionally, if there are other factors that could be contributing to this error, please let me know. Thank you.

Also, where do I find my AZURE_OPENAI_API_KEY?

Thanks

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

Accepted answer
  1. VasaviLankipalle-MSFT 18,676 Reputation points Moderator
    2023-05-17T21:02:26.1533333+00:00

    Hi @Gal, Ofer (Israel) , Thanks for using Microsoft Q&A Platform.

    May i know the model and the region in which deployment is created?

    Generally, OpenAI Contributor role should be sufficient permissions to deploy OpenAI models.

    If you are unsure whether you have this permission, you can follow these steps to check your permissions:

    1. Go to the Azure portal and navigate to your Azure OpenAI resource.
    2. Click on "Access control (IAM)" in the left-hand menu.
    3. Click on "Add" and select "Add role assignment".
    4. In the "Add role assignment" pane, select the "Contributor" role and search for your user account.
    5. Click on "Add" to assign the Contributor role to your user account.

    Need to have the "Microsoft.CognitiveServices/accounts/OpenAI/deployments/write" permission assigned to your account. This permission allows you to create and update deployments for your Azure OpenAI resource. User's image

    Regarding your question AZURE_OPENAI_API_KEY, you can obtain the API key from the Azure portal by navigating to your Azure OpenAI resource and clicking on "Keys and Endpoint" in the left-hand menu.

    User's image

    I hope this helps.

    Regards,
    Vasavi

    -Please kindly accept the answer and vote 'yes' if you feel helpful to support the community, thanks.


0 additional answers

Sort by: Most helpful

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.