As announced quite some time ago, Microsoft is retiring the public IP address Basic SKU on March 2025.
To prepare for this retirement, you need to upgrade any Basic public IP to the Standard SKU (see Public IP addresses in Azure – Azure Virtual Network | Microsoft Learn for SKU comparison).
To help you identify if you are still using Basic public IP, you can use the Retirement Workbook available from the Azure portal (Service Retirement (Preview) – Microsoft Azure); NOTE this workbook is not limited to this retirement but for all services planned for retirement
Once you have identified existing Basic public IP, you can upgrade them to the Standard SKU by accessing the public IP and click on the blue banner “Upgrade to Standard SKU – Microsoft recommends Standard SKU public IP address for production workloads” shown on the Overview tab
NOTE you will have to dissociate the public IP before upgrading to Standard SKU
You can also use PowerShell to upgrade all Basic public IP to Standard
- Download and install Azure PowerShell (either from the Gallery Install-Module -Name Az or using the MSI package Releases · Azure/azure-powershell)
- Run the below code to get all public address and set the SKU to Standard if not already
Connect-AzAccount
$publicips = Get-AzPublicIpAddress
ForEach ($publicip in $publicips)
{
$publicipsku = $publicip.Sku.Name
If ($publicipsku -ne ‘Standard’)
{
$publicip.Sku.Name = ‘Standard’
Set-AzPublicIpAddress -PublicIpAddress $publicip
}
}