Skip to content

Commit 8bb373d

Browse files
committed
initial files from word doc
1 parent 0a0c979 commit 8bb373d

File tree

9 files changed

+214
-0
lines changed

9 files changed

+214
-0
lines changed
Lines changed: 214 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,214 @@
1+
---
2+
title: Migrate from hub-based to Foundry projects
3+
description: Learn how to migrate from existing hub-based projects to new Azure AI Foundry projects to access the latest platform capabilities, unified workflows, and enhanced governance features.
4+
author: sdgilley
5+
ms.topic: how-to
6+
ms.date: 07/21/2025
7+
ms.author: sgilley
8+
ms.reviewer: deeikele
9+
---
10+
11+
# Migrate from hub-based to Foundry projects
12+
13+
This guide is for existing customers with hub-based projects and explains the steps for switching from a [!INCLUDE [hub-project-name](../includes/hub-project-name.md)]to the new [!INCLUDE [fdp-project-name](../includes/fdp-project-name.md)] to access the latest platform capabilities.
14+
15+
Azure AI Foundry is transitioning to a unified platform-as-a-service, replacing the previous resource model that required management of multiple Azure services. These changes simplify platform setup and governance, enhance workflows that span multiple models and Foundry tools, and reinforce governance capabilities, as we see AI workloads grow more complex. [Learn more](https://techcommunity.microsoft.com/blog/AIPlatformBlog/build-recap-new-azure-ai-foundry-resource-developer-apis-and-tools/4427241ljQ7vS7hdrIhNLjmw?e=PU9gmv).
16+
17+
> [!IMPORTANT]
18+
> New generative AI and model-centric features will be available only through the AI Foundry resource and its Foundry projects. Currently, some capabilities still require a hub next to your Foundry resource.
19+
20+
## New Foundry projects overview
21+
22+
Foundry projects are designed to unify and simplify the composition of developer workflows, and the management of core building blocks of AI applications:
23+
24+
- Models
25+
- Agents & their tools
26+
- Observability, security and trust
27+
28+
Previously, AI Foundry project's capabilities required the management of multiple Azure resources and SDKs for workflows in the backend to compose these components.
29+
30+
:::image type="content" source="../media/migrate-project/project-structure.png" alt-text="Screenshot of a diagram showing Azure AI Foundry architecture.":::
31+
32+
New capabilities include:
33+
34+
- **Access to Foundry API** which is designed to build and evaluate API-first agentic applications that compose Agents, Evaluations, Models Indexes, Data in a unified experience, and with a consistent contract across model providers.
35+
36+
- **Azure AI Foundry SDK** wraps the Foundry API making it easy to integrate capabilities into code whether your application is built in Python, C#, JavaScript/TypeScript or Java.
37+
38+
- **Agents, Models and Tooling connections** are managed together on Foundry for permission management, networking, cost analysis and policy configuration. Previously certain tools and models were accessed via Azure ML's hub, requiring also the provisioning of additional storage and key vault resources.
39+
40+
- **Projects are now child resources**; they may be assigned their own admin controls like Azure RBAC, but by default share common settings from their parent resource. This principle aims to take IT admins out of the day-to-day loop. Once security, resource connectivity and governance are established at the resource level, as developer you can create your own project as a folder to organize your work.
41+
42+
> [!IMPORTANT]
43+
> Foundry projects feature set are not yet on full parity with hub-based projects. For an up-to-date view on supported features, see [this support matrix](/azure/ai-foundry/what-is-azure-ai-foundry#which-type-of-project-do-i-need).
44+
45+
## How to switch to Foundry project
46+
47+
In the following sections, we will walk step-by-step by how you can move from hub-based projects to Foundry projects:
48+
49+
1. Locate your existing AI Foundry resource [link paragraph]
50+
1. Create a project [link paragraph]
51+
1. (optional) Re-create connections [link paragraph]
52+
1. (optional) Re-create agents [link paragraph]
53+
54+
What can you take forward to the new project type?
55+
56+
- Model deployments
57+
- Data files
58+
- Fine-tuned models
59+
- Assistants
60+
- Vector stores
61+
62+
Limitations:
63+
64+
- Preview Agent's state, including messages, thread, and files cannot be moved. However, you can recreate your agent using code in your new project.
65+
- Open-source model deployments are not yet supported in Foundry projects.
66+
67+
## 1. Locate your existing AI Foundry resource
68+
69+
Most AI Foundry users will already have an 'AI Foundry' (formerly called 'AI Services') resource, which was previously created alongside your hub-based project to access model deployments.
70+
71+
> [!NOTE]
72+
> If you don't have an existing AI Foundry resource, most common because your hub was using Azure OpenAI for accessing model deployments, you must [create a new AI Foundry resource first](doc). You may [connect](doc) your existing Azure OpenAI resource for continued access to existing model deployments. Additional configuration steps apply for use with Agent service, see [below](#link-to-bicep-section) and [Agent standard setup](link).
73+
74+
# [Azure AI Foundry portal](#tab/azure-ai-foundry)
75+
76+
Starting with your hub-based project, locate your existing AI Foundry resource:
77+
78+
- Navigate to 'management center' > hub 'connected resources'.
79+
80+
- Find the 'AI Foundry' connection, and follow the link to view its details.
81+
82+
:::image type="content" source="../media/migrate-project/find-resource.png" alt-text="Screenshot of AI Foundry connection details.":::
83+
84+
- Follow the link in the connection details to switch to your Foundry resource in management center.
85+
86+
:::image type="content" source="../media/migrate-project/resource-details.png" alt-text="Screenshot of Foundry resource in management center.":::
87+
88+
# [Azure portal](#tab/azure)
89+
90+
- From your Foundry deployment resource group, locate your resource with 'Azure AI Foundry' resource type. Note that previously this was shown as 'AI Services'.
91+
92+
:::image type="content" source="../media/migrate-project/resource-azure-portal.png" alt-text="Screenshot of Azure AI Foundry resource in Azure Portal.":::
93+
94+
- Follow its link to open its resource overview page.
95+
96+
# [Bicep](#tab/bicep)
97+
98+
- If you use infrastructure-as-code templates such as Bicep (or Azure Resource Manager template, or Terraform), your template will typically contain multiple Azure resources.
99+
100+
- Locate the resource of the *type CognitiveServices/account/kind=AIServices*. This is your 'AI Foundry resource', as it's displayed in Foundry Portal or Azure Portal.
101+
102+
## 2. Create a project to build with agents
103+
104+
New capabilities, including Agent service, are only accessible via projects, which organize your development work as a folder for each use case. You can create multiple of them, to organize the work for use cases with similar setup and connectivity requirements.
105+
106+
# [Azure AI Foundry portal](#tab/azure-ai-foundry)
107+
108+
- Picking up from management center overview, create a project.
109+
110+
:::image type="content" source="../media/migrate-project/create-project.png" alt-text="Screenshot of creating a project in management center.":::
111+
112+
- Post-creation, follow its link, and return to resource build view 'go to project'.
113+
114+
- Alternatively, if you started in the regular resource view, under the `Agents` tab, you'll be automatically prompted to create a new Foundry project.
115+
116+
:::image type="content" source="../media/migrate-project/create-from-agent.png" alt-text="Screenshot of Agents tab prompting to create a new Foundry project.":::
117+
118+
# [Azure portal](#tab/azure)
119+
120+
- Navigate to 'projects' in the left side nav and add your first project.
121+
122+
:::image type="content" source="../media/migrate-project/new-project-azure-portal.png" alt-text="Screenshot of projects navigation in Azure Portal.":::
123+
124+
# [Bicep](#tab/bicep)
125+
126+
- In your template, a project is declared as a child resource under your Foundry resource as shown in [this example](https://github.com/azure-ai-foundry/foundry-samples/tree/main/samples/microsoft/infrastructure-setup/42-basic-agent-setup-with-customization).
127+
128+
- By default, in the basic configuration, Agent service uses deployments and storage capabilities that come with your AI Foundry resource.
129+
130+
- Optionally, Agent service supports the ability to use existing Azure OpenAI resources for model deployments, and to bring your own storage resources for storing threads, messages and files. This is also referred as 'Standard' setup. See [this example](https://github.com/azure-ai-foundry/foundry-samples/tree/main/samples/microsoft/infrastructure-setup/43-standard-agent-setup-with-customization) for reference Bicep templates.
131+
132+
---
133+
134+
You are now ready to start building agents in general availability and with the latest capabilities. [Get started](/azure/ai-foundry/agents/quickstart?pivots=ai-foundry-portal) using SDK or Agent playground.
135+
136+
:::image type="content" source="../media/migrate-project/agent-playground.png" alt-text="Screenshot of agent building interface.":::
137+
138+
## 3. (Optional) Recreate connections
139+
140+
If using hub-based projects, you relied on connections to access tools, data sources or models, you can recreate those on your Foundry resource. Hub resource is no longer required to manage connections.
141+
142+
- **AI Foundry Portal**
143+
Navigate to 'management center' to [add any connections](/azure/ai-foundry/how-to/connections-add?pivots=fdp-project) to tools and data you used before in your hub-based project.
144+
145+
- **Bicep templates**
146+
147+
If you prefer using Bicep templates, see [this repository with examples](https://github.com/azure-ai-foundry/foundry-samples/tree/main/samples/microsoft/infrastructure-setup/01-connections).
148+
149+
Note that connections are now defined as instances of type *CognitiveServices/account/connections,* and *CognitiveServices/account/project/connections.* Choose account-level connections for shared access across projects.
150+
151+
## 4. (Optional) Migrate code agents
152+
153+
Any code agents build using the preview of Agent service, require the following upgrades as you move to Agent service in general availability on Foundry projects:
154+
155+
1. Install the [latest version](/azure/ai-foundry/agents/quickstart?pivots=programming-language-python-azure) of your preferred SDK client.
156+
157+
1. Update your project client, from connecting string to Foundry API project. For example, in Pyton:
158+
159+
```python
160+
from azure.identity import DefaultAzureCredential
161+
from azure.ai.projects import AIProjectClient
162+
163+
project = AIProjectClient(
164+
endpoint="your_project_endpoint", # Replace with your endpoint
165+
credential=DefaultAzureCredential())
166+
```
167+
168+
1. Update your script to reflect any class structure changes between the preview and stable SDK packages.
169+
170+
See the [SDK migration guide](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/ai/azure-ai-projects/AGENTS_MIGRATION_GUIDE.md) on how to update your existing code.
171+
172+
## 5. (Optional) Clean up hub-based projects
173+
174+
If you no longer require access to your hub-based projects, you may delete them from your Azure subscription.
175+
176+
Reasons to keep hubs and hub-based projects around in your subscription include:
177+
178+
- Access to select features that are not supported yet in Foundry projects, see [this support matrix](/azure/ai-foundry/what-is-azure-ai-foundry#which-type-of-project-do-i-need).
179+
180+
- Use cases that are focused on custom machine learning model training. Hub-based projects as built on Azure ML stack and continue to be accessible via Azure ML Studio/CLI/SDK.
181+
182+
# [Azure AI Foundry portal](#tab/azure-ai-foundry)
183+
184+
- Navigate to management center from a hub-based project.
185+
186+
- Navigate to 'hub' -> overview in left side nav.
187+
188+
- Delete any projects you no longer want to keep.
189+
190+
- Delete your hub.
191+
192+
# [Azure portal](#tab/azure)
193+
194+
- In your resource group, locate your 'AI Hub' resource.
195+
196+
- Azure Portal deletion flow will guide into its deletion and its associated projects.
197+
198+
# [Bicep](#tab/bicep)
199+
200+
- Keep *CognitiveServices/account/kind=AIServices* resource type. This is your Foundry resource.
201+
202+
- Remove *Microsoft.MachineLearningServices/workspace/kind=project* and *Microsoft.MachineLearningServices/workspace/kind=hub* from your template definition.
203+
204+
- Use alternative methods for resource deletion, since this is not supported via Bicep.
205+
206+
## Learn more
207+
208+
- [Azure AI Foundry rollout across my organization](/azure/ai-foundry/concepts/planning)
209+
210+
- [Sample Bicep templates](https://github.com/azure-ai-foundry/foundry-samples/tree/main/samples/microsoft/infrastructure-setup/01-connections)
211+
212+
- [Sample Terraform templates](https://github.com/azure-ai-foundry/foundry-samples/tree/main/samples/microsoft/infrastructure-setup-terraform)
213+
214+
- [SDK Migration guide](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/ai/azure-ai-projects/AGENTS_MIGRATION_GUIDE.md)
180 KB
Loading
545 KB
Loading
49.3 KB
Loading
59.5 KB
Loading
127 KB
Loading
213 KB
Loading
42.6 KB
Loading
49.2 KB
Loading

0 commit comments

Comments
 (0)