Skip to content

Commit c0f30f1

Browse files
committed
update CLI and add prereq
1 parent a78aea6 commit c0f30f1

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

articles/ai-studio/how-to/create-projects.md

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.custom:
99
- build-2024
1010
- ignite-2024
1111
ms.topic: how-to
12-
ms.date: 10/01/2024
12+
ms.date: 01/03/2025
1313
ms.reviewer: deeikele
1414
ms.author: sgilley
1515
author: sdgilley
@@ -27,8 +27,22 @@ For more information about the projects and hubs model, see [Azure AI Foundry hu
2727
## Prerequisites
2828

2929
- 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.
34+
35+
# [Python SDK](#tab/python)
36+
37+
- [Azure Machine Learning SDK v2](https://aka.ms/sdk-v2-install).
38+
- 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+
3246

3347
## Create a project
3448

@@ -78,9 +92,11 @@ The code in this section assumes you have an existing hub. If you don't have a
7892
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:
7993

8094
```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}
8296
```
8397

98+
`my_hub_ID` follows this syntax: `/subscriptions/{subscription_id}/resourceGroups/{resource_group}/providers/Microsoft.MachineLearningServices/workspaces/{hub_name}`.
99+
84100
---
85101

86102
## View project settings

0 commit comments

Comments
 (0)