To check the logs for your App Service, you can enable diagnostics logging and access the information logged by Azure. Here are the steps to enable diagnostic logging for a Windows app in the Azure portal:
Once you have enabled App Service Logs, you can view the logs in the Azure portal. Simply navigate to the Log stream section under Monitoring and you’ll be able to see your application logs in real-time2.