The Wayback Machine - https://web.archive.org/web/20241001015609/https://www.geeksforgeeks.org/microsoft-azure-find-and-delete-orphaned-public-ip-addresses-in-azure-portal/
Open In App

Microsoft Azure – Find and Delete Orphaned Public IP addresses in Azure Portal

Last Updated : 31 Mar, 2023
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Finding and Deleting un-used Public IP addresses will be a cost optimization solution. By deleting un-used/un-associated/unattached Public IP addresses helps in saving the cost.

In this article, we will look into the process of finding and Finding, and Deleting un-used Public IP addresses in the Azure portal.

Implementation:

Follow the below steps to Find and Delete Orphaned Public IP addresses in Azure Portal

Step 1: Log in to Azure Portal.

Step 2: Search for Public IP addresses and select

Step 3: Now, from filters >> click on +Add filter option and select the following

  1. Filter: Select “Associated to” from the drop-down.
  2. Operator : Select “==” from the drop-down.
  3. Value: Select “-” from the dropdown. If you don’t find “-” then your selected subscriptions/resource groups do not have any un-associated/unattached Public IP addresses.
  • Then, Click on Apply

Note: (Value “-” represents that those IP’s were not attached/associated)

  • Refer to the below Screenshot:

  • After clicking on Apply the following filter option looks like the following: 

Step 4: After filtering, you will be getting the list of un-associated/unattached Public IP addresses. From that, you can choose all or select to delete.

  • First, select the Public IP from which you want to delete.
  • Pre-Check before deleting the IP. From the image, you can see that Dissociate was disabled (This represents that, selected IP is not attached to any of the resources). So, you are good to delete the Public IP.

  • Another Pre-check: From Essentials, you can check Associated value.
  • If Associated to: –, then you are good to delete the select Public IP. (Refer to below Screenshot)

Step 5: After verifying the pre-checks you can click on “Delete” >> click on “Yes” to proceed

Step 6:  Once done, you can verify the deletion by clicking on the Notification button.

That’s it you are done.


Previous Article
Next Article

Similar Reads

Microsoft Azure - Delete Orphaned Disks using PowerShell Script
In this article, we will use an Azure PowerShell Module Script that finds all the unattached or orphaned azure managed disks in azure and delete them. PowerShell Script to Delete Orphaned Disks in Azure: The below Power Shell Script will find all the orphaned azure managed disks and will delete all the orphaned managed disks one after the other in
2 min read
Microsoft Azure - Find Orphaned Disks
In this article, you will see that how to find the unattached disks also known as orphaned disks in Azure. The main objective or purpose of deleting the orphaned resources is to save the cost of unused resources. When you delete a VM in Azure, the disks will not be deleted automatically and they will be left as orphaned disks. Implementation: Follo
2 min read
Microsoft Azure - Find Orphaned Network Interface Cards(NICs)
In this article, you will see that how to find the unattached NICs also known as Azure Orphaned NICs. The main objective or purpose of deleting the orphaned resources is to save the cost. When you delete a VM in Azure, the NIC attached to the VMs will only be disassociated but it will not be deleted automatically and they will be left as Orphaned N
2 min read
Microsoft Azure - Handling Orphaned NSGs
In this article, you will see that how to find the un-used NSGs, and these are also known as orphaned NSGs in Azure. The main objective or purpose of deleting the orphaned NSGs resources is to save the cost for customers. When you delete a VM in Azure, the NSGs resource will not be deleted automatically and they will be left as orphaned NSGs. Imple
2 min read
Microsoft Azure - Create Pie Charts For Orphaned Resources using KQL
Workbooks allow monitoring data to be presented as charts. It supports charts for both logs and metric data sources. Orphaned resources are those resources that are not handled when an associate VM is deleted. To learn more about querying Azure resources using KQL, take a look at this article. In this article, we will look into the process of repre
2 min read
Microsoft Azure - Get CPU Utilization Data of a Azure VM in Azure Portal
Azure Virtual Machines (VM) is one of several types of on-demand, scalable computing resources that Azure offers. In this article, we will look into the process of getting the CPU Utilization data of an Azure VM in Azure Portal. Implementation: Follow the steps to get the CPU Utilization of an Azure VM in Azure Portal: Step 1: Log in to your Azure
2 min read
Microsoft Azure -Create a User in Microsoft Entra ID from Azure Portal
A user in Microsoft Entra ID is an individual who can get access to Azure identity. This Microsoft Entra ID identity can be used to access applications and resources that are protected within the organization or project. Users can be created manually or automatically, and they can be assigned to groups and roles to control their access permissions.
3 min read
Microsoft Azure - Get Unused App Service Plans and Resource Groups in Azure Portal
Pre-requisite: AZURE In this article, we will be using the resource graph query to find the unused Azure App Service Plans and unused Azure Resource Groups. For this will be using the Resource Graph Explorer which is an Azure native tool that can be accessed from Azure Portal with ease. To run the KQL resource graph query one should have the minimu
3 min read
Microsoft Azure - Add CanNotDelete Lock on Azure Resource Group via Portal
Pre-requisite:- Azure CanNotDelete Lock on Azure is a kind of Lock Protection against accidental deletion and modification. It allows only authorized users to delete or modify this CanNotDelete Lock on the resource group. Adding CanNotDelete Lock on Azure Resource Group via Portal is super simple. In this article, we will show you how to add a CanN
2 min read
Microsoft Azure - Productivity Tips For Azure portal
Microsoft Azure is the cloud computing platform. It provides lots of cloud computing solutions. Azure Portal is a single powerful management tool or a graphical user interface that lets you access and manage all your applications, services in one place Azure portal is a single easy-to-use console built just for you, your team, and your projects. Mi
4 min read
Microsoft Azure - Using Cost Management in Azure Portal
In this article we will learn how to use cost management to understand your spending in the cloud, so you can do more with less. Cost management is available from any subscription or resource group within the portal. Since starting on the Azure home, the first thing that you want to do is click on the scope pill so that you can verify that you are
2 min read
Microsoft Azure - Create App Services in Azure Portal
In this article, we will learn about the new and improved experience for creating App Services. Azure App Service lets you create apps faster with a one-of-a-kind cloud service to quickly and easily create enterprise-ready web and mobile apps for any platform or device and deploy them on a scalable and reliable cloud infrastructure. Implementation:
5 min read
Design Azure Logic App Template From Azure Portal
Pre-requisite: Azure This article will show you how to create an Azure Logic App ARM Template for automation from Azure Portal in simple, easy steps. You can follow this process to automate azure logic app provisioning using a template in azure. The main purpose of this is to create a reusable JSON template and to make use of this in azure pipeline
2 min read
Microsoft Azure - Quick Copy & Paste on Portal
In this article, you will learn how to maximize, print, or copy the title of any screen in the portal. Implementation: We will learn this from a workbook perspective. For that go through resource group. In that resource group, you have a single resource, your workbook. Now, select to visualize that workbook. If your workbook doesn’t fit exactly on
2 min read
Microsoft Azure - Pills to Filter the Portal
In this article, we will learn how to use filters in the Azure Portal. In which we will primarily explore the concept of pills and how to use them in filtering. In Azure all resources view. You can see, the filters are here in blue. This is an updated styling as well. So, this is the new experience where you get a dialog, you’ll get an info balloon
2 min read
Microsoft Azure - Pinning to Portal Dashboard
In the given article we will learn about the improvements on how to pin content to an Azure portal dashboard. The article demonstrates how you can pin content across the portal that is meaningful to you all into one place on an Azure dashboard of your choice. So, suppose on the portal, you are just browsing around and you come across something that
3 min read
Microsoft Azure - Get Azure VM Properties using Azure PowerShell
The purpose of using the Azure PowerShell Commands is to quickly analyze the overall properties of VM/VMs at once the filtering the with select and where conditions. To find the properties of an Azure VM, you can perform the following commands in Azure Cloud Shell to get the details. Command: Get-AzVM Output: 1. Get all properties of an Azure Virtu
2 min read
Microsoft Azure - RDP to Azure Virtual Machines using Azure Bastion
In this article, we will learn how to do RDP(Remote Desktop Protocol) / SSH(Secure Shell) Connection to an Azure VM using Azure Bastion. First, let's discuss Azure Bastion. The Azure Bastion service is a fully platform-managed PaaS service that you provision inside your virtual network. It provides secure and seamless RDP/SSH connectivity to your v
3 min read
Microsoft Azure - Configure Azure SQL with Azure CLI
In this article, we're going to take a closer look at how you can configure something like connectivity using the Azure CLI. What we have here is we are in Azure Data Studio and similar to the SQL notebook we are actually using a PowerShell notebook. That just means all our code cells are going to run PowerShell and we are just connecting to localh
4 min read
Microsoft Azure - Archive Azure VM to Azure Storage Account
In this article, we will be implementing a solution to archive a select azure VM snapshot to a select storage account for archiving using azure cloud shell. For implementation, we will be using Azure CLI commands. Prerequisite:VM SnapshotA storage account is neededUser needs "Storage Blob Contributor Data" IAM Role Access on Archiving Storage Accou
2 min read
Microsoft Azure - Check Status of Azure VM using Azure PowerShell
The following Azure PowerShell command helps you to find the Azure VM Config and properties details of Os Name, Os Version, Hyper V Generation, Disks properties, Extensions properties of Type Handler Version, Status and Message, VM Agents properties of Type Handler Version, Status and Message and also VM Power Status Codes, Messages, Plugins, Time
3 min read
Microsoft Azure - Azure VM Disk Space in Percentage using Azure KQL
Here we'll be using the Azure Insights Metric Query to find the free disk space in percentage using KQL. The purpose of this query is to find disk drive free space of all the Azure VMs without logging into every server. You can Run the following KQL log Queries in Azure Monitor or Azure VM Logs or Log Analytics Workspace. Note: VM Insights Agent sh
1 min read
Microsoft Azure - Enable Azure Monitor VM Insights Agent For Azure VM
Azure Monitor VM Insights Agent enables you to get more visibility into the health and performance of your Azure VM. Here we'll see how we can enable Azure Monitor VM Insights to monitor the health, performance, and dependencies of azure virtual machines. Implementation: Follow the below steps to enable Azure Monitor VM insights agents for an Azure
2 min read
Microsoft Azure - Azure CLI Commands to Manage Azure VMs
Azure Command-line interface is used to manage or to create Azure resources. By using the simple AZ CLI command we can manage Azure VM quickly and at a Scale. Let's get started by using a few important Azure CLI commands to manage Azure Virtual Machines. 1. Start a Specific Stopped VM in a Select Resource Group Use the below command to start a spec
2 min read
Microsoft Azure - Manage Azure VMs using Azure PowerShell Commands
Here we are using Azure PS Commands to manage azure resources from Azure Cloud Shell or by using Windows PowerShell. By using the simple AZ PS command we can manage Azure VM Quicks without any efforts of navigating in Azure Portal and at Scale. Let's get started by using the major Azure PS commands to manage Azure Virtual Machine. 1. Start a Specif
2 min read
Microsoft Azure - Query Azure Storage Logs in Azure Monitor Log Analytics
Pre-requisite:- Azure Log Analytics is a tool offered by Azure, which is used to edit and run log queries against data in the Azure Monitor Logs store and helps interactively analyze their results. One can easily use Log Analytics queries to retrieve records that match particular criteria, identify trends, analyze patterns, and provide various insi
5 min read
Microsoft Azure - Install Azure Command Line Interface (Azure CLI)
Azure CLI is a very powerful tool that can be used to automate tasks, create, update, manage or delete azure resources or to troubleshoot problems with az module cmdlets. By installing az modules on your system or on your development system you and your development team can easily create, update or manage Azure AD and Azure resources such as manage
4 min read
Microsoft Azure- Backing Up, Restoring, and Cloning Microsoft Azure App Services
Microsoft is well known for developing relevant software which are using in today's time of technology to conquer the demand of users and developers to build up applications. In sequence of it Microsoft introduces Azure well known as Microsoft Azure to make quality applications. In this article, we will discuss Backing up, restoring and cloning Mic
8 min read
Microsoft Azure- Disk Storage in Microsoft Azure
Azure Disk Storage is the only shared cloud block storage that supports both Windows and Linux-based clustered or high-availability applications via Azure shared disks. There are two types of Disks in Azure : Managed Disks Unmanaged Disks.Managed DisksSimplest optionLower management overhead as Azure manages the storage accounts.Only LRS replicatio
6 min read
Microsoft Azure - Find AD Graph Applications in Azure AD Tenant?
Azure AD Graph is a compliant service that can be used to read and modify azure tenant objects such as users, groups, contacts, and other additional information. In this article, we will be using the PowerShell script to find all the azure AD Graph-related apps in Azure AD Tenant. This PowerShell script will return all the azure applications and az
5 min read