You may encounter this error when running a WebJob locally on your workstation. This is most likely due to a proxy server on your network requiring your authentication credentials and blocking the outbound request to Azure.
To overcome this issue you can add the following proxy settings to the app.config file.
<system.net>
<defaultProxy useDefaultCredentials=”true” />
</system.net>