Azure / Azure/azure-cli

functionapp: List possible outbound IPs Command not returning complete list

Open
#14,198 5 comments 0 reactions 0 assignees View on GitHub
act-observability-squad customer-reported Functions Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

az webapp show --resource-group --name --query outboundIpAddresses --output tsv

**About the Bug**
When the previous command is used against a function app, the returned IPs list is incomplete. This issue was encountered while trying to setup an NSG to protect another resource, adding the returned IPs to the allowed list didn't permit outgoing traffic from the Function App to access the network. By instead getting the outbound IPs from the "ifconfig.me" site and adding those, the NSG was able to permit the outgoing Function traffic to enter.

**Steps to Reproduce**
This issue can be reproduced by executing the above command with the proper values populated against a Function App. Then verify the results by using an NSG to block all traffic except the returned IPs.

**Expected behavior**
Command should successfully list ALL the possible outbound IPs.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.