Principal does not have access to API/Operation. Error creating new vector store in Azure AI Studio "create vector store".

Jordyn Ojeda 0 Reputation points
2024-08-20T13:36:32.6166667+00:00

When I try uploading a PDF file to the "create vector store" in Azure AI Studio and press "create", I get the error "Principal does not have access to API/Operation." All I am trying to do is upload a file to the "vector store" and press "create".

Steps to reproduce:

Step #1: Uploading the file to the vector store
2024-08-20 08_31_15-.png

Step #2: File in vector store
2024-08-20 08_32_04-Window.png

Step #3: Pressing vector store "create"
2024-08-20 08_32_19-Window.png

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,178 questions
{count} votes

2 answers

Sort by: Most helpful
  1. AshokPeddakotla-MSFT 35,936 Reputation points
    2024-08-21T02:44:04.3733333+00:00

    Jordyn Ojeda Greetings & Welcome to Microsoft Q&A forum!

    Could you confirm if you have required access to perform the operation on the resource?

    You need to have Cognitive Services OpenAI Contributor role. Add the role from Azure portal and logout from the studio and then login to check if that works as expected.

    User's image

    Do let me know if there are any further queries.


  2. Ivan Valadares 0 Reputation points
    2025-02-28T17:25:01.8033333+00:00

    in my case the needed role was Cognitive Services Data Contributor (Preview)

    0 comments No comments

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.