Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
Hi thanks for the question
The inbound IP for a regular app service is fixed (see here) although there are cases it can change (see here)
So a simple nslookup as per the link above for the default name for your web app (e.g. [myapp].azurewebsites.net) should be enough
If you want a static ip you can add an IPSSL binding (see here)
So you need a script that iterates subscriptions
for each subscription then the resources
for the resource which is type web app then you can use the cmd almost as you noted, for example
Get-AzWebApp -ResourceGroupName "demo" -Name "demo-webapp" | select EnabledHostNames
As a default (without custom names) that would return the default host name and the default kudu (SCM) host name, both these default names should have the same VIP
You could add a filter to grab just the "azurewebsites.net" name to test