With the move to PaaS services, we often become reliant on portals for the administration interface to administer them once deployed. I recently had a request to scale down an Azure SQL Managed Instance from Business Critical to General Purpose tier.
The documentation states that this is possible. Along with noting the following exceptions:
The gotcha here though is that you can’t down scale an Azure SQL Managed Instance from Business Critical to General Purpose using the Azure Portal. Searching for the Azure CLI command to perform it results in a number of examples, but all for Azure SQL Server, not an Azure SQL Managed Instance.
After some trial and error, I found the command and was able to execute it. I’m documenting it for the next time I need to do it, but also to help anyone else trying to achieve the same thing.
The following is the Azure CLI command to down scale an Azure SQL Managed Instance. Essentially all you have to do is provide the name of your Azure SQL Managed Instance, the Azure Resource Group that contains it, Storage Size, number of vCores and the edition (GeneralPurpose).
Set-AzSqlInstance -Name "mySQLMI" -ResourceGroupName "RG-myAzureSQLMI" -StorageSizeInGB 256 -VCore 4 -Edition GeneralPurpose
If all you want to do is down scale from Business Critical to General Purpose (i.e. keep the same underlying infrastructure and resource limits), just provide the same values as currently configured. You can get those values by using the following Azure CLI command.
Get-AzSqlInstance -ResourceGroupName "Resource-Group-for-your-AzureSQL-MI" | select -Property VCores, StorageSizeInGB
You can down scale an Azure SQL Managed Instance using the Azure CLI as long as you aren’t using In-Memory OLTP.
Today, I’m super excited to finally announce the Beta release of EntraPulse Lite – a…
I'm excited to share some significant authentication enhancements I've contributed to the Lokka MCP Server…
Last month I had the pleasure of speaking at the Sydney event for Global Azure.…
Model Context Protocol (MCP) is a powerful framework that extends AI clients like Claude and…
I've just completed participating in the Azure AI Developer Hackathon that was looking to provide…
Updated: July 2025 v1.0.2 Fixes issue setting D365SalesGlobals enabling session management for D365 Sales API…
This website uses cookies.