Update: Microsoft will be moving away from UserVoice sites on a product-by-product basis throughout the 2021 calendar year. We will leverage 1st party solutions for customer feedback. Learn more here.

Automation

Azure Automation allows you to automate the creation, monitoring, deployment, and maintenance of resources in your Azure environment using a highly-available workflow execution engine. Orchestrate time-consuming, error-prone, and frequently repeated tasks against Azure and third party systems to decrease time to value for your cloud operations.

Visit the Automation page to learn more about Automation and how to get started.

  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback
  1. Interactive Console

    It would be great if the test pane offered a true interactive REPL. This would allow better testing and debugging of code before publishing. Right now there always seems to be a bit of guesswork involved in getting a script runbook working correctly and being able to debug the script would be really beneficial. I am a big fan of the ISE add-on for Azure Automation, but this doesn't really offer true debugging features.

    I know this is a tall order and may not be possible, but it's definitely on my wish list!

    25 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Debugging and troubleshooting  ·  Flag idea as inappropriate…  ·  Admin →
    under review  ·  Beth Cooper responded

    Thanks for posting this suggestion! You are right that this is a larger work item, but something that could really help with debugging. Having your & the community vote for it helps our team prioritize the work though, so even if its a tall order its great for us to get the feedback.

  2. Show the line number when an exception is raised

    I tend to use ErrorActionPreference = 'STOP' in my Runbooks (and my Powershell scripts) because if I haven't handled an exception, I want to know. While in Powershell this gives me a useful trace to go back and figure out what went wrong, in Azure Automation I am presented with only the exception name, ie "An error occurred while sending the request.". This makes it really hard to find out what happened.

    As a work around, I can put a whole bunch of Write-Verbose statements in my Runbook, but this is tedious. It would be great if Azure Automation could…

    24 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    2 comments  ·  Debugging and troubleshooting  ·  Flag idea as inappropriate…  ·  Admin →
    under review  ·  Beth Cooper responded

    Can you provide more detail on what you mean by useful? Do you want to know where in the code the error occurred? Can you provide an example of what you find useful for debugging PS in the ISE?

    You may want to try using ErrorRecord.InvocationInfo for non-terminating errors since on non-terminating errors, we currently save this data in the Error stream.

    On terminating errors (exceptions), this data is currently lost. But we can investigate storing this information to present it for debugging. I would like to make sure that this is the info that you are looking for though, so please confirm.

    As a workaround for now, you could write a global try/catch block in the runbook (which will also catch exceptions thrown because of $ErrorActionPreference = ‘Stop’) and write $_.ErrorRecord.InvocationInfo to a stream.

  3. Pause a published runbook to prevent it accepting new jobs

    Today once you publish a runbook there is no way to put it in maintenance mode and prevent new jobs from being accepted. You only choices seem to be to delete the runbook so it is not shown as published (which loses all job history), or comment out the runbook code and publish that version so it basically does nothing. Would like to see a new menu option to Pause or Disable/Enable a published runbook.

    23 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    3 comments  ·  Debugging and troubleshooting  ·  Flag idea as inappropriate…  ·  Admin →
  4. Ability to Stop Test While Queued

    When using the test panel for a runbook, would like to be able to stop the test when in the queuing stage. We have a runbook that was executed from the test panel that's been queued for over 90m and we have no way to stop it.

    19 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    under review  ·  0 comments  ·  Debugging and troubleshooting  ·  Flag idea as inappropriate…  ·  Admin →
  5. Improve error message upon failed compilation

    I just attempted to run a runbook and was presented with this error in the Azure portal:
    Compilation error while building dependent workflows. For details see C:\Users\Client\Temp\PSWorkflowCompilation\Workflow_83e005c5eb8144cb8dbc7eb0b9055ffa\Project\Build.Log.

    Not very helpful given that I cannot access that build log. please could you just give me the error log instead.

    5 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    3 comments  ·  Debugging and troubleshooting  ·  Flag idea as inappropriate…  ·  Admin →
    under review  ·  Beth Cooper responded

    Thanks for the feedback. Would you be able to provide the repro steps for this/explain the root cause? We can look into improving this behavior.

  6. Enable tracing to more easily troubleshoot graphical runbooks

    In the runbook test experience and production jobs for graphical runbooks enable tracing of the input objects, output objects, streams, exceptions, start and end times for each activity. This will enable much more efficient troubleshooting.

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Debugging and troubleshooting  ·  Flag idea as inappropriate…  ·  Admin →
    under review  ·  Beth Cooper responded

    Azure Automation / UserVoice users – we would appreciate your feedback on this suggestion!

  7. Runbook all logs timestamp

    While investigating a failed runbook - I find that the 'All Logs' output has a simple time display - and of some 25 events, I cannot tell which came first as they have the exact time stamp.

    Can the service expand on the timestamp to include seconds or possibly milliseconds?

    Or even add clarity by stating if the top record or bottom record is first - even that is not clear.

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Debugging and troubleshooting  ·  Flag idea as inappropriate…  ·  Admin →
  • Don't see your idea?

Feedback and Knowledge Base