gpt4 book ai didi

azure - 无法访问 Azure API 应用程序。 Swagger 文档在 Azure Web 门户中运行良好

转载 作者:行者123 更新时间:2023-12-03 03:15:01 26 4
gpt4 key购买 nike

通过 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 日的帖子,微软已意识到该问题并正在努力修复。

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

取消选中项目选项中的 Azure Insights 应允许您使用 API 进行测试。

关于azure - 无法访问 Azure API 应用程序。 Swagger 文档在 Azure Web 门户中运行良好,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29467520/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com