Azure / Azure/azure-sdk-for-python
Unable to grant index level access to SPN via SDK
Open
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
**Additional context**
Add any other context about the problem here.
Contributor guide
Assessment
This issue has not been assessed yet.