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. Open up for HelpMessage and Validation to be supported in Automation runbooks input parameters.

    Ability to describe and validate required parameters in more detail, in the Test Pane. Instead of starting a runbook that will fail due to wrong inputs, users will have to correct these wrong typings before initiation of the runbook.

    26 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    2 comments  ·  Flag idea as inappropriate…  ·  Admin →
  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
    Sign in
    (thinking…)
    Sign in with: Microsoft
    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. 24 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  4. Edit the name of assets and runbooks

    To be able to edit name/description or asset/runbook

    24 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    5 comments  ·  User Experience  ·  Flag idea as inappropriate…  ·  Admin →
    under review  ·  Beth Cooper responded

    You can currently edit the description on runbooks and assets. To do this for runbooks, go to the Configuration page.

    On the names, would the ability to add a friendly name (that you can edit at any time) be sufficient or are you hoping to change the workflow name as well?

  5. Disable schedule on individual runbooks without unlinking

    It would be helpful if we could disable a schedule on a particular runbook without having to completely unlink the schedule or affect the schedule to all linked runbooks.

    Having to unlink the schedule loses the ability to know when it was scheduled without noting it somewhere else if/when it needs enabled again.

    24 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    3 comments  ·  Scheduling  ·  Flag idea as inappropriate…  ·  Admin →
  6. Surface runbook errors in the Automation account overview page like runbook exceptions are surfaced

    Currently if my runbook is having issues and I look at the overview page, I can only see exceptions of the runbook. The runbook may hit errors during execution, which do not show up on this page.

    24 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    under review  ·  1 comment  ·  User Experience  ·  Flag idea as inappropriate…  ·  Admin →
  7. Delete subscriptions without first removing RBAC role definitions /assignable scopes

    We have a custom RBAC role definition that we link to new subscriptions. If we delete a subscription without first removing the link with the RBAC role definition, we are unable to link this role definition to new subscriptions. This is blocking our environment, because we are not able to adapt our current role and rights model.

    So, it should be possible to remove subscriptions without first removing the link(s) with role definitions /assignable scopes.

    See ticket 117020815287840 for more information.

    22 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    3 comments  ·  Role Based Access Control  ·  Flag idea as inappropriate…  ·  Admin →
  8. Adding a "Create New" button in Graphical Runbook configuration when adding input parameters

    when configuring input parameters for a cmdlet in the graphical runbook canvas, if there are no inputs configured, you'll get an "No item to display" message and you have to go back and add input parameters. However, you will lose unsaved changes if you go back. To make it more user friendly, would it be better if there's a "Create New" button next to the "No item to display" message so users can create input parameters without having to go back and lose unsaved changes.

    22 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Graphical authoring  ·  Flag idea as inappropriate…  ·  Admin →
    under review  ·  Beth Cooper responded

    Thanks for voting for this suggestion. We will look into adding functionality that makes adding input parameters from cmdlet configuration easier.

  9. Setup DevOps SourceControl sync as a AzureADApp service principle

    I would like to list two issues and possibly can be addressed by one implementation.


    1. Would like to setup sync between Azure Automation Account and DevOps as an Azure AD APP service principle and/or managed identity of automation account, rather than a person or on-prem service account.


    2. Would like to access files from DevOps Repository (e.g latest ARM templates) as a REST call using managed identity/service principle.


    Above is very important as people leave organisations and can leave broken process behind and the worst is, the organisations would not know until something drastic happens.

    Please see the issues below in…

    21 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Source control integration  ·  Flag idea as inappropriate…  ·  Admin →
  10. Module Request: Configuration Manager (SCCM) Powershell Module

    I'd like to see full support for the System Center Configuration Manager Powershell Module/Cmdlet Library in Azure Automation.

    21 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Gallery  ·  Flag idea as inappropriate…  ·  Admin →
  11. PowerShell Cmdlets for Watcher Tasks

    No cmdlets are available to interact with watcher tasks (creating, starting, stopping, getting job status, job details, etc.).

    There is no way to monitor watcher tasks to check status to ensure the watcher sandbox is running.

    21 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  PowerShell cmdlets  ·  Flag idea as inappropriate…  ·  Admin →
  12. Migrate runbook with assets to another Automation Account

    It would be nice to have the option to migrate a runbook to another Automation Account. With a user action, on whether or not assets and stuff, associated to the runbook, should be moved too.

    I see it useful in a Test / Prod environment. We want multiple users to be able to develop runbooks, but only in a controlled environment. And then move it to our production Automation Account when done.

    21 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    3 comments  ·  Content  ·  Flag idea as inappropriate…  ·  Admin →
    under review  ·  Beth Cooper responded

    Thanks for posting this suggestion. We do have integration with source control which would easily enable you to sync your runbooks from a dev to prod account easily. https://azure.microsoft.com/en-us/blog/azure-automation-source-control-13/

    Are you asking to be able to pick a runbook and supporting assets and then move them to another account? Would being able to group them together and export them as an ARM template work as a potential solution or is your preference to have a tool in the UX to do this?

  13. Start/Stop VM solution for automation accounts should contain Weekday scheduling as an optoin

    At the moment Start Stop VM only supports daily startup/shut down. Whats the point if the work week consist of 5 days . I dont need to fire up the VM's on Saturday and Sunday just to shut them down again.

    20 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Start / Stop VM  ·  Flag idea as inappropriate…  ·  Admin →
  14. Sync in both directions

    I find that a possibility to sync to repos would be useful as that would enable creation of already existing runbook files in the repo, also the graphical runbooks (if any) could be exported that way.

    19 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    3 comments  ·  Source control integration  ·  Flag idea as inappropriate…  ·  Admin →
  15. Display Powershell 5 information stream in runbook output

    Anything written to the new Powershell 5 information stream (stream 6) doesn't appear in the job output if $InformationPreference is set to 'Continue'.

    19 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    3 comments  ·  Bug  ·  Flag idea as inappropriate…  ·  Admin →
  16. Allow monitoring runbooks like orchestrator

    Allow for "monitoring" runbooks like orchestrator does, without minutes charge or provide this only for hybrid workers. It makes no sense in running runbooks 24 hours waiting for a condition before the actual magic starts and being charged for the entire day.
    Having this option free of charge on hybrid workers would be a great improvement, since we pay for the computer onprem this makes sense.

    Without this option it is a half solution where we need to run scripts or on prem solution to monitor for a condition and after this send out the webhook call which than again…

    19 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Scheduling  ·  Flag idea as inappropriate…  ·  Admin →
  17. Enable option to hide or mask input parameters for runbook job

    When running job in runbook, input parameters (Input Name and Value) are displayed in job windows.

    I can imagine there can be use cases such as multiple users using one runbook and the job input parameters are displayed to every users.

    As a workaround, currently there are Runbook assets , variable which can encrypt the values, but these are made for automation account level.
    I believe there should be straight forward way to hide or mask input parameters for runbook job from runbook itself.

    19 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  User Experience  ·  Flag idea as inappropriate…  ·  Admin →
  18. 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!

    19 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    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.

  19. 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
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    under review  ·  0 comments  ·  Debugging and troubleshooting  ·  Flag idea as inappropriate…  ·  Admin →
  20. Make available in other US Gov Regions

    US Government customers would like Workspace Mapping to be available in regions outside of US Gov Virginia to utilize solutions such as Start/Stop VM during off-hours. Any timeline?

    Current Regions:
    https://docs.microsoft.com/en-us/azure/automation/how-to/region-mappings#supported-mappings

    19 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Start / Stop VM  ·  Flag idea as inappropriate…  ·  Admin →
  • Don't see your idea?

Feedback and Knowledge Base