Azure-docs: How do I find the output IPs for a Function App

Created on 16 Jul 2018  Â·  4Comments  Â·  Source: MicrosoftDocs/azure-docs

The instructions for finding outbound IPs on this page are only applicable for Web apps. How do I find the outbound IPs for a Function App?


Document details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

app-service-wesvc assigned-to-author product-question triaged

Most helpful comment

@PrimalScottSmith Coincidentally I'm working on a new Azure Functions article that includes that information. Here it is:

  • In the Azure Resource Explorer:

    1. Select subscriptions > {your subscription} > providers > Microsoft.Web > sites.
    2. In the JSON panel, find the site with an id property that ends in the name of your function app.
    3. See outboundIpAddresses and possibleOutboundIpAddresses.
  • In the Cloud Shell:

    az webapp show --resource-group <group_name> --name <app_name> --query outboundIpAddresses --output tsv
    az webapp show --resource-group <group_name> --name <app_name> --query possibleOutboundIpAddresses --output tsv
    

Possible outbound addresses includes IP addresses that will be used only if the function app scales to other App Service plan pricing tiers.

The set of outbound IP addresses for a function app changes when you scale the app between the lower tiers (Basic, Standard, and Premium) and the Premium V2 tier. The list of all possible outbound IP addresses your app can use, for all pricing tiers, is in the possibleOutboundIPAddresses property.

All 4 comments

@PrimalScottSmith Coincidentally I'm working on a new Azure Functions article that includes that information. Here it is:

  • In the Azure Resource Explorer:

    1. Select subscriptions > {your subscription} > providers > Microsoft.Web > sites.
    2. In the JSON panel, find the site with an id property that ends in the name of your function app.
    3. See outboundIpAddresses and possibleOutboundIpAddresses.
  • In the Cloud Shell:

    az webapp show --resource-group <group_name> --name <app_name> --query outboundIpAddresses --output tsv
    az webapp show --resource-group <group_name> --name <app_name> --query possibleOutboundIpAddresses --output tsv
    

Possible outbound addresses includes IP addresses that will be used only if the function app scales to other App Service plan pricing tiers.

The set of outbound IP addresses for a function app changes when you scale the app between the lower tiers (Basic, Standard, and Premium) and the Premium V2 tier. The list of all possible outbound IP addresses your app can use, for all pricing tiers, is in the possibleOutboundIPAddresses property.

Thanks.

I guess that the possible outbound addresses explanation also applies for Web apps, right?

Yes, and the article for web apps is here: https://docs.microsoft.com/en-us/azure/app-service/app-service-ip-addresses#find-outbound-ips

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Favna picture Favna  Â·  3Comments

spottedmahn picture spottedmahn  Â·  3Comments

mrdfuse picture mrdfuse  Â·  3Comments

varma31 picture varma31  Â·  3Comments

paulmarshall picture paulmarshall  Â·  3Comments