Share via

Azure Firewall Container Apps

Phillip S. Stenger Jr 65 Reputation points
2025-09-15T12:40:43.1333333+00:00

I am trying to enable Azure Firewall on a Container Apps Environment. I have set up the UDR and created Allow rules as documented here: https://learn.microsoft.com/en-us/azure/container-apps/use-azure-firewall

However I am noticing requests being blocked still to the following addresses: acs-mirror.azureedge.net, management.azure.com, gsm1776064220eh.servicebus.windows.net, and packages.aks.azure.com.

None of these are present in the documentation for what needs to be enabled in the above article. However I found all but the servicebus FQDN listed for AKS. Is there a reason they are not listed for Container Apps as well? I have not figured out where the servicebus request is coming from. The only application in the environment is a GitHub runner which from what I can find shouldn't be requesting to servicebus, but I'm not positive.

Azure Container Apps
Azure Container Apps

An Azure service that provides a general-purpose, serverless container platform.


Answer accepted by question author

Alex Burlachenko 22,120 Reputation points MVP Volunteer Moderator
2025-09-15T13:54:00.92+00:00

oh Phillip, this is a classic azure firewall gotcha. you followed the docs to the letter, but then real world traffic throws a bunch of new FQDNs at you that are not in the guide.

you are absolutely right. the documentation for container apps and azure firewall is not fully comprehensive. those FQDNs you discovered are critical for the underlying container apps infrastructure to function, especially for image pulling and management operations. it is a documentation gap that they are not explicitly listed.

for your microsoft azure solution, you need to add application rules in your azure firewall to allow outbound traffic to these newly discovered FQDNs. based on your list, you will need to create rules for.

acs-mirror.azureedge.net - this is for container image pulls.

management.azure.com - this is for control plane communication.

*.servicebus.windows.net - use a wildcard for servicebus. this is used for internal messaging and logging.

packages.aks.azure.com - this is for core kubernetes components.

the reason you see these for aks and not container apps is because container apps is built on aks. it uses the same underlying plumbing, so it needs the same endpoints https://learn.microsoft.com/azure/aks/limit-egress-traffic

the servicebus call is likely coming from the container apps runtime itself, not your github runner. the platform uses it for internal coordination. adding a wildcard rule for *.servicebus.windows.net should resolve that block.

when building firewall rules for a new azure service, enable logging and set a wide allow rule initially. watch the logs for a few days to see all the FQDNs that are being hit. then, build your specific deny rules based on that real traffic. it is a more reliable way to find all the required endpoints.

use fully qualified domain name (fqdn) tags in your firewall rules when available. for example, there is an 'azurekuberneteservice' tag that bundles many of the necessary aks endpoints. check if there is a similar tag for container apps.

Best regards,

Alex

and "yes" if you would follow me at Q&A - personaly thx.
P.S. If my answer help to you, please Accept my answer

https://ctrlaltdel.blog/

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful

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.