Getting error in Azure AI studio during index creation. The error message is not clear.

Ramesh Srinivasan 60 Reputation points
2025-02-08T06:01:06.19+00:00

Hello,

I got below error message while creating index on data (word document) stored in Azure AI studio.

The error message is not helpful. Do I need to grant contributor role? If yes, where - Hub, Project or Key vault resource?

Thanks!

(UserError) Credential Service error due to user error.This can occur if the system assigned managed identity of the workspace does not have access to the key vault. Please add workspace managed identity as Contributor for the key vault associated with the workspace. KeyVaultErrorException encountered. {"error":{"code":"Forbidden","message":"The user, group or appli

User's image

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

Accepted answer
  1. Saideep Anchuri 2,110 Reputation points Microsoft Vendor
    2025-02-09T05:15:19.5033333+00:00

    Hi Ramesh Srinivasan

    Welcome to Microsoft Q&A Forum, thank you for posting your query here!

    The error message you received indicates that the system-assigned managed identity of your workspace does not have access to the key vault. You need to give your workspace's managed identity the "Contributor" role for the key vault linked to your workspace. This will provide the necessary permissions to access the key vault.

    Kindly refer below link: rbac-ai-studio

    Hope this helps. Do let us know if you any further queries.

     


    If this answers your query, do click Accept Answer and Yes for was this answer helpful.

    Thank You.


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.