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
Copy file name to clipboardExpand all lines: articles/ai-studio/how-to/create-projects.md
+20-4Lines changed: 20 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ ms.custom:
9
9
- build-2024
10
10
- ignite-2024
11
11
ms.topic: how-to
12
-
ms.date: 10/01/2024
12
+
ms.date: 01/03/2025
13
13
ms.reviewer: deeikele
14
14
ms.author: sgilley
15
15
author: sdgilley
@@ -27,8 +27,22 @@ For more information about the projects and hubs model, see [Azure AI Foundry hu
27
27
## Prerequisites
28
28
29
29
- An Azure subscription. If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/).
30
-
- For Python SDK or CLI steps, an Azure AI Foundry hub. If you don't have a hub, see [How to create and manage an Azure AI Foundry hub](create-azure-ai-resource.md).
31
-
- For Azure AI Foundry, a hub isn't required. It is created for you when needed.
30
+
31
+
# [Azure AI Foundry portal](#tab/ai-studio)
32
+
33
+
No other prerequisites are needed to create a project in the Azure AI Foundry portal. When you create a project, a default hub is automatically created if you don't yet have a hub.
- An Azure AI Foundry hub. If you don't have a hub, see [Create a hub using the Azure Machine Learning SDK and CLI](develop/create-hub-project-sdk.md).
39
+
40
+
41
+
# [Azure CLI](#tab/azurecli)
42
+
43
+
-[Azure CLI and the machine learning extension](/azure/machine-learning/how-to-configure-cli).
44
+
- An Azure AI Foundry hub. If you don't have a hub, see [Create a hub using the Azure Machine Learning SDK and CLI](develop/create-hub-project-sdk.md).
45
+
32
46
33
47
## Create a project
34
48
@@ -78,9 +92,11 @@ The code in this section assumes you have an existing hub. If you don't have a
78
92
1. Once the extension is installed and authenticated to your Azure subscription, use the following command to create a new Azure AI Foundry project from an existing Azure AI Foundry hub:
79
93
80
94
```azurecli
81
-
az ml workspace create --kind project --hub-id {my_hub_ARM_ID} --resource-group {my_resource_group} --name {my_project_name}
95
+
az ml workspace create --kind project --hub-id {my_hub_ID} --resource-group {my_resource_group} --name {my_project_name}
82
96
```
83
97
98
+
`my_hub_ID` follows this syntax: `/subscriptions/{subscription_id}/resourceGroups/{resource_group}/providers/Microsoft.MachineLearningServices/workspaces/{hub_name}`.
0 commit comments