Azure / Azure/azure-sdk-for-python

Permission ingestion options not valid for OneLake data source

Offen
#42,940 2 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @xiangyan99 Auf GitHub ansehen
Client customer-reported needs-team-attention question Search Service Attention
Vorherrschende Sprache
Python
Sterne
5.6k
Forks
3.4k
Ø Merge
2 T. 2 Std.
Gemergte PRs (30 T.)
213

Beschreibung

- **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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.