I got this error when I wrote a Web API. The project, which worked very well on the local side, made this mistake when I published Azure. He did not see the folder he normally created under the wwwroot folder. If you need to do this go to portal.azure.com. From here you will be able to find out your FTP information and then connect to it. In general, I am simply and conveniently connected with the FileZilla program. If you are connected, you will get a screen like this. You have different files in these 3 folders.
When I enter the site called “Site”, I get a screen like below. Here again we have 3 folders. There are files for different purposes within each. Here is the part of our site where the wwwroot folder. This folder contains the source codes and folders of our project.
When you enter the Wwwroot folder, you will see that the contents of your project are already there. Lakin saw that an empty folder I created when I checked out was not here. I also eliminated myself and the problem was solved. You can try this method.
If you have any questions, you can contact me by email or comment.