I have an azure web app that has 2 slots (one for production and one for staging). My web app calls an external web service that is protected via IP filtering. When I'm in production, I call the external web service for production and when I'm in staging I call the external web service for staging.
Because I switch from staging to production my 2 outbound IP adresses change regularly. So the external web service cannot protect independently staging and production.
Can the App Service Environnement can help me? Or another Azure service?
Thanks.
It seems, you're out of luck here. According to Microsoft Azure documentation:
So, no reserved IPs for Azure App Services, but only for VMs and Cloud Services.
But there might be some solutions possible: