Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
Hi @Harjeet singh
I understand your Azure App Services going down every few hours is frustrating. While a malware attack is possible, there are several troubleshooting steps you can follow to address this issue.
HTTP 5xx errors may signal unhandled exceptions. Make sure errors are logged properly, and consider using Application Insights to track issues.
Monitor CPU and memory usage in the Azure portal. If your app hits resource limits, scaling up or adding more instances may help.
Apps may restart for various reasons. Use the "Diagnose and solve problems" tool and the Web App Restarted detector to review restart causes and timelines.
Health checks can help manage restarts by letting the platform know when your app is ready to handle traffic.
If malware is a concern, review your security settings, enable WAF rules if available, and scan for vulnerabilities regularly.
Check logs for any suspicious login attempts or activities that could indicate an attack.
Let me know if you have any further assistances
https://learn.microsoft.com/en-us/azure/app-service/overview#troubleshooting
https://learn.microsoft.com/en-us/azure/app-service/routine-maintenance-downtime
https://learn.microsoft.com/en-us/azure/azure-monitor/app/app-insights-overview