Azure / Azure/azure-sdk-for-python

Permission ingestion options not valid for OneLake data source

Aperta
#42,940 2 commenti 0 reazioni 1 assegnatario Rivendicata da @xiangyan99 Vedi su GitHub
Client customer-reported needs-team-attention question Search Service Attention
Lingua principale
Python
Stelle
5.6k
Fork
3.4k
Merge medio
2g 2h
PR unite (30g)
213

Descrizione

- **Package Name**: azure-search-documents
- **Package Version**: 11.7.0b1
- **Operating System**: Windows
- **Python Version**: 3.12

**Describe the bug**
We are following the [documentation](https://learn.microsoft.com/en-us/azure/search/search-query-access-control-rbac-enforcement) to use query-time RBAC enforcement in AI Search, using the preview SDK version. The source documents are stored in Fabric OneLake. When attempting to set indexer permission options on the data source as below:
```
data_source = SearchIndexerDataSourceConnection(
name=settings.datasource_name,
type="onelake",
connection_string=settings.datasource_connection_string,
container=SearchIndexerDataContainer(
name=settings.datasource_container_name, query=settings.datasource_query
),
indexer_permission_options=["groupIds"],
)
```

we are seeing the following error:
```
2025-09-10 09:54:49,551 ERROR [lib.aisearch.datasource] Failed to create or update data source '': () groupIds Permission ingestion options are not valid for datasource onelake.
```

Is this expected? If so, are there plans for OneLake to be supported for setting permission options on the data source?

**To Reproduce**
Steps to reproduce the behavior:
1. Set the `indexer_permission_options` on the data source.
2. The datasource fails to be created in AI Search

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.