Thomas T
Thomas T

Reputation: 717

Cannot access Azure API App. Swagger doc is working fine in the Azure Web Portal

After having published my Azure API App through Visual Studio 2013, I cannot access any of my REST endpoints. (The Azure Web Portal shows the swagger doc though). See here.

When going to the API App URL, I get the following page, with this error message:

Correlation ID: b2228863-3f90-4235-xxxx-xxxxxxxxxx

Timestamp: 2015-04-06 07:48:59Z

AADSTS50011: The reply address 'https://microsoft-apiapp497f3b72e6ef485189341ae1ea31bddb.azurewebsites.net/' does not match the reply addresses configured for the application: abfa0a7c-a6b6-4736-xxxx-xxxxxxxxxxx.

I have tried re-creating the API App several times, and tried republishing. The API App Access Level is set to Public (anonymous), so it should be exposed for everyone without logging in. I tried to configure it with Azure AD authentication, but it also didn't work.

Upvotes: 1

Views: 1231

Answers (1)

Claies
Claies

Reputation: 22323

This error appears to be related to App Insight. Microsoft is aware of the issue and working on a fix, according to the post on 4/3/2015.

https://social.msdn.microsoft.com/Forums/en-US/96eeb06c-8157-4a4f-9d3a-4fa3eced5c55/authentication-failure-on-new-api-app-even-though-authentication-is-disabled?forum=AzureAPIApps.

Unchecking Azure Insights in the project options should allow you to use the API for testing.

Upvotes: 1

Related Questions