After I published an ASP.NET Core app to Azure from Visual Studio 2017 I am getting this message when I click on the app url:
It was working fine before. Is
From the error description, it is not very clear about what went wrong here.
You may check whether the deployed files are available or not using Kudu Console.
Also, make sure that your startup file (For ex: index.htm) is added to the default documents section.
I would suggest you refer Enable diagnostics logging for web apps in Azure App Service and Troubleshoot ASP.NET Core on Azure App Service to check the complete error details and root cause.
In fact , you need to upload your index.php file direct to wwwroot (inside "site" foler)
To turn errors on on production I had to set the ASPNETCORE_ENVIRONMENT environment variable to 'Development' which can be found in your app service here:
Some of the answers on here are more generalized, which I consider to be better overall, but if you are working with Azure Pipelines, I do know that a common scenario in deploying an Azure Web App is that the pipeline simply chooses the incorrect deployment method for the pipeline task. In most basic cases for an IIS web app, e.g. ASP.NET, you will want to use WebDeploy. Simply set the parameters below as such:
UseWebDeploy: true
DeploymentType: 'webDeploy'
See the task reference for more details: https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/deploy/azure-rm-web-app-deployment
From my experience, if your login user ID under Azure Active Directory (AAD), you have to modify in Settings:
For Manage Permission ==>> Add, In Delegate Permission, choose: Sign in and read user profile and refresh your browser to login again
Hope this help.