URLs like: yourDomain.com/%
throws error: 400 Bad Request
a)-This does not enters application request cycle, but is handled by HTTP.SYS and shows Server header as follows: Microsoft-HTTPAPI/2.0
b)-Also if you change the host address using burp interceptor then it throws 404 error with server header as follows: Microsoft-IIS/10.0
I have already checked following URLs: Removing Server and X-Powered-By HTTP Headers on Azure Web Site Preview
But following Azure ticket shows that AG allows removal of header from responses: https://feedback.azure.com/forums/217313-networking/suggestions/16487725-remove-server-framework-headers-from-application-g
But nowhere it is shown how to implement it so that 'Server' header can be removed when request does not fall in your application request cycle.
Same is the case with ticket: Remove sensitive Headers from Azure PaaS hosted Websites
Please note that the the application is hosted in Azure WebApp(not VM).
So in a nutshell, I want to hide/change the 'Server' header in the above 2 mentioned scenarios for app hosted in Azure WebApp.