> ## Documentation Index
> Fetch the complete documentation index at: https://www.truefoundry.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Migrate to Microsoft Foundry

> Move an Azure OpenAI or Azure AI Foundry account to the Microsoft Foundry integration in TrueFoundry.

Microsoft Foundry replaces the Azure OpenAI and Azure AI Foundry integrations. It is generally available in **TrueFoundry v0.175.0**. Migrating keeps the provider account and moves it onto the Microsoft Foundry integration, so you do not create a second account and re-add every deployment by hand.

## Hub and hub-based resources

A hub or hub-based project cannot be migrated. The Microsoft Foundry integration does not support these resources.

## Azure AI Foundry resources

This path is for an Azure AI Foundry account whose Azure resource is a Foundry resource, not a hub.

<Steps>
  <Step title="Open the account overview">
    In the Azure Portal, open the list of resources and click on the resource of type **Foundry**. Then, click on **Overview**.

    <Frame caption="Select the resource">
      <img src="https://mintcdn.com/truefoundry/azJhJKx5fXUK5Alg/images/docs/ai-gateway/see-all-resources-azure.png?fit=max&auto=format&n=azJhJKx5fXUK5Alg&q=85&s=2023026d9d3fa8bfd807155e2d370742" alt="Selecting the right resource in the Azure Portal" width="1878" height="728" data-path="images/docs/ai-gateway/see-all-resources-azure.png" />
    </Frame>
  </Step>

  <Step title="Turn on new Foundry">
    Turn on the **new Foundry** toggle on the top panel of the screen.
  </Step>

  <Step title="Add a project name">
    Enter a project name if you want one. This step is optional.

    <Frame caption="Creating project from existing Foundry resource">
      <img src="https://mintcdn.com/truefoundry/ZzHbA6zErxKhouTq/images/docs/ai-gateway/create-project-popup.png?fit=max&auto=format&n=ZzHbA6zErxKhouTq&q=85&s=5e569ba45f9f1cdd5492b81bb812cf55" alt="Creating project from existing Foundry resource" width="1181" height="477" data-path="images/docs/ai-gateway/create-project-popup.png" />
    </Frame>
  </Step>

  <Step title="Create">
    Click on **Create**. It is now a project usable on the Microsoft Foundry provider account.
  </Step>
</Steps>

After the migration, authentication is configured once on the provider account. See [Set up Microsoft Foundry](/docs/ai-gateway/microsoft-foundry) for the OpenAI endpoint, the project endpoint, and deployment discovery.

## Azure OpenAI resources

<Steps>
  <Step title="Open the account overview">
    In the Azure Portal, open the list of resources and click on the resource of type **Azure OpenAI**. Then, click on the option to open it in the Azure OpenAI portal.

    <Frame caption="Select the resource">
      <img src="https://mintcdn.com/truefoundry/azJhJKx5fXUK5Alg/images/docs/ai-gateway/see-all-resources-azure.png?fit=max&auto=format&n=azJhJKx5fXUK5Alg&q=85&s=2023026d9d3fa8bfd807155e2d370742" alt="Selecting the right resource in the Azure Portal" width="1878" height="728" data-path="images/docs/ai-gateway/see-all-resources-azure.png" />
    </Frame>
  </Step>

  <Step title="Start the upgrade">
    Click on **Home**, and then click **Get Started** in the banner at the top of the page.

    <Frame caption="Click on Get Started">
      <img src="https://mintcdn.com/truefoundry/ZzHbA6zErxKhouTq/images/docs/ai-gateway/Azure-openai-banner.png?fit=max&auto=format&n=ZzHbA6zErxKhouTq&q=85&s=2e060f18794e12641d47edd359f6e2f5" alt="Click on Get Started" width="1878" height="544" data-path="images/docs/ai-gateway/Azure-openai-banner.png" />
    </Frame>
  </Step>

  <Step title="Follow the steps">
    Complete the steps in the upgrade flow. When it finishes, the account is a Microsoft Foundry account.
  </Step>
</Steps>

Requests keep using the same Gateway model IDs. Add the project endpoint on the account if you want deployment discovery or non-OpenAI models such as Claude. See [Set up Microsoft Foundry](/docs/ai-gateway/microsoft-foundry).
