In general, the first step in troubleshooting is to use App Service Diagnostics:
- In the Azure portal for your web app, select Diagnose and solve problems from the left menu.
- Select Availability and Performance.
- Examine the information in the Application Logs, Container Crash, and Container Issues options, where the most common issues will appear.
Next, examine both the deployment logs and the app logs for any error messages. These logs often identify specific issues that can prevent app deployment or app startup. For example, the build can fail if your requirements.txt file has the wrong filename or isn't present in your project root folder.
These two tools of using the diagnostics and then reviewing your logs for more specific errors should help you resolve the issue. If you still have issues, can you please share with us what you locate in the logs in terms of error(s)? This will help us narrow down the issue with you further.