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
title: 'Quickstart: Create a Synapse workspace using Azure CLI'
3
-
description: Create an Azure Synapse workspace using Azure CLI by following the steps in this guide.
2
+
title: 'Quickstart: Create an Azure Synapse Analytics workspace using Azure CLI'
3
+
description: Create an Azure Synapse Analytics workspace using the Azure CLI by following the steps in this article.
4
4
author: WilliamDAssafMSFT
5
5
ms.service: azure-synapse-analytics
6
6
ms.topic: quickstart
@@ -11,46 +11,48 @@ ms.reviewer: whhender
11
11
ms.custom: mode-api, devx-track-azurecli
12
12
---
13
13
14
-
# Quickstart: Create an Azure synapse workspace with Azure CLI
14
+
# Quickstart: Create an Azure Synapse Analytics workspace with the Azure CLI
15
15
16
16
The Azure CLI is Azure's command-line experience for managing Azure resources. You can use it in your browser with Azure Cloud Shell. You can also install it on macOS, Linux, or Windows and run it from the command line.
17
17
18
-
In this quickstart, you learn to create a Synapse workspace by using the Azure CLI.
18
+
In this quickstart, you learn how to create an Azure Synapse Analytics workspace by using the Azure CLI.
- Download and install [jq](https://stedolan.github.io/jq/download/), a lightweight and flexible command-line JSON processor
25
-
-[Azure Data Lake Storage Gen2 storage account](../storage/common/storage-account-create.md)
24
+
- Download and install [jq](https://stedolan.github.io/jq/download/), a lightweight and flexible command-line JSON processor.
25
+
-[Azure Data Lake Storage Gen2 storage account](../storage/common/storage-account-create.md).
26
26
27
27
> [!IMPORTANT]
28
-
> The Azure Synapse workspace needs to be able to read and write to the selected ADLS Gen2 account. In addition, for any storage account that you link as the primary storage account, you must have enabled **hierarchical namespace**at the creation of the storage account, as described on the [Create a Storage Account](../storage/common/storage-account-create.md?tabs=azure-portal#create-a-storage-account) page.
28
+
> An Azure Synapse Analytics workspace needs to be able to read and write to the selected Data Lake Storage Gen2 account. In addition, for any storage account that you link as the primary storage account, you must have enabled **hierarchical namespace** at the creation of the storage account, as described in [Create a storage account](../storage/common/storage-account-create.md?tabs=azure-portal#create-a-storage-account).
:::image type="content" source="media/quickstart-create-synapse-workspace-cli/create-workspace-cli-1.png" alt-text="Screenshot that shows the Azure Synapse Analytics workspace web." lightbox="media/quickstart-create-synapse-workspace-cli/create-workspace-cli-1.png":::
89
92
90
-
1. Once deployed, additional permissions are required.
91
-
- In the Azure portal, assign other users of the workspace to the **Contributor** role in the workspace. For detailed steps, see [Assign Azure roles using the Azure portal](../role-based-access-control/role-assignments-portal.yml).
92
-
- Assign other users the appropriate **[Synapse RBAC roles](security/synapse-workspace-synapse-rbac-roles.md)** using Synapse Studio.
93
-
- A member of the **Owner** role of the Azure Storage account must assign the **Storage Blob Data Contributor** role to the Azure Synapse workspace MSI and other users.
93
+
1. After it's deployed, more permissions are required:
94
+
95
+
- In the Azure portal, assign other users of the workspace to the Contributor role in the workspace. For more information, see [Assign Azure roles using the Azure portal](../role-based-access-control/role-assignments-portal.yml).
96
+
- Assign other users the appropriate [Azure Synapse Analytics role-based access control roles](security/synapse-workspace-synapse-rbac-roles.md) by using Synapse Studio.
97
+
- A member of the Owner role of the Azure Storage account must assign the Storage Blob Data Contributor role to the Azure Synapse Analytics workspace managed service identity and other users.
94
98
95
99
## Clean up resources
96
100
97
-
Follow the steps below to delete the Azure Synapse workspace.
101
+
Follow these steps to delete the Azure Synapse Analytics workspace.
102
+
98
103
> [!WARNING]
99
-
> Deleting an Azure Synapse workspace will remove the analytics engines and the data stored in the database of the contained SQL pools and workspace metadata. It will no longer be possible to connect to the SQL or Apache Spark endpoints. All code artifacts will be deleted (queries, notebooks, job definitions and pipelines).
104
+
> Deleting an Azure Synapse Analytics workspace removes the analytics engines and the data stored in the database of the contained SQL pools and workspace metadata. It will no longer be possible to connect to the SQL or Apache Spark endpoints. All code artifacts will be deleted (queries, notebooks, job definitions, and pipelines).
100
105
>
101
-
> Deleting the workspace will **not** affect the data in the Data Lake Store Gen2 linked to the workspace.
106
+
> Deleting the workspace won't affect the data in the Data Lake Storage Gen2 account linked to the workspace.
102
107
103
-
If you want to delete the Azure Synapse workspace, complete the following command:
108
+
If you want to delete the Azure Synapse Analytics workspace, complete the following command:
104
109
105
110
```azurecli
106
111
az synapse workspace delete --name $SynapseWorkspaceName --resource-group $SynapseResourceGroup
107
112
```
108
113
109
-
## Next steps
114
+
## Related content
110
115
111
116
Next, you can [create SQL pools](quickstart-create-sql-pool-studio.md) or [create Apache Spark pools](quickstart-create-apache-spark-pool-studio.md) to start analyzing and exploring your data.
0 commit comments