将 WebJob 添加到 Azure App Service - 权限问题
Add WebJob to Azure App Service - permission issue
我的客户有 Azure 订阅,里面有应用服务。我的 Azure 帐户作为所有者添加到此应用服务。现在我需要将 WebJob 添加到此 App Service。我已将 WebJob 项目添加到 Visual Studio 解决方案,与网站项目链接并尝试发布(在我的 azure 帐户下)。 WebJob 已部署,但无法配置计划,出现错误:
Error : An error occurred while creating the WebJob schedule: Response
status code does not indicate success: 403 (Forbidden).
如何解决?
计划的 WebJobs 在后台使用 Azure Scheduler 来触发 webjob。所以,我认为您也需要有权创建 Azure 调度程序才能使其正常工作。
另一种解决方案是使用内部 Kudu webjob 调度程序,如 post 中所述:http://blog.amitapple.com/post/2015/06/scheduling-azure-webjobs/
我的客户有 Azure 订阅,里面有应用服务。我的 Azure 帐户作为所有者添加到此应用服务。现在我需要将 WebJob 添加到此 App Service。我已将 WebJob 项目添加到 Visual Studio 解决方案,与网站项目链接并尝试发布(在我的 azure 帐户下)。 WebJob 已部署,但无法配置计划,出现错误:
Error : An error occurred while creating the WebJob schedule: Response status code does not indicate success: 403 (Forbidden).
如何解决?
计划的 WebJobs 在后台使用 Azure Scheduler 来触发 webjob。所以,我认为您也需要有权创建 Azure 调度程序才能使其正常工作。
另一种解决方案是使用内部 Kudu webjob 调度程序,如 post 中所述:http://blog.amitapple.com/post/2015/06/scheduling-azure-webjobs/