“PermissionDenied (HTTP 401) error when creating Azure AI Search Vector Index despite Owner permissions.”

Lakshman Mantha 0 Reputation points
2025-03-08T08:17:10.01+00:00

“PermissionDenied (HTTP 401) error when creating Azure AI Search Vector Index despite Owner permissions.”

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
1,223 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Laxman Reddy Revuri 3,185 Reputation points Microsoft External Staff
    2025-03-10T01:01:47.9066667+00:00

    Hi @Lakshman Mantha
    The "PermissionDenied (HTTP 401)" error when creating an Azure AI Search Vector Index, despite having Owner permissions, Even with Owner permissions, there may be issues with role assignments or API key usage that could lead to access denial.

    1. Make sure the role assignments are valid. Although owners can manage roles, there might be certain resource policies that are scoped at the resource level.
    2. See whether the Azure AI Search service is enabled to process the request. Some services go through internal issues or are in states that do not allow the execution of certain actions.
    3. If you are using a VPN, you can try disconnecting from it to see if this resolves some of the issues.
    4. Look at the Azure Status page. Make sure that there are no problems with other services in Azure that would block your access.
      references:
      https://learn.microsoft.com/en-us/azure/search/search-security-overview#authorization

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.