Unable to delete public IP

Admin CDW 21 Reputation points
2022-12-20T17:07:21.713+00:00

Hello,
I am unable to delete a public IP I own because it is linked to an internal Azure resource on a subscription I do not own. This is preventing the deletion of an Azure Kubernetes Services resource. How can I delete this resource ? Is there any way to force detach the public IP without interacting with the resource it is attached to (seeing as I do not have access to it...) ? Thank you for your help.

272542-2022-12-20-17h22-00.png

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
1,211 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,442 questions
0 comments No comments
{count} votes

Accepted answer
  1. Ali AlEnezi 1,081 Reputation points
    2022-12-20T17:12:17+00:00

    Hello,

    Unfortunately, it is not possible to delete a public IP that is attached to a resource without first detaching it from that resource.

    To detach a public IP from a resource, you will need to have access to the resource and be able to modify its settings. If you do not have access to the resource, you will not be able to detach the public IP from it.

    One option you could consider is contacting the owner of the subscription where the resource is located and requesting that they detach the public IP from the resource. If you are unable to do this, you may need to consider alternative solutions, such as creating a new public IP and attaching it to the resource instead of the one you are unable to delete.

    Good luck!

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Admin CDW 21 Reputation points
    2022-12-21T16:40:58.957+00:00

    We managed to delete the resources by deleting every service that could be deleted inside the Azure Kubernetes Service cluster before trying to delete the cluster itself. That way the managed resource group could be deleted and the public IP with it. Thank you for your help!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.