azure - 找不到此树项目的 Azure 订阅

标签 azure azure-functions

我正在尝试将我的代码从本地部署到 Azure 不知道为什么第一次部署功能工作正常,但一直提示“没有找到此树项的 Azure 订阅”。 Deploy to container

No Azure subscription found for this tree item.

-不使用 poxy

-尝试注销和登录 Azure

我正在尝试将我的代码从本地部署到 Azure

期望代码部署在 Azure 门户上

最佳答案

  • 我在 Azure 门户中创建了函数应用。

enter image description here

  • 我通过在终端中使用所需的命令在本地创建了示例 node.js 应用程序。

  • 我在执行上图提到的过程时也遇到了同样的错误。

enter image description here

  • 我尝试了另一种方法将节点应用程序部署到函数应用程序以进行下面的检查。

enter image description here

  • 通过使用上述方法成功部署。

enter image description here

  • 检查 Azure 门户中的部署状态。

enter image description here

关于azure - 找不到此树项目的 Azure 订阅,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/76824780/

相关文章:

Azure搜索如何忽略空blob文件(没有内容)?

entity-framework - 对 SQL Server CE 4.0 数据库使用 EF 时出现 Azure 错误

Azure blob 存储 : Shared access signature for multiple containers?

java - Azure 函数。从 VS Code 调试 java。无法连接到被调试虚拟机

azure - "queued"Azure 事件网格 Blob 触发器事件消息存储在哪里以及如何清除它们?

visual-studio - 警告发布 Azure 服务总线队列触发器无法在 local.settings.json 中找到命名值

c# - Azure函数队列触发器

java - 运行 Java 的 Azure Web 角色返回 500

c# - 具有 .NET Standard 目标的 Azure 云服务经典版

c# - 应用程序如何使用与本地相同的语法识别 key 保管库中的 secret ?