Search This Blog

Monday, October 12, 2015

Remove Internal Load Balancer in Azure By Using Powershell

Today we just encountered a problem when creating Internal Load Balancer during our Azure deployment. The deployment failed. Well, the weird part is the load balancer still exist and prevent us from creating a new Internal load balancer.

Here is our summary of our scenario that we tried to build.

  • Create Public Load Balancer – for  ADFS Proxy
  • Create Internal Load Balancer – for ADFS

NLB

On Azure portal, there are no option to delete it. So our best way is using Azure Powershell. We execute below command to cleanup

Remove-AzureInternalLoadBalancer –ServiceName (Cloud Services name)

RemoveLB
 

Lucky enough that we can remove it without any error and we can proceed to create internal and public load balancer.