Search code examples
azureasp.net-web-apiazure-web-app-service

Error: The resource you are looking for has been removed, had its name changed, or is temporarily unavailable


Lately, for almost every website/API service/mobile service I deploy, when I hit any route apart from default one, I get the following error:

The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

For testing I created a simple ASP.NET WebAPI app and ASP.NET MVC website and deployed to Azure. It gets deployed and default pages come up. For any link after that, I get that error.

Below is the mobile service, created and uploaded without modification and configured Facebook authentication on portal.azure.com: https://wayweb.azurewebsites.net/.auth/login/facebook/callback

A copy of code is at https://1drv.ms/u/s!AkQ9G9AdaYOPgaZ-vXUdlSW9RuQzOQ

Any idea, what am I doing wrong?


Solution

  • It could help:

    To remedy the problem, you need to provide a web.config file into your Angular 2 application.

    https://hgminerva.wordpress.com/2016/04/27/hosting-angular-2-in-windows-azure-error-the-resource-you-are-looking-for-has-been-removed-had-its-name-changed-or-is-temporarily-unavailable/