通过 Visual Studio 2013 发布我的 Azure API 应用程序后,我无法访问任何 REST 终结点。 (Azure Web 门户显示了 swagger 文档)。 See here .
当访问 API 应用程序 URL 时,我收到以下页面,并显示此错误消息:
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.
我已多次尝试重新创建 API 应用程序,并尝试重新发布。 API 应用程序访问级别设置为公共(public)(匿名),因此无需登录即可向所有人公开。我尝试使用 Azure AD 身份验证对其进行配置,但也不起作用。
最佳答案
此错误似乎与 App Insight 有关。根据 2015 年 4 月 3 日的帖子,微软已意识到该问题并正在努力修复。
取消选中项目选项中的 Azure Insights 应允许您使用 API 进行测试。
关于azure - 无法访问 Azure API 应用程序。 Swagger 文档在 Azure Web 门户中运行良好,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29467520/