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
> If you are using your own ADX cluster, you must include the region in the connection string as follows:
109
110
110
-
You use Device Login to authenticate. Copy the code from the output and select **authenticate** which opens a browser where you need to paste the code. Once you authenticate successfully, you can come back to Azure Data Studio to continue with the rest of the script.
You use device sign-in to authenticate. Copy the code from the output and select **authenticate** which opens a browser where you need to paste the code. Once you authenticate successfully, you can come back to Azure Data Studio to continue with the rest of the script.
111
113
112
-

114
+
:::image type="content" source="media/notebooks-kqlmagic/ade-auth.png" alt-text="Screenshot of the Azure Data Explorer authentication.":::
113
115
114
116
### Query and visualize for Azure Data Explorer
115
117
@@ -123,7 +125,7 @@ Query data using the [render operator](/azure/data-explorer/kusto/query/renderop
123
125
124
126
If you're familiar with the Kusto Query Language (KQL), you can type the query after `%kql`.
Query data using the [render operator](/azure/data-explorer/kusto/query/renderoperator) and visualize data using the ploy.ly library. This query and visualization supplies an integrated experience that uses native KQL.
@@ -187,7 +197,7 @@ Query data using the [render operator](/azure/data-explorer/kusto/query/renderop
:::image type="content" source="media/notebooks-kqlmagic/change-kernel.png" alt-text="Screenshot of the change.":::
213
223
214
224
2. Load Kqlmagic:
215
225
216
226
```python
217
227
%reload_ext Kqlmagic
218
228
```
219
229
220
-

230
+
:::image type="content" source="media/notebooks-kqlmagic/install-load-kql-magic-ext.png" alt-text="Screenshot showing to load the Kqlmagic extension.":::
221
231
222
232
> [!Note]
223
233
> Every time you create a new notebook in Azure Data Studio you must load the Kqlmagic extension.
@@ -228,7 +238,7 @@ Query data using the [render operator](/azure/data-explorer/kusto/query/renderop
@@ -252,6 +262,6 @@ Learn more about notebooks and Kqlmagic:
252
262
-[Kusto (KQL) extension for Azure Data Studio (Preview)](../extensions/kusto-extension.md)
253
263
-[Create and run a Kusto (KQL) notebook (Preview)](./notebooks-kusto-kernel.md)
254
264
-[Use a Jupyter Notebook and Kqlmagic extension to analyze data in Azure Data Explorer](/azure/data-explorer/Kqlmagic)
255
-
-[Extension (Magic) to Jupyter Notebook and Jupyter lab](https://github.com/Microsoft/jupyter-Kqlmagic), that enable notebook experience working with Kusto, Application Insights, and LogAnalytics data.
265
+
-[Extension (Magic) to Jupyter Notebook and Jupyter lab](https://github.com/Microsoft/jupyter-Kqlmagic) that enable notebook experience working with Kusto Application Insights, and LogAnalytics data.
256
266
-[Kqlmagic](https://pypi.org/project/Kqlmagic/)
257
-
-[How to use notebooks in Azure Data Studio](./notebooks-guidance.md)
267
+
-[How to use notebooks in Azure Data Studio](./notebooks-guidance.md)
Copy file name to clipboardExpand all lines: docs/sql-server/azure-arc/connect.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,6 +61,7 @@ az provider register --namespace 'Microsoft.AzureArcData'
61
61
If the machine with SQL Server is already connected to Azure Arc, you can connect the SQL Server instances by installing *Azure extension for SQL Server*. The SQL Server extension for Azure Arc Server can be found in the extension manager as **SQL Server Extension - Azure Arc**. Once installed, the Azure extension for SQL Server will recognize all the installed SQL Server instances and connect them with Azure Arc. The extension will run continuously to detect changes in the SQL Server configuration. For example, if a new SQL Server instance is installed on the machine, it will be automatically registered with Azure Arc. See [virtual machine extension management](/azure/azure-arc/servers/manage-vm-extensions) for instructions on how to install and uninstall extensions to [Azure connected machine agent](/azure/azure-arc/servers/agent-overview) using the Azure portal, Azure PowerShell or Azure CLI.
62
62
63
63
> [!IMPORTANT]
64
+
>
64
65
> - The Managed System Identity used by the Azure connected machine agent must have the *Azure Connected SQL Server Onboarding* role at the resource group level.
65
66
> - The Azure resource with type `SQL Server - Azure Arc` representing the SQL Server instance installed on the machine uses the same region and resource group as the Azure resources for Arc-enabled servers.
66
67
@@ -105,6 +106,7 @@ To install *Azure extension for SQL Server* for Linux operating system, run:
105
106
> [!NOTE]
106
107
> The specified resource group must match the resource group where the corresponding connected server is registered. Otherwise, the command will fail.
107
108
an
109
+
108
110
## When the machine isn't connected to an Arc-enabled Server
109
111
110
112
If the server that runs your SQL Server instance isn't yet connected to Azure, you can initiate the connection from the target machine using the onboarding script. This script will connect the server to Azure and install the Azure extension for SQL Server.
@@ -203,7 +205,7 @@ Go to **Azure Arc > SQL Server** and open the newly registered Arc-enabled SQL S
203
205
To delete your Arc-enabled SQL Server resource, go to **Azure Arc > SQL Server**, open the Arc-enabled SQL Server resource for that instance, and select the **Delete** button.
204
206
205
207
> [!IMPORTANT]
206
-
> Because multiple SQL Server instances could be installed on the same machine, the *Delete* button will not uninstall the Azure extension for SQL Server on that machine. To uninstall it, follow the [uninstall extension](/azure/azure-arc/servers/manage-vm-extensions-portal#uninstall-extension) steps.
208
+
> Because multiple SQL Server instances could be installed on the same machine, the *Delete* button doesn't uninstall the Azure extension for SQL Server on that machine. To uninstall it, follow the [uninstall extension](/azure/azure-arc/servers/manage-vm-extensions-portal#uninstall-extension) steps.
207
209
208
210
## Restore a deleted Arc-enabled SQL Server resource
209
211
@@ -218,7 +220,7 @@ If you accidentally deleted your Arc-enabled SQL Server resource, you can restor
218
220
> [!IMPORTANT]
219
221
> The location property must match the location of the Arc-enabled SQL Server resource for the server specified by the `--machine-name` parameter.
220
222
221
-
1. Check to make sure your instance is in the exclusion list (see the value of the _excludedSqlInstances_ property).
223
+
1. Check to make sure your instance is in the exclusion list (see the value of the *excludedSqlInstances* property).
222
224
223
225
```azurecli
224
226
az connectedmachine extension show --machine-name "{your machine name}" --resource-group "{your resource group name}" -n WindowsAgent.SqlServer
@@ -235,4 +237,4 @@ The instance is restored after the next sync with the agent. For information on
235
237
## Next steps
236
238
237
239
- [Configure advanced data security for your SQL Server instance](configure-advanced-data-security.md)
238
-
- [Configure on-demand SQL assessment for your SQL Server instance](assess.md)
240
+
- [Configure on-demand SQL assessment for your SQL Server instance](assess.md)
0 commit comments