Skip to content

Commit 1470afb

Browse files
Merge pull request #311531 from MicrosoftDocs/main
Auto Publish – main to live - 2026-02-08 18:00 UTC
2 parents ed57b35 + cd403f0 commit 1470afb

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

articles/sentinel/datalake/sentinel-provider-class-reference.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.service: microsoft-sentinel
66
ms.subservice: sentinel-graph
77
ms.topic: reference
88
ms.author: edbaynash
9-
ms.date: 07/13/2025
9+
ms.date: 02/08/2026
1010

1111
# Customer intent: As a security engineer or data scientist, I want to understand how to use the Microsoft Sentinel Provider class to connect to the Microsoft Sentinel data lake and perform operations such as listing databases, reading tables, and saving data.
1212
---
@@ -101,7 +101,10 @@ df = data_provider.read_table("EntraGroups", "Workspace001")
101101

102102
### save_as_table
103103

104-
Write a DataFrame as a managed table. You can write to the lake tier by using the `_SPRK` suffix in your table name, or to the analytics tier by using the `_SPRK_CL` suffix.
104+
Write a DataFrame as a managed table. You can write to the lake tier by using the `_SPRK` suffix in your table name, or to the analytics tier by using the `_SPRK_CL` suffix.
105+
106+
> [!NOTE]
107+
> For the analytics tier, `save_as_table` supports `append` mode only. `overwrite` mode is only supported in the lake tier.
105108
106109
```python
107110
data_provider.save_as_table({DataFrame}, {table_name}, [database_name], [database_id], [write_options])
@@ -113,7 +116,7 @@ Parameters:
113116
- `database_name` (str, optional): The name of the database (workspace) to save the table in. Defaults to `System tables`.
114117
- `database_id` (str, optional, analytics tier only): The unique identifier of the database in the analytics tier if workspace names aren't unique.
115118
- `write_options` (dict, optional): Options for writing the table. Supported options:
116-
- mode: `append` or `overwrite` (default: `append`)
119+
- mode: `append` or `overwrite` (default: `append`) `overwrite` mode is only supported in the lake tier.
117120
- partitionBy: list of columns to partition by
118121
Example: {'mode': 'append', 'partitionBy': ['date']}
119122

@@ -133,10 +136,10 @@ Create new custom table in the data lake tier in the `System tables` workspace.
133136
data_provider.save_as_table(dataframe, "CustomTable1_SPRK", "System tables")
134137
```
135138

136-
Append to a table in the system tables database (workspace) in the data lake tier.
139+
Overwrite a table in the system tables database (workspace) in the data lake tier.
137140
```python
138141
write_options = {
139-
'mode': 'append'
142+
'mode': 'overwrite'
140143
}
141144
data_provider.save_as_table(dataframe, "CustomTable1_SPRK", write_options=write_options)
142145
```
@@ -147,7 +150,7 @@ Create new custom table in the analytics tier.
147150
data_provider.save_as_table(dataframe, "CustomTable1_SPRK_CL", "analyticstierworkspace")
148151
```
149152

150-
Append or overwrite to an existing custom table in the analytics tier.
153+
Append to an existing custom table in the analytics tier.
151154
```python
152155
write_options = {
153156
'mode': 'append'

0 commit comments

Comments
 (0)