Anna Jhaveri
Anna Jhaveri

Reputation: 93

403 (Forbidden) publishing Azure Web Job from Visual Studio

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.

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).

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

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

Thanks in advance

Upvotes: 3

Views: 2799

Answers (1)

Keith
Keith

Reputation: 5391

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

  1. You do not have administrator privileges on the subscription you are attempting to publish within.
  2. You are attempting to set a frequency that is below 1 Hour on a free app service (web app).

Upvotes: 1

Related Questions