Hi!
I faced the same problem as you today. I just wanted to build a simple QnA chatbot and it didn't work out like i expected. Basically I was able to solve the issue with one of the threads you already linked. https://medium.com/rare-crew/hot-issue-on-azure-and-deployment-of-apps-by-kudu-scripts-dotnet-sdk-v3-1-301-92d6e336756a
It seems, that there is some error in the current sdk version.
So what I did was; I reverted all my changes in the deploy.cmd and created a global.json file (i just used the App Serices editor and its console; touch global.json and used the editor to modify it)
I currently used msbuild 3.1.301 (dotnet --version) and in the tutorial was suggested to use version 3.1.202. I didn't have that one installed and didn't find a way to do so.
But dotnet --list-sdks showed, that I have 2.2.109 installed, so i decided to give it a try. The global json is now:
{
"sdk": {
"version": "2.2.109"
}
}
Saved it and called build.cmd again. This time it worked fine. I guess we gotta wait for a fix there. Hopefully it works for you as well!
How do I resolve Access Denied error when trying to deploy Echobot in Azure?
Duplicate of post on Stack Overflow: https://stackoverflow.com/questions/62760206/how-do-i-resolve-access-denied-error-when-trying-to-deploy-echobot-in-azure
I had a operating bot that I tried to push an update to and got a failure response. I tried building and deploying in Kudu with no luck either. Just as a sanity check I also made a brand new echobot on Azure and tried to run the build and deploy commands in Kudu Console.
EDIT: Meant to mention I've seen a few other mentions of similar issues including: Error - Access is denied - deployment to Azure App Services https://github.com/projectkudu/kudu/issues/3177 https://medium.com/rare-crew/hot-issue-on-azure-and-deployment-of-apps-by-kudu-scripts-dotnet-sdk-v3-1-301-92d6e336756a
EDIT2: Twitter thread asking for support: https://twitter.com/AzureSupport/status/1280172789085999105
MSBUILD : error MSB1025:Unhandled exception. An internal failure occurred while running MSBuild.
System.ComponentModel.Win32Exception (5): Access is denied.
at System.Diagnostics.Process.set_PriorityClassCore(ProcessPriorityClass value)
at System.Diagnostics.Process.set_PriorityClass(ProcessPriorityClass value)
at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)
System.ComponentModel.Win32Exception (5): Access is denied.
at System.Diagnostics.Process.set_PriorityClassCore(ProcessPriorityClass value)
at System.Diagnostics.Process.set_PriorityClass(ProcessPriorityClass value)
at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)
at Microsoft.Build.CommandLine.MSBuildApp.Main(String[] args)
Failed exitCode=-532462766, command=dotnet restore "EchoBot.sln"
An error has occurred during web site deployment.
-
Michael Strohmayer 96 Reputation points
2020-07-07T15:40:17.867+00:00