Azure Scheduler fails to trigger OnDemand WebJob published with WebApp
<p>Some time ago, I used Visual Studio (2015) to create a WebApp, a console app and link that console app as OnDemand WebJob to the WebApp. I published the whole to Azure and the website, the WebJob and the Scheduler Job worked perfectly.</p>

<p>Last week, I noticed that the WebJob no longer runs. The website is under constant development, so I am not sure whether this is due to a change in code we applied or due to something in Azure. </p>

<p>Whatever I try (including completely removing the job, the schedule and the folders in App_Data on the webapp), when I publish the WebApp from VS, the webjob is recreated, but the scheduler fails with the error below.</p>

<pre><code>Http Action - Response from host 'mysite.scm.azurewebsites.net': 'Unauthorized' Response Headers: Date: Fri, 29 Jan 2016 07:02:01 GMT
Server: Microsoft-IIS/8.0
WWW-Authenticate: Basic realm="site"

Body: 401 - Unauthorized: Access is denied due to invalid credentials. Server Error
</code></pre>

<p>Any clue what might cause this problem or which additional info I can collect to trace down the actual problem?</p>

<p>Thanks,
Erik</p>