This Azure article will discuss how to delete a public IP address from VM in Azure.
Table of Contents
How to remove Public IP from Azure VM
We will discuss How to dissociate public IP in Azure VM or delete public IP in Azure virtual machine by following the steps below.
1. Login to https://portal.azure.com/
2. Search for Virtual machines there.

You will see the list of VM created in your Azure subscription. It will show the VM name, Type, Status, ResourceGroup, Location, etc.

4. Now click on the virtual machine it will open the Overview tab. Click on the Public IP address.

5. Click the Dissociate or Delete buttons from the Public IP address page, then select Yes for confirmation.

How to remove Public IP from Azure VM using PowerShell
We will discuss how to dissociate or delete public IP in Azure VM using PowerShell, following the steps below.
1. Sign in to Azure with Connect-AzAccount
PS C:\windows\system32> Connect-AzAccount2. Execute the below cmdlet, then
$mynic = Get-AzNetworkInterface -Name MyNewAZVMNic -ResourceGroup newresgroup
$mynic.IpConfigurations.publicipaddress.id = $null
Set-AzNetworkInterface -NetworkInterface $mynic
You may also like the following the below articles
Conclusion
In this Azure article, we discussed how to delete a public IP address from VM in Azure.

I am Rajkishore, and I am a Microsoft Certified IT Consultant. I have over 14 years of experience in Microsoft Azure and AWS, with good experience in Azure Functions, Storage, Virtual Machines, Logic Apps, PowerShell Commands, CLI Commands, Machine Learning, AI, Azure Cognitive Services, DevOps, etc. Not only that, I do have good real-time experience in designing and developing cloud-native data integrations on Azure or AWS, etc. I hope you will learn from these practical Azure tutorials. Read more.
