You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ce9dc53
Browse filesBrowse the repository at this point in the historyBrowse files
feat(azure-data-explorer): run as a saved Microsoft app credential
Adds azure_data_explorer_v2, a credential-only successor whose picker
selects a Microsoft app credential (client secret, certificate, or keyless
federated credential) in place of the inline tenant ID, client ID, and
client secret. The executor authorizes the credential and the operation
mints a token for the cluster each call names: the audience is the
allowlisted cluster (or resource override) host as https://<host>, and the
credential's cloud must be one that host belongs to, so a US Government or
China cluster takes a matching national-cloud credential. Inline secrets
are never read on that path.
The legacy block keeps its inline fields and behavior and is marked legacy
with azure_data_explorer_v2 as its replacement. The connect dialog gains a
Cloud choice; a global credential's payload and stored secret are
unchanged.
Copy file name to clipboardExpand all lines: apps/docs/content/docs/integrations/azure_data_explorer.mdx
+3-45Lines changed: 3 additions & 45 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Azure Data Explorer
3
3
description: Query and manage Azure Data Explorer (Kusto) clusters with KQL
4
4
integration:
5
-
type: "azure_data_explorer"
5
+
type: "azure_data_explorer_v2"
6
6
color: "#FFFFFF"
7
7
---
8
8
@@ -32,7 +32,7 @@ In Sim, this integration gives your agents both halves:
32
32
-**Debug the pipeline** — list ingestion failures with their error codes and root causes, and check the state of a long-running operation
33
33
-**Run any management command** — the escape hatch for policies, mappings, and anything else on the control plane
34
34
35
-
Authentication uses a **Microsoft Entra service principal**(an app registration with a tenant ID, client ID, and client secret) rather than an interactive sign-in, so scheduled and unattended workflows keep working without anyone logging in. Grant that principal access to the database with `.add database <DATABASE> viewers ('aadapp=<clientId>;<tenantId>')` — use `viewers` for read-only agents, and `ingestors` or `users` only when a workflow needs to write.
35
+
Authentication uses a **Microsoft Entra app registration** rather than an interactive sign-in, so scheduled and unattended workflows keep working without anyone logging in. Select a saved [Microsoft app credential](/integrations/microsoft-app-credentials), which signs in with a client secret, a certificate, or a keyless federated credential; choose the credential's cloud to match the cluster (a `kusto.usgovcloudapi.net` cluster needs a US Government credential, a `kusto.chinacloudapi.cn` one a China credential). Sim mints a token for the cluster itself (`https://<cluster host>`) on each run. Grant the app access to the database with `.add database <DATABASE> viewers ('aadapp=<clientId>;<tenantId>')` — use `viewers` for read-only agents, and `ingestors` or `users` only when a workflow needs to write. Workflows built before saved credentials keep their inline tenant ID, client ID, and client secret.
36
36
37
37
A few things worth knowing before you build:
38
38
@@ -46,7 +46,7 @@ A few things worth knowing before you build:
46
46
47
47
## Use the block [#usage-instructions]
48
48
49
-
Run Kusto Query Language queries against Azure Data Explorer and Fabric Eventhouse clusters, discover databases, tables, and schemas, push small batches of rows inline, and run management commands. Authenticates with a Microsoft Entra service principal using client credentials, so no interactive sign-in is needed.
49
+
Run Kusto Query Language queries against Azure Data Explorer and Fabric Eventhouse clusters, discover databases, tables, and schemas, push small batches of rows inline, and run management commands. Runs as a Microsoft app credential: an app registration signing in with a client secret, a certificate, or a keyless federated credential, in the global cloud or a national cloud, so no interactive sign-in is needed.
50
50
51
51
## Actions
52
52
@@ -61,9 +61,6 @@ Run a Kusto Query Language (KQL) query against an Azure Data Explorer database a
61
61
| Parameter | Type | Required | Description |
62
62
| --------- | ---- | -------- | ----------- |
63
63
|`clusterUri`| string | Yes | Cluster URI \(e.g., https://mycluster.eastus.kusto.windows.net)|
64
-
|`tenantId`| string | Yes | Microsoft Entra tenant ID hosting the service principal |
65
-
|`clientId`| string | Yes | Microsoft Entra application \(client\) ID |
0 commit comments