My client has Azure subscription and has App Service inside. My Azure account is added to this App Service as owner. Now I need to add WebJob to this App Service. I have added WebJob project to Visual Studio solution, linked with Website project and try to publish (under my azure account). WebJob is deployed, but schedule can't be configured, I get an error:
Error : An error occurred while creating the WebJob schedule: Response status code does not indicate success: 403 (Forbidden).
How to fix it?
Scheduled WebJobs use Azure Scheduler behind the scene to trigger the webjob. So, I think you need to have the rights to create an Azure scheduler too to make it working.
Another solution is to use the internal Kudu webjob scheduler, as explained in this post: http://blog.amitapple.com/post/2015/06/scheduling-azure-webjobs/