 <p>Webjobs look for a Main function signature as an entry point by default. It's like your regular Console Aplication. If you put any <code>Console.Write</code> lines, it will output too.</p> <pre><code>public class Program { public static void Main(string[] args) { //your code... } } </code></pre> <p>Go to your <strong>WebApp blade</strong> > <strong>All Settings</strong> and scroll down, you should have a <strong>Webjobs</strong> item with your Webjob loaded, now double click on the link on the LOGS column:</p> <p><a href="https://i.stack.imgur.com/4WHaX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4WHaX.png" alt="enter image description here"></a></p> <p>Now, you should be able to Toggle Output and see the Console output of your webjob.</p> <p><a href="https://i.stack.imgur.com/XJSfn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XJSfn.png" alt="enter image description here"></a></p> <p>If there are any errors during execution, they should be there.</p> <p>If you <strong>can't get see the LOGS link</strong>, try opening the Tools section in the WebApp (top toolbar), scrolling to <strong>Kudu</strong> and Opening it.</p> <p><a href="https://i.stack.imgur.com/lgEDv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lgEDv.png" alt="enter image description here"></a></p> <p>Then go to the Tools > <strong>Webjobs Dashboard</strong>. Your job should be listed there.</p> <p><a href="https://i.stack.imgur.com/Apgm2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Apgm2.png" alt="enter image description here"></a></p> <p><strong>EDIT</strong></p> <p>After seeing the error reported, the problem is that the Azure environment is different than your computer. Google might be blocking the usage based on the access from an unknown origin. Check your <a href="https://www.google.com/settings/security/lesssecureapps" rel="nofollow noreferrer">Less secure settings</a> and try it with Off. If that fails, enable login in <a href="https://g.co/allowaccess" rel="nofollow noreferrer">from a different timezone</a>. Though I'd advice to use another services to send mail, like <a href="https://www.mailgun.com/" rel="nofollow noreferrer">MailGun</a> or <a href="https://sendgrid.com/windowsazure.html" rel="nofollow noreferrer">SendGrid</a>, even <a href="https://aws.amazon.com/ses/" rel="nofollow noreferrer">Amazon SES</a>.</p>