Skip to content

Commit aedda49

Browse files
authored
Merge pull request #5123 from MicrosoftDocs/main
5/21/2025 PM Publish
2 parents eb13f25 + 96ad4d0 commit aedda49

34 files changed

+518
-2971
lines changed

articles/ai-foundry/concepts/concept-model-distillation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn how to do distillation in Azure AI Foundry portal.
55
manager: scottpolly
66
ms.service: azure-ai-foundry
77
ms.topic: how-to
8-
ms.date: 03/09/2025
8+
ms.date: 05/20/2025
99
ms.reviewer: vkann
1010
reviewer: anshirga
1111
ms.author: ssalgado

articles/ai-foundry/concepts/concept-synthetic-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn how to generate a synthetic dataset in Azure AI Foundry porta
55
manager: scottpolly
66
ms.service: azure-ai-foundry
77
ms.topic: how-to
8-
ms.date: 03/11/2025
8+
ms.date: 05/20/2025
99
ms.reviewer: vkann
1010
reviewer: anshirga
1111
ms.author: ssalgado

articles/ai-foundry/how-to/configure-managed-network.md

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -855,8 +855,33 @@ When you create a private endpoint for hub dependency resources, such as Azure S
855855

856856
A private endpoint is automatically created for a connection if the target resource is an Azure resource listed previously. A valid target ID is expected for the private endpoint. A valid target ID for the connection can be the Azure Resource Manager ID of a parent resource. The target ID is also expected in the target of the connection or in `metadata.resourceid`. For more on connections, see [How to add a new connection in Azure AI Foundry portal](connections-add.md).
857857

858-
> [!IMPORTANT]
859-
> As of April 30th 2025, the Azure AI Enterprise Network Connection Approver role must be assigned to the Azure AI Foundry hub's managed identity to approve private endpoints to securely access your Azure resources from the managed virtual network. This doesn't impact existing resources with approved private endpoints as the role is correctly assigned by the service. For new resources, ensure the role is assigned to the hub's managed identity. For Azure Data Factory, Azure Databricks, and Azure Function Apps, the Contributor role should instead be assigned to your hub's managed identity. This role assignment is applicable to both User-assigned identity and System-assigned identity workspaces.
858+
### Approval of Private Endpoints
859+
860+
To establish Private Endpoint connections in managed virtual networks using Azure AI Foundry, the workspace managed identity, whether system-assigned or user-assigned, must have permissions to approve the Private Endpoint connections on the target resources. Previously, this was done through automatic role assignments by the Azure AI Foundry service. However, there are security concerns about the automatic role assignment. To improve security, starting April 30th, 2025, we will discontinue this automatic permission grant logic. We recommend assigning the [Azure AI Enterprise Network Connection Approver role](/azure/role-based-access-control/built-in-roles/ai-machine-learning) or a custom role with the necessary Private Endpoint connection permissions on the target resource types and grant this role to the Azure Machine Learning workspace's managed identity to allow Azure AI Foundry services to approve Private Endpoint connections to the target Azure resources.
861+
862+
Here's the list of private endpoint target resource types covered by covered by the Azure AI Enterprise Network Connection Approver role:
863+
864+
* Azure Application Gateway
865+
* Azure Monitor
866+
* Azure AI Search
867+
* Event Hubs
868+
* Azure SQL Database
869+
* Azure Storage
870+
* Azure Machine Learning workspace
871+
* Azure Machine Learning registry
872+
* Azure AI Foundry
873+
* Azure Key Vault
874+
* Azure CosmosDB
875+
* Azure Database for MySQL
876+
* Azure Database for PostgreSQL
877+
* Azure AI Services
878+
* Azure Cache for Redis
879+
* Container Registry
880+
* API Management
881+
882+
For creating Private Endpoint outbound rules to target resource types not covered by the Azure AI Enterprise Network Connection Approver role, such as Azure Data Factory, Azure Databricks, and Azure Function Apps, a custom scoped-down role is recommended, defined only by the actions necessary to approve private endpoint connections on the target resource types.
883+
884+
For creating Private Endpoint outbound rules to default workspace resources, the required permissions are automatically covered by the role assignments granted during workspace creation, so no additional action is needed.
860885

861886
## Select an Azure Firewall version for allowed only approved outbound
862887

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

Lines changed: 4 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: 04/11/2025
12+
ms.date: 05/20/2025
1313
ms.reviewer: deeikele
1414
ms.author: sgilley
1515
author: sdgilley
@@ -19,7 +19,7 @@ zone_pivot_groups: project-type
1919

2020
# Create a project for Azure AI Foundry
2121

22-
This article describes how to create an [Azure AI Foundry](https://ai.azure.com) project. Projects are folders that let you organize your work for exploring new ideas, and as you're prototyping on a particular use cases.
22+
This article describes how to create an [Azure AI Foundry](https://ai.azure.com) project. Projects let you organize your work for exploring new ideas and as you prototype on a particular use cases.
2323

2424
Azure AI Foundry supports two types of projects: a **[!INCLUDE [fdp](../includes/fdp-project-name.md)]** and a **[!INCLUDE [hub](../includes/hub-project-name.md)]**. For more information about the differences between these two project types, see [Types of projects](../what-is-azure-ai-foundry.md#project-types).
2525

@@ -70,7 +70,7 @@ Use the following tabs to select the method you plan to use to create a [!INCLUD
7070

7171
---
7272

73-
## Create a project
73+
## Create a [!INCLUDE [hub-project-name](../includes/hub-project-name.md)]
7474

7575
# [Azure AI Foundry portal](#tab/ai-foundry)
7676

@@ -129,7 +129,7 @@ On the project **Overview** page, you can find information about the project.
129129

130130
:::image type="content" source="../media/how-to/projects/project-settings.png" alt-text="Screenshot of an Azure AI Foundry project settings page." lightbox = "../media/how-to/projects/project-settings.png":::
131131

132-
- Name: The name of the project appears in the top left corner. You can rename the project using the edit tool.
132+
- Name: The name of the project appears in the top left corner.
133133
- Subscription: The subscription that hosts the hub that hosts the project.
134134
- Resource group: The resource group that hosts the hub that hosts the project.
135135

articles/ai-foundry/includes/create-project-fdp.md

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ms.custom: include
1818
* This project type gives you the best support for:
1919

2020
* Agents
21-
* AI Model Inference including Azure Open AI
21+
* AI Model Inference including Azure OpenAI
2222
* AI Foundry API that works with agents and across models
2323
* Project files (directly upload files and start experimenting)
2424
* Evaluations
@@ -51,21 +51,29 @@ Use the following tabs to select the method you plan to use to create a [!INCLUD
5151

5252
---
5353

54-
## Create a project
54+
## Create a [!INCLUDE [fdp-project-name](fdp-project-name.md)]
5555

5656
# [Azure AI Foundry portal](#tab/ai-foundry)
5757

5858
To create a [!INCLUDE [fdp-project-name](fdp-project-name.md)] in [Azure AI Foundry](https://ai.azure.com), follow these steps:
5959

60-
1. Go to [Azure AI Foundry](https://ai.azure.com). If you are in a project, select **Azure AI Foundry** at the top left of the page to go to the **Home** page.
61-
1. In the middle of the page, select **Start building**. This creates a project and also include steps to start working with a basic agent.
62-
1. Or select **+ Create project** in the top right corner of the page if you have existing projects. This creates the project alone, without extra steps to start working with an agent.
63-
1. Enter a name for the project.
64-
1. Select **Create**. Or, if you want to customize your settings, follow the steps in the next section.
60+
1. Go to [Azure AI Foundry](https://ai.azure.com).
61+
62+
2. What you do next depends on where you are:
63+
64+
* **If you don't have any existing projects**: Follow the steps in [Quickstart: Get started with Azure AI Foundry](../quickstarts/get-started-code.md) to create your first project.
65+
66+
* **If you're in a project**: Select the project breadcrumb, then select **Create new resource**.
67+
68+
:::image type="content" source="../media/how-to/projects/create-new-resource.png" alt-text="Screenshot shows creating a new project from a breadcrumb.":::
69+
70+
* **If you're not in a project**: Select **Create new** in the top right to create a new [!INCLUDE [fdp-project-name-plural](fdp-project-name.md)]
71+
72+
:::image type="content" source="../media/how-to/projects/create-new.png" alt-text="Screenshot shows how to create a new project in Azure AI Foundry.":::
6573

6674
### Advanced options
6775

68-
A [!INCLUDE [fdp-project-name](fdp-project-name.md)] is created on an `AIServices` resource. This resource is created for you automatically when you create the project.
76+
A [!INCLUDE [fdp-project-name](fdp-project-name.md)] is created on an `AI Foundry` resource. This resource is created for you automatically when you create the project.
6977

7078
To customize the settings for your project, follow these steps:
7179

@@ -166,9 +174,9 @@ To create a [!INCLUDE [fdp](../includes/fdp-project-name.md)]:
166174
[!INCLUDE [cli-create-project](cli-create-project.md)]
167175
-->
168176

169-
---
177+
CLI commands not currently available for creating a [!INCLUDE [fdp-project-name](fdp-project-name.md)].
170178

171-
CLI comannds not currently available for creating a [!INCLUDE [fdp-project-name](fdp-project-name.md)].
179+
---
172180

173181
## Create multiple projects on the same resource
174182

@@ -180,7 +188,7 @@ CLI comannds not currently available for creating a [!INCLUDE [fdp-project-name]
180188

181189
On the project **Home** page, you can find information about the project.
182190

183-
- Name: The name of the project appears in the top left corner. You can rename the project using the edit tool.
191+
- Name: The name of the project appears in the top left corner.
184192
- Subscription: The subscription that hosts the hub that hosts the project.
185193
- Resource group: The resource group that hosts the hub that hosts the project.
186194

articles/ai-foundry/includes/create-second-fdp-project.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.custom: include, build-2024, ignite-2024
1111
---
1212

1313

14-
Create multiple [!INCLUDE [fdp-project-name-plural](fdp-project-name-plural.md)] on an existing `AI Services` resource, so you can share your environment with your team for collaboration.
14+
Create multiple [!INCLUDE [fdp-project-name-plural](fdp-project-name-plural.md)] on an existing `AI Foundry` resource, so you can share your environment with your team for collaboration.
1515

1616
[!INCLUDE [fdp-project-name-plural](fdp-project-name-plural.md)] as Azure child resources may get assigned their own access controls, but share common settings such as network security, deployments, and Azure tool integration from their parent resource.
1717

@@ -72,7 +72,7 @@ Your first project (default project) plays a special role and has access to more
7272
az cognitiveservices account project create --resource-group {my_resource_group} --name {my_project_name} --account-name {foundry_resource_name}
7373
```
7474
-->
75-
CLI comannds not currently available for creating a [!INCLUDE [fdp-project-name](fdp-project-name.md)].
75+
CLI commands not currently available for creating a [!INCLUDE [fdp-project-name](fdp-project-name.md)].
7676

7777
---
7878

articles/ai-foundry/includes/get-started-fdp.md

Lines changed: 53 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -30,24 +30,20 @@ The Azure AI Foundry SDK is available in multiple languages, including Python, J
3030

3131
[!INCLUDE [feature-preview](feature-preview.md)]
3232

33-
## Create a [!INCLUDE [fdp-project-name](fdp-project-name.md)]
33+
## Start with a project and model
3434

3535
1. Sign in to the [Azure AI Foundry portal](https://ai.azure.com).
36-
1. On the home page, select **Create an agent**. This creates a project and also include steps to start working with a basic Agent.
36+
1. On the home page, select **Create an agent**.
3737

38-
<!-- :::image type="content" source="../media/quickstarts/start-building.png" alt-text="Screenshot shows how to start building an Agent in Azure AI Foundry portal."::: -->
38+
:::image type="content" source="../media/quickstarts/start-building.png" alt-text="Screenshot shows how to start building an Agent in Azure AI Foundry portal.":::
3939

40-
1. Fill in a name for your project and select **Create**.
41-
42-
## Deploy a model
43-
44-
[!INCLUDE [tip-left-pane](../includes/tip-left-pane.md)]
45-
46-
1. If you just used the Azure AI Foundry portal to create the project with the **Create an agent** link, you'll already have a default **gpt-4o** model deployed.
47-
1. Or else, sign in to the [Azure AI Foundry portal](https://ai.azure.com), select your project, and select **Model catalog**.
48-
1. Search for the model you want to deploy. For this quickstart, select **gpt-4o**.
49-
1. Select **Confirm**.
50-
1. Don't change the default settings. Select **Deploy**.
40+
1. Fill in a name to use for your project and select **Create**.
41+
1. Once your resources are created, you are in the agent playground.
42+
1. If you're asked to select a model, search for and select **gpt-4o**.
43+
1. Select **Confirm**.
44+
1. Don't change the default settings. Select **Deploy**.
45+
46+
You now have both a project and a model available for your agent.
5147

5248
### Set up your environment
5349

@@ -130,59 +126,17 @@ No installation is necessary to use the Azure AI Foundry portal.
130126
131127
---
132128
133-
## Run a chat completion
134-
135-
Chat completions are the basic building block of AI applications. Using chat completions you can send a list of messages and get a response.
136-
137-
# [Azure AI Foundry portal](#tab/azure-ai-foundry)
138-
139-
1. If you used **Create an agent** to create the project, you'll now find yourself in the Agents playground, ready to try it out. You'll come back here in a moment, but first let's play with the model.
140-
1. In the left pane, select **Playgrounds**.
141-
1. Select **Try the chat playground**.
142-
1. Fill in the prompt and select the **Send** button.
143-
1. The model returns a response in the **Response** pane.
144-
145-
# [Python](#tab/python)
146-
147-
Substitute your value for the endpoint in this code:
148-
149-
:::code language="python" source="~/foundry-samples-main/samples/microsoft/python/mslearn-resources/quickstart/quickstart.py" id="chat_completion":::
150-
151129
152-
# [Java (preview)](#tab/java)
153-
154-
:::code language="java" source="~/foundry-samples-main/samples/microsoft/java/mslearn-resources/quickstart/src/main/java/com/azure/ai/foundry/samples/ChatCompletionSample.java" :::
155-
156-
# [JavaScript (preview)](#tab/javascript)
157-
158-
:::code language="javascript" source="~/foundry-samples-main/samples/microsoft/javascript/mslearn-resources/quickstart/src/quickstart.js" id="chat_completion":::
159-
160-
161-
# [C#](#tab/csharp)
162-
163-
:::code language="csharp" source="~/foundry-samples-main/samples/microsoft/csharp/mslearn-resources/quickstart/Samples/SimpleInference.cs" id="chat_completion":::
164-
165-
# [REST API](#tab/rest)
166-
167-
Replace `YOUR-FOUNDRY-RESOURCE-NAME` with your values:
168-
169-
:::code language="console" source="~/foundry-samples-main/samples/microsoft/REST/mslearn-resources/quickstart/quickstart.sh" id="chat_completion":::
170-
171-
---
130+
## Chat with an agent
172131
173-
## Create and run an agent
174-
175-
Agents allow more powerful capabilities through the use of tools. First, let's write the same chat completion code using agents.
132+
Agents have powerful capabilities through the use of tools. Start by chatting with an agent.
176133
177134
# [Azure AI Foundry portal](#tab/azure-ai-foundry)
178135
179-
1. In your project, on the left pane, select **Agents**.
180-
1. Select the agent created with the project.
181-
1. If you didn't create one with your project, select **New agent** to create an agent now.
182-
1. On the right **Setup** pane, change the name if you'd like.
136+
After the preceding steps, you're now in the agents playground.
137+
183138
1. Add instructions, such as, "You are a helpful writing assistant."
184-
1. At the top of the **Setup** pane, select **Try in playground**.
185-
1. Start chatting with your agent, for example, "Write me a poem about flowers"
139+
1. Start chatting with your agent, for example, "Write me a poem about flowers."
186140
187141
# [Python](#tab/python)
188142
@@ -252,6 +206,44 @@ Replace `YOUR-FOUNDRY-RESOURCE-NAME` and `YOUR-PROJECT-NAME` with your values:
252206
253207
---
254208
209+
## Run a chat completion
210+
211+
Chat completions are the basic building block of AI applications. Using chat completions you can send a list of messages and get a response from the model instead of the agent.
212+
213+
# [Azure AI Foundry portal](#tab/azure-ai-foundry)
214+
215+
1. In the left pane, select **Playgrounds**.
216+
1. Select **Try the chat playground**.
217+
1. Fill in the prompt and select the **Send** button.
218+
1. The model returns a response in the **Response** pane.
219+
220+
# [Python](#tab/python)
221+
222+
Substitute your value for the endpoint in this code:
223+
224+
:::code language="python" source="~/foundry-samples-main/samples/microsoft/python/mslearn-resources/quickstart/quickstart.py" id="chat_completion":::
225+
226+
227+
# [Java (preview)](#tab/java)
228+
229+
:::code language="java" source="~/foundry-samples-main/samples/microsoft/java/mslearn-resources/quickstart/src/main/java/com/azure/ai/foundry/samples/ChatCompletionSample.java" :::
230+
231+
# [JavaScript (preview)](#tab/javascript)
232+
233+
:::code language="javascript" source="~/foundry-samples-main/samples/microsoft/javascript/mslearn-resources/quickstart/src/quickstart.js" id="chat_completion":::
234+
235+
236+
# [C#](#tab/csharp)
237+
238+
:::code language="csharp" source="~/foundry-samples-main/samples/microsoft/csharp/mslearn-resources/quickstart/Samples/SimpleInference.cs" id="chat_completion":::
239+
240+
# [REST API](#tab/rest)
241+
242+
Replace `YOUR-FOUNDRY-RESOURCE-NAME` with your values:
243+
244+
:::code language="console" source="~/foundry-samples-main/samples/microsoft/REST/mslearn-resources/quickstart/quickstart.sh" id="chat_completion":::
245+
246+
---
255247
256248
## Clean up resources
257249

articles/ai-foundry/index.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,8 @@ additionalContent:
168168
url: https://aka.ms/azureaifoundry/vscode
169169
- title: Explore more Azure AI
170170
links:
171+
- text: What are Azure AI services?
172+
url: ../ai-services/what-are-ai-services.md
171173
- text: Semantic Kernel
172174
url: /semantic-kernel/
173175
- text: Document Intelligence
64.8 KB
Loading
83.7 KB
Loading

0 commit comments

Comments
 (0)