Regression in Azure AI Search Elevated Read Access: App-Only Tokens No Longer Supported with x-ms-enable-elevated-read Header
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 18/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- azure, python
- Domaine
- authentication, search
Piste de recherche
The failing call is search_client.search(...) with a headers={"x-ms-enable-elevated-read": "true"} argument, using a service principal credential; the service error is quoted in the issue body. Start by reproducing the call with an app-only credential and checking how the SDK's search client passes custom headers and credentials. Done means the team has decided whether the SDK should change or the docs should state that elevated read requires a user token, and the reporter's workaround is confirmed.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
search_results = search_client.search(
search_text="",
filter=f"artefact_id eq '{artefact_id.lower()}'",
select=["id"],
top=100,
headers={"x-ms-enable-elevated-read": "true"},
)
We are experiencing a regression/change in behavior when using Azure AI Search elevated read access.
Previously, our application was able to successfully query documents from an Azure AI Search index using the x-ms-enable-elevated-read header while authenticating through a service principal (app-only authentication). This capability was being used to retrieve existing indexed documents, including records that contain user permission restrictions, so that stale entries could be identified and deleted before re-ingestion.
ERROR : azure.core.exceptions.HttpResponseError:
Header 'x-ms-enable-elevated-read' requires an AAD user access token.
App-only tokens are not supported.
Code:
Message: Header 'x-ms-enable-elevated-read' requires an AAD user access token.
App-only tokens are not supported.
Due to this behavior change:
1] Existing documents with restricted permissions cannot be retrieved using elevated read access.
2] The ingestion process cannot reliably identify and delete previously indexed documents.
3] Duplicate or stale documents may remain in the index.
4] Automated synchronization between source repositories and Azure AI Search is impacted.
- Langage dominant
- Python
- Étoiles
- 5.6k
- Forks
- 3.4k
- Merge moyen
- 1 j 22 h
- PR mergées (30 j)
- 189
Préparer son environnement
Lance le conteneur de développement du projet dans votre navigateur, avec votre propre compte GitHub.
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de Azure/azure-sdk-for-python
-
needs-triage
Difficulté 1/5 Moins d'une heure Accessibilité débutants 85/100
Azure/azure-sdk-for-python#50155 · 1 réaction ·
Les mainteneurs répondent en général sous 1 jour
-
[Teams Chatbot]: next-mypy install 404s should point to CFS auth or --pypi workaroundPeut-être pris @jianingwang123 l’a pris il y a 17 jours. Ouverteneeds-triage
Difficulté 1/5 1-3 heures Accessibilité débutants 72/100
Azure/azure-sdk-for-python#49886 · 1 commentaire · 2 réactions · 2 personnes assignées ·
Les mainteneurs répondent en général sous 1 jour
-
[AI Projects] AIProjectInstrumentor: non-streamed responses.create raises AttributeError ('NonRecordingSpan' object has no attribute 'attributes') when the span is not sampledPeut-être pris @14H034160212 l’a pris il y a 19 jours. OuverteAI Projects Client customer-reported question
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Azure/azure-sdk-for-python#49854 · 2 commentaires · 1 réaction ·
Les mainteneurs répondent en général sous 1 jour
-
azure-eventhub migration guide: legacy checkpoint sample writes "None" metadata for partitions that were never checkpointedPeut-être pris @hidingmyname l’a pris il y a 27 jours. OuverteClient customer-reported Event Hubs needs-team-attention question Service Attention
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Azure/azure-sdk-for-python#49723 · 2 commentaires · 1 réaction ·
Les mainteneurs répondent en général sous 1 jour
-
Scheduled test pipelines fail at the Analyze_Test stage due to date formattingPeut-être pris Une pull request liée à cette issue est ouverte ou déjà fusionnée. OuverteEngSys
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Azure/azure-sdk-for-python#49614 · 1 commentaire · 1 réaction ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de Azure/azure-sdk-for-python
Issues similaires
-
🧫10장-투향
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
hyunjimoon/golden-cage-book#188 ·
-
agent/scanner bug stage/010-actionable
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
torch-spyre/spyre-inference#1812 ·
Les mainteneurs répondent en général sous 1 jour
-
Bug: fenced drafts inside <think> tags break parsing or are returned instead of the answerPeut-être pris @aad1tyaaaaa l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
google/langextract#639 ·
Les mainteneurs répondent en général sous 1 jour
-
[oblt-aw][autodoc] Update autodoc routing docs for relative in-repo lock usesPeut-être pris @github-actions l’a pris aujourd’hui. Ouverte
Difficulté 1/5 1-3 heures Accessibilité débutants 87/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
Les mainteneurs répondent en général sous 1 jour