title: Azure Webjob Fails in Portal But Runs Fine
body: <p>I have an Azure webjob created using the SDK that runs hourly.  The job runs, and works fine, but when I look at the job in the portal it always shows Failed.  I can run the job from the Debug Console and everything appears fine.  When run from the console the job typically takes seconds to run, but when run on the schedule it usually shows 12-20 minutes, before it fails.</p>
  
  <p>How can I get more details as to why this is failing?  Do I need to be telling webjobs somehow the task is finished and it's waiting on me?</p>
  
  <p>Thanks,
  Russ</p>
  
  <p><a href="https://i.stack.imgur.com/Q2BgL.png" rel="nofollow noreferrer">Webjob Failure</a></p>