We have built our Sitecore 9.1 solution in Azure Web Apps. We have added custom 403
and 400
error pages by making use of the Error Manager module from Sitecore https://marketplace.sitecore.net/en/Modules/Sitecore_Error_Manager.aspx.
It is working locally with IIS
. But when it is deployed to Azure Web Apps, it is showing 403
page from Azure with the error message Error 403 - This web app is stopped.
instead of custom pages which we added in Sitecore application for both 400 and 403 Http status codes.
How to add custom error pages for 403
and 400
?