IP security and always on in Azure
I have a continuous WebJob running in an Azure web app that requires me to save the Always On app. In the same application, I configured the web.config file to block unregistered IP addresses with NotFound error:
<security>
<ipSecurity allowUnlisted="false" denyAction="NotFound">
<add ipAddress="123.456.789.123" allowed="true"/> <!--office-->
<add ipAddress="168.62.180.0" allowed="true"/> <!--azure (for Always On setting)-->
</ipSecurity>
</security>
The Always On setting appears to force Azure to check the site every 5 minutes in the background, but the security settings block the Azure icons, cluttering the error logs. However, other white IPs have access to the application; these are only Azure locks that are locked.
Here is a screenshot of the error log from one of the blocked emails: Azure ping blocked
Any insight on how to resolve in Azure Pills would be very helpful!
+3
source to share