Azure Quick Tip: Troubleshooting your code with test pane

Here is a simple Azure troubleshooting technique that can save you a lot of time. Here’s the scenario: You have a day of coding your scripts in Azure Automation, and before you go home, there is one slight change, and after you do it, you start getting the error This job does not have any output.

Troubleshooting Azure jobs that fail

We can go to the  Exception tab and see the error, especially if it is a code error. When it is a code error, you won’t see any error or data in either Output, Errors, Warnings and even All Logs tabs.

Troubleshooting azure

However, the issue started because I hadn’t tested my code using test pane, which would have informed me that there as an issue on my code, and it would have saved me a lot of time. In my case, I forgot a dash before the operator or.

Lesson learned! Even if you are super confident, to avoid a lot of time-killing back and forth, troubleshoot your Azure job with a simple test pane before publishing your script.

About The Author

Leave a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Scroll to Top