How to assign Azure public static IP address to Azure application gateway alter upgrading Public Ip from basic to standart

Davit Grigoryan 96 Reputation points
2025-01-29T13:34:25.9833333+00:00

I have Azure virtual machine ,which network interface associated with Azure public static IP address ,which have basic SKU.
I need to associate that public IP address with application gateway,which has standart v2 tier, when I will create application gateway.

My steps:

1.I have dissociated IP from network interface
2. upgrade public static IP from basic to standard, because Standart v2 tier App gw doesn't support basic public IP

  1. I want to sign public Ip to app gw ,as a Frontend IP address ,,,but it doesn't allow me to do that ,I'm getting error : This Public IP cannot be associated with this gateway <br/>
    Public IP is not associated with any resource and it has standard sku ,so what is the reason of the issue ,who can help???
Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
{count} votes

Answer accepted by question author
  1. rvinnakota 4,835 Reputation points Moderator
    2025-01-30T14:35:36.6466667+00:00

    Hi @Davit Grigoryan,

    I have done a repro as you said in the comments and was able to associate the Public IP to the Application Gateway.

    Like you mentioned, I'm using the Basic SKU and linking it to the VM.
    User's image

    After disassociating the IP and upgrading to the standard SKU.

    User's image

    User's image

    I successfully associate the IP to application gateway. User's image

    Note: Could you please verify that the Public IP and Application Gateway are in the same region? If not, we can't associate the public IP to the Application Gateway.

    I hope this helps.

    Kindly let us know if the above helps or you need further assistance on this issue.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. VIVEK DWIVEDI 265 Reputation points Microsoft Employee
    2025-01-29T17:26:34.61+00:00

    Hi @Davit Grigoryan ,
    I have done a repro of your requirement and was able to achieve the same.

    1. Were you able to proceed with the deployment and then it failed with the above-mentioned error ? or
    2. while deploying itself you got this message like below.

    User's image

    if second is the case then you will wait unless it is completely detached with the previous resource.

    If first is the case, then verify if the IP is still attached to some resource or you need to open a support case while providing operation id and correlation id which can be found from the activity logs of the Public ip or application gateway.
    Support team will have access to your backend logs and would be helpful if the IP has any stale mapping in the backend or there are any unexpected error.

    I hope this helps.


  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

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