- Configure automatic model updates.
- View and update a deployment’s version upgrade policy.
- Update a deployed model version by using the Azure Resource Manager API.
- Migrate provisioned deployments to a different model version or family.
Prerequisites
- An Azure subscription with an Azure OpenAI models.
Model updates
Azure OpenAI supports automatic updates for select model deployments. On models where automatic update support is available, a model version upgrade policy drop-down is available. You can learn more about Azure OpenAI model versions and how they work in the Azure OpenAI model versions article.Automatic model updates are only supported for Standard deployment types. For more information on how to manage model updates and migrations on provisioned deployment types, refer to the section on managing models on provisioned deployment types
Auto update to default
When you set your deployment to Auto-update to default, your model deployment is automatically updated within two weeks of a change in the default version. For a preview version, it updates automatically when a new preview version is available starting two weeks after the new preview version is released. If you’re still in the early testing phases for inference models, we recommend deploying models with auto-update to default set whenever it’s available.Specific model version
As your use of Azure OpenAI evolves, and you start to build and integrate with applications you might want to manually control model updates. You can first test and validate that your application behavior is consistent for your use case before upgrading. When you select a specific model version for a deployment, this version remains selected until you either choose to manually update yourself, or once you reach the retirement date for the model. When the retirement date is reached the model will automatically upgrade to the default version at the time of retirement.Model deployment upgrade configuration
You can check what model upgrade options are set for previously deployed models using REST, Azure CLI, and Azure PowerShell, as well as with the Foundry portal. The corresponding property can also be accessed via REST, Azure PowerShell, and Azure CLI.
There are three distinct model deployment upgrade options:
null is equivalent to OnceCurrentVersionExpired. If the Version update policy option isn’t present in the properties for a model that supports model upgrades this indicates the value is currently null. Once you explicitly modify this value, the property is visible in the studio properties page as well as via the REST API.Examples
- PowerShell
- REST
Review the Azure PowerShell getting started guide to install Azure PowerShell locally or you can use the Azure Cloud Shell.The steps below demonstrate checking the
VersionUpgradeOption option property as well as updating it:Update & deploy models via the API
Supported versions
2025-06-01Swagger spec
Example request
There are multiple ways to generate an authorization token. The easiest method for initial testing is to launch the Cloud Shell from the Azure portal. Then run
az account get-access-token. You can use this token as your temporary authorization token for API testing.Example response
Managing models on provisioned deployment types
Provisioned deployments support distinct model management practices. Provisioned deployment model management practices are intended to give you the greatest control over when and how you migrate between model versions and model families. Currently, there are two approaches available to manage models on provisioned deployments: (1) in-place migrations and (2) multi-deployment migrations.Prerequisites
- Validate that the target model version or model family is supported for your existing deployment type. Migrations can only occur between provisioned deployments of the same deployment type. For more information on deployment types, review the deployment type documentation.
- Validate capacity availability for your target model version or model family prior to attempting a migration. For more information on determining capacity availability, review the capacity transparency documentation.
- For multi-deployment migrations, validate that you have sufficient quota to support multiple deployments simultaneously. For more information on how to validate quota for each provisioned deployment type, review the provisioned throughput cost documentation.
In-place migrations for provisioned deployments
In-place migrations allow you to maintain the same provisioned deployment name and size while changing the model version or model family assigned to that deployment. With in-place migrations, Azure OpenAI takes care of migrating any existing traffic between model versions or model families throughout the migration over a 20-30 minute window. Throughout the migration window, your provisioned deployment will display an “updating” provisioned state. You can continue to use your provisioned deployment as you normally would. Once the in-place migration is complete, the provisioned state will be updated to “succeeded”, indicating that all traffic has been migrated over to the target model version or model family.In-place migration: model version update
In-place migrations that target updating an existing provisioned deployment to a new model version within the same model family are supported through Foundry, REST API, and Azure CLI. To perform an in-place migration targeting a model version update within Foundry, select Deployments > under the deployment name column select the deployment name of the provisioned deployment you would like to migrate. Selecting a deployment name opens the Properties for the model deployment. From this view, select the edit button, which will show the Update deployment dialogue box. Select the model version dropdown to set a new model version for the provisioned deployment. As noted, the provisioning state will change to “updating” during the migration and will revert to “succeeded” once the migration is complete.In-place migration: model family change
In-place migrations that target updating an existing provisioned deployment to a new model family are supported through REST API and Azure CLI. To perform an in-place migration targeting a model family change, use the example request below as a guide. In the request, you’ll need to update the model name and model version for the target model you’re migrating to.Example response
There are multiple ways to generate an authorization token. The easiest method for initial testing is to launch the Cloud Shell from the Azure portal. Then run
az account get-access-token. You can use this token as your temporary authorization token for API testing.Multi-deployment migrations for provisioned deployments
Multi-deployment migrations allow you to have greater control over the model migration process. With multi-deployment migrations, you can dictate how quickly you would like to migrate your existing traffic to the target model version or model family on a new provisioned deployment. The process to migrate to a new model version or model family using the multi-deployment migration approach is as follows:- Create a new provisioned deployment. For this new deployment, you can choose to maintain the same provisioned deployment type as your existing deployment or select a new deployment type if desired.
- Transition traffic from the existing provisioned deployment to the newly created provisioned deployment with your target model version or model family until all traffic is offloaded from the original deployment.
- Once traffic is migrated over to the new deployment, validate that there are no inference requests being processed on the previous provisioned deployment by ensuring the Azure OpenAI Requests metric doesn’t show any API calls made within 5-10 minutes of the inference traffic being migrated over to the new deployment. For more information on this metric, see the Monitor Azure OpenAI documentation.
- Once you confirm that no inference calls have been made, delete the original provisioned deployment.
Troubleshooting
You get 401 or 403 responses from the Azure Resource Manager API
- Confirm your access token is valid and unexpired.
- Confirm you have permission to read and update deployments for the resource.