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.
If you've ever needed to debug a Microsoft Entra (Azure AD) authentication flow, you'll know…
It’s 2026 and somehow I keep finding myself back in 2016, integrating heritage applications into…
I’ve just published an MCP server that turns Merill & Joshua’s weekly Entra News newsletter…
If you've ever worked with the ECMA2Host for Entra Outbound Provisioning you'll be immediately presented…
For over a decade, the Granfeldt PowerShell Management Agent (PSMA) has been the bedrock for…
Recently under the experimental Azure Functions build Microsoft Developer Advocates have shown enabling Azure Functions…
This website uses cookies.