Azure / Azure/azure-sdk-for-python

Unable to grant index level access to SPN via SDK

Open
#43,438 3 comments 0 reactions 0 assignees View on GitHub
customer-reported needs-team-attention question
Dominant language
Python
Stars
5.6k
Forks
3.4k
Avg merge
1d 21h
Merged PRs (30d)
193

Description

**Describe the bug**

Unable to grant index level access to SPN via SDK. when we do the role assignment it works and the displayed message states - Role assignment created, however on querying the index we get 403 forbidden error.

**To Reproduce**
Steps to reproduce the behavior:
1. Assign the 'Search Index Data Reader' role using SDK to the SPN to access an Index
2. Query the Index using this SPN

**Expected behavior**
We should be able to query the Index for which role has been created

**Screenshots**
attached screenshot of the error

Image

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.