Azure 函数运行时

Azure Functions Runtime

按照此处的说明安装了 Azure Functions 运行时:

https://docs.microsoft.com/en-in/azure/azure-functions/functions-runtime-install

已正确配置所有内容,包括 SQL 等。

完成后 https://localhost 并尝试创建一个新的 Azure 函数应用程序。

尝试创建 Azure Functions 应用程序时失败。我验证了 Azure Functions 主机激活服务和 Docker 服务是 运行.

以下是尝试从本地框创建函数 App 时的错误:

请检查以下 Windows 事件日志,了解有关功能管理角色的任何错误: Microsoft-Windows-FunctionsRuntime/Operational

如果您在那里没有看到任何信息,请按照此说明捕获状态代码为 400-999 的 FunctionsAPI 网站的跟踪: https://docs.microsoft.com/en-us/iis/troubleshoot/using-failed-request-tracing/troubleshooting-failed-requests-using-tracing-in-iis

对我来说,这个问题实际上是由 WebDAV 处理程序不允许 PUT 动词引起的。在我为 FunctionsAPI 允许 IIS 中的所有动词后,它就像一个魅力。

您可以在 Web 浏览器中使用 F12,通过执行创建新函数应用的步骤来帮助确定问题的根本原因。