403(禁止)从Visual Studio发布Azure Web Job [英] 403 (Forbidden) publishing Azure Web Job from Visual Studio

查看:95
本文介绍了403(禁止)从Visual Studio发布Azure Web Job的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个部署到Azure的Web应用程序项目.我已将现有项目(控制台应用程序)作为Azure Web作业添加到Web应用程序项目中,并将该Web作业配置为每天运行.

I have a web application project deployed to Azure. I have added existing project(console application) as Azure Web Job to web app project and configured the web job to run daily.

但是现在当我发布Web应用程序时,出现以下错误 创建WebJob计划时发生错误:响应状态代码未指示成功:403(禁止).

But now when I publish the web app, i am getting following error An error occurred while creating the WebJob schedule: Response status code does not indicate success: 403 (Forbidden).

注意:如果我将Web作业配置为按需运行,而不是定期(每天)运行,则Azure Web App将成功发布

Note: The Azure Web App gets published successfully if i configure the web job to run on demand instead of recurring(daily)

任何人都可以指出该错误的解决方法并成功发布Web作业吗?

Can anyone point what could be the resolution of this error and publish web job successfully?

预先感谢

推荐答案

对于任何寻求答案的人,我发现了人们观察到此错误的一些原因:

For anyone looking for the answer, I have found a couple of reasons people have observed this error:

  1. 您没有要在其中发布的订阅的管理员特权.
  2. 您正在尝试将免费应用程序服务(网络应用程序)的频率设置为低于1小时.

这篇关于403(禁止)从Visual Studio发布Azure Web Job的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆