Azure API App Swagger is not available from portal Azure API App Swagger is not available from portal azure azure

Azure API App Swagger is not available from portal


Try go to the new Azure portal (preview portal), browse to your API App and set the App Service Plan/Pricing Tier to Standard.

I am having problem too when I first deployed my API App in Azure with the default App Service Plan and it seems like there is no instance created for the API App when it's the Free plan.

My API App simply works after I change the plan to Standard.Hope this helps!

My API App with Swagger in Azure

Useful references:

Create API App Tutorial

Deploy API App Tutorial

Edit: The answer was found in a comment below. After I updated my Swashbuckle NuGet packages, the Swagger showed up properly in the Azure Portal.


Ran across this recently and found that the app.UseSwaggerUI in the Config method of Startup.cs was wrapped in a If Debug Compiler directive. Not sure if it was a developer or part of an Automated template but thoutght it worth mentioning.


The process I use when the deployed version does not work is.

  1. Set access to public - to remove gateway introduced issues.
  2. Check a known end point api - https:\|xxxxx\yourapi
  3. Turn on Remote Errors in web.config
  4. Resolve any missing references not included in build (set Copy to Output Directory to true)
  5. Re-deploy
  6. Access Swagger endpoint.
  7. Re-enable security through gateway.

This allow you remove multiple failure points and see if the simplest functionality works before adding the extra layers in the new Api apps.