【问题标题】:Why can I publish individual web jobs but not a web project with a list of web jobs?为什么我可以发布单个 Web 作业,但不能发布带有 Web 作业列表的 Web 项目?
【发布时间】:2016-12-02 11:16:41
【问题描述】:

我们有一个启用 WebJobs 的项目,用于部署和安排 WebJobs。我们的几个开发人员能够发布该项目,但我在尝试这样做时遇到了错误。发布本身成功,但最后我收到一堆错误说:

An error occurred while creating the WebJob schedule: ForbiddenError: The server failed to authenticate the request. Verify that the certificate is valid and is associated with this subscription.

我曾尝试使用 Publish as a WebJob 命令自行发布 WebJob,并且效果很好。我使用的发布配置文件也验证得很好。为什么它对一个有效,而对另一个无效?

【问题讨论】:

    标签: azure azure-webjobs


    【解决方案1】:

    我的帐户拥有订阅的共同管理员权限,我可以成功地将我的WebJobs-enabled project 发布到 Azure 应用服务(网站和网络作业都运行良好)。 This thread讨论过类似的问题,我们发现没有Co-administrator权限的账号可能会导致这个问题,所以请确认您的账号是否有Co-administrator权限。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-03-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多