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.

How can we improve Azure Automation service?

You've used all your votes and won't be able to post a new idea, but you can still search and comment on existing ideas.

There are two ways to get more votes:

  • When an admin closes an idea you've voted on, you'll get your votes back from that idea.
  • You can remove your votes from an open idea you support.
  • To see ideas you have already voted on, select the "My feedback" filter and select "My open ideas".
(thinking…)

Enter your idea and we'll search to see if someone has already suggested it.

If a similar idea already exists, you can support and comment on it.

If it doesn't exist, you can post your idea so others can support it.

Enter your idea and we'll search to see if someone has already suggested it.

  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback
  1. Azure Automation Cannot Connect to Azure SQL using Azure Active Directory (ADAL)

    Azure Automation cannot connect to Azure SQL using the Azure Active Directory Admin Account as Azure Automation does not have the ADALsql.dll. Please add this .dll. You can see here for more information: https://stackoverflow.com/questions/45107165/create-adalsql-dll-azure-automation-module-the-module-was-expected-to-contain-a

    14 votes
    Vote
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      You have left! (?) (thinking…)
      0 comments  ·  PowerShell authoring  ·  Flag idea as inappropriate…  ·  Admin →
    • Automation variable being changed from [Array] to [JArray]

      Not sure if I'm doing something wrong as it appears a fairly fundamental problem but I can't see any reports of this anywhere.

      I have created an automation variable via:

      New-AzureRmAutomationVariable -Name MyArrayVariable `
      -Value ([array]@('FirstOne', 'SecondOne', 'ThirdOne')) `
      -ResourceGroupName myresourcegroup `
      -AutomationAccountName myautomationaccount `
      -Encrypted $false

      However when I then access this variable from a PowerShell runbook, the data type is a Newtonsoft.Json.Linq.JArray rather than a standard System.Array

      I also can't access it through the pipeline as I normally would:

      $MyArrayVariable = Get-AutomationVariable -Name 'MyArrayVariable'
      $MyArrayVariable | ForEach-Object {Write-Output ('This one is: ' + $_)}
      Write-Output ('Resource group list…

      1 vote
      Vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        I agree to the terms of service
        Signed in as (Sign out)
        You have left! (?) (thinking…)
        0 comments  ·  Bug  ·  Flag idea as inappropriate…  ·  Admin →
      • Copy/paste activities in graphical runbooks

        Would be nice to copy/paste activities when editing graphical runbooks.
        This would make authoring a lot easier, especially when building complicated runbooks. Here's a sample scenario I'm envisioning:
        - Add a child runbook to the authoring canvas and fill all required parameters
        - Right-click on the child runbook and select Copy
        - Right-click on the canvas and select Paste. A copy of the child runbook will be inserted with the same properties/parameters as the original. To avoid duplicate labels, couple of options:
        - The label could be "Copy of original child runbook name".
        - After pasting, the GUI would go…

        6 votes
        Vote
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          I agree to the terms of service
          Signed in as (Sign out)
          You have left! (?) (thinking…)
          0 comments  ·  Graphical authoring  ·  Flag idea as inappropriate…  ·  Admin →
        • Documentation on how to create a runbook that starts/stops VMs in a given order

          I haven't found any documentation on how to create a workbook that start/stops VMs of a resource group in a given order (i.e. Domain Controller, SQL server, Application Server).

          3 votes
          Vote
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            I agree to the terms of service
            Signed in as (Sign out)
            You have left! (?) (thinking…)
            0 comments  ·  Graphical authoring  ·  Flag idea as inappropriate…  ·  Admin →
          • IN VM shedule add both start and shutdown with a recurring week shedule (avoiding more complex runbook use)

            The shutdown shedule is easy. Adding startup needs use of runbooks. Why not adding startup and shutdown with a recurring weekly shedule to allow easy cost saving by aligning the server use with the opening hours.

            3 votes
            Vote
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              I agree to the terms of service
              Signed in as (Sign out)
              You have left! (?) (thinking…)
              0 comments  ·  Scheduling  ·  Flag idea as inappropriate…  ·  Admin →
            • Allow arbitrary naming of DSC nodes

              If I have multiple VM's in multiple regions and the VM name is duplicated, there's no easy way to know which is which. Can we have some control of the name used when registering the VM? Or can we have some mechanism to apply and view tags?

              3 votes
              Vote
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                I agree to the terms of service
                Signed in as (Sign out)
                You have left! (?) (thinking…)
                0 comments  ·  Desired State Configuration  ·  Flag idea as inappropriate…  ·  Admin →
              • Can you please add support for retrieving Available Memory metric using REST API in Azure Monitoring Supported Metrics

                Can you please add support for retrieving Available Memory metric using REST API in Azure Monitoring Supported Metrics

                1 vote
                Vote
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  I agree to the terms of service
                  Signed in as (Sign out)
                  You have left! (?) (thinking…)
                  0 comments  ·  Content  ·  Flag idea as inappropriate…  ·  Admin →
                • Update-AzureRmVM not supports try-catch.

                  Update-AzureRmVM not supports try-catch.

                  1 vote
                  Vote
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    I agree to the terms of service
                    Signed in as (Sign out)
                    You have left! (?) (thinking…)
                    0 comments  ·  PowerShell cmdlets  ·  Flag idea as inappropriate…  ·  Admin →
                  • Make it easier to update tag values

                    Please provide an easier way to update the value of a single tag, on a single resource. ie. a VM

                    Current Method:
                    The current method requires you to obtain the entire hash table of tags on a resource (in my case a VM), update the value in the hash table, and then write the entire table back to the resource.

                    Proposed:
                    New TAG cmdlets allowing simple adding, removing and updating of tags.

                    Benefit:
                    Simplified dynamic manipulation of tags, allowing for simplified automation scripts. The challenge was that all suggestions online pointed to the tags being in an array, which we…

                    3 votes
                    Vote
                    Sign in
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      I agree to the terms of service
                      Signed in as (Sign out)
                      You have left! (?) (thinking…)
                      0 comments  ·  PowerShell cmdlets  ·  Flag idea as inappropriate…  ·  Admin →
                    • Send alert when Azure Automation runbook fail

                      Please provide the ability to inform someone that a runbook job failed by sending an e-mail.

                      The feature should be at the runbook-level for better granularity

                      5 votes
                      Vote
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        I agree to the terms of service
                        Signed in as (Sign out)
                        You have left! (?) (thinking…)
                        0 comments  ·  Debugging and troubleshooting  ·  Flag idea as inappropriate…  ·  Admin →
                      • Inlinescript within Function Within Workflow?

                        Why does the following script:

                        workflow rbk-test {
                        function vm-test {
                        $output = InlineScript {
                        write-output "$($(get-azurermvm -ea SilentlyContinue -wa SilentlyContinue -status -name 'somename' -resourcegroup 'somegroup').statuses[1].code.split("/")[-1])"
                        }
                        write-output "status:$output
                        }
                        vm-test
                        }

                        give me this error?
                        Microsoft.PowerShell.Utility\Write-Error : The term 'InlineScript' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

                        But if I take the inline out of the function, it works fine.

                        workflow rbk-test {
                        $output = InlineScript {
                        write-output "$($(get-azurermvm -ea…

                        1 vote
                        Vote
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          I agree to the terms of service
                          Signed in as (Sign out)
                          You have left! (?) (thinking…)
                          0 comments  ·  PowerShell authoring  ·  Flag idea as inappropriate…  ·  Admin →
                        • AzureRM recoveryServices restore VM

                          Could you provide a Cmdlet in the AzureRM module to restore a VM and not only datadisks?

                          3 votes
                          Vote
                          Sign in
                          Check!
                          (thinking…)
                          Reset
                          or sign in with
                          • facebook
                          • google
                            Password icon
                            I agree to the terms of service
                            Signed in as (Sign out)
                            You have left! (?) (thinking…)
                            0 comments  ·  PowerShell cmdlets  ·  Flag idea as inappropriate…  ·  Admin →
                          • DSCForLinux extension: Unable to onboard Linux VMs as DSC Nodes using PowerShell

                            In my PowerShell script, I am trying to deploy the DSCForLinux extension that will apply a pre-compiled MOF file from blob storage to the Linux VMs, but it takes hours and eventually fails. This is the extension properties I use in my script:

                            # Apply DSC for Linux extension to all Linux VMs
                            $dscExtensionName = 'DSCForLinux'
                            $dscPublisher = 'Microsoft.OSTCExtensions'
                            $dscVersion = '2.0'
                            $dscPublicConf = "{
                            `"ExtensionAction`": `"Pull`",
                            `"FileUri`": [`"$dscMetaMofBlobUri[$i-1]`"]
                            }"
                            $dscPrivateConf = "{
                            `"storageAccountName`": `"$saName`",
                            `"storageAccountKey`": `"$storageKeyPri`"
                            }"

                            And this is the error:

                            Set-AzureRmVMExtension : Long running operation failed with status 'Failed'.
                            ErrorCode: VMExtensionProvisioningTimeout
                            ErrorMessage: Provisioning of VM extension 'DSCForLinux'…

                            3 votes
                            Vote
                            Sign in
                            Check!
                            (thinking…)
                            Reset
                            or sign in with
                            • facebook
                            • google
                              Password icon
                              I agree to the terms of service
                              Signed in as (Sign out)
                              You have left! (?) (thinking…)
                              1 comment  ·  Linux support  ·  Flag idea as inappropriate…  ·  Admin →
                            • Ability to remove jobs from the Jobs history

                              The list of jobs quickly gets long and if you play around with some configurations etc and the job fails it will mess up the statistics (and potentially scare some people). So I suggest an option to remove jobs from that list.

                              3 votes
                              Vote
                              Sign in
                              Check!
                              (thinking…)
                              Reset
                              or sign in with
                              • facebook
                              • google
                                Password icon
                                I agree to the terms of service
                                Signed in as (Sign out)
                                You have left! (?) (thinking…)
                                0 comments  ·  Other  ·  Flag idea as inappropriate…  ·  Admin →
                              • Bug in associate shcedule to a runbook through cmdlet Register-AzureRmAutomationScheduledRunbook

                                You can define inconsistent types between runbook parameter type and the type of the parameter associated with a schedule. For example, if you have a runbook RB0, it has a parameter P0 of type Boolean.
                                You can actually use Register-AzureRmAutomationScheduledRunbook cmdlet to associate a schedule with parameter P0 of a string type.

                                1 vote
                                Vote
                                Sign in
                                Check!
                                (thinking…)
                                Reset
                                or sign in with
                                • facebook
                                • google
                                  Password icon
                                  I agree to the terms of service
                                  Signed in as (Sign out)
                                  You have left! (?) (thinking…)
                                  0 comments  ·  Bug  ·  Flag idea as inappropriate…  ·  Admin →
                                • Decouple the Date and Time for automation schedules

                                  When creating an Automation schedule with the ARM template, startTime take a full date and time as a value. But in time, this value varies. For a runbook that run once each days, only the hour is constant. To keep my template up to date, I need to pass parameter for today and merge whith the hour of execution.

                                  A better approach is like the Scheduler Jobs with his Recurrence parameter. It cover most needs and are more easy to use.

                                  https://docs.microsoft.com/en-us/azure/templates/microsoft.scheduler/jobcollections/jobs#JobRecurrence

                                  6 votes
                                  Vote
                                  Sign in
                                  Check!
                                  (thinking…)
                                  Reset
                                  or sign in with
                                  • facebook
                                  • google
                                    Password icon
                                    I agree to the terms of service
                                    Signed in as (Sign out)
                                    You have left! (?) (thinking…)
                                    0 comments  ·  Scheduling  ·  Flag idea as inappropriate…  ·  Admin →
                                  • Resource Group filtering

                                    Hello,

                                    I noticed that there is no "Runbook type" in the Resource group filtering.

                                    Please find screenshot attached
                                    Cheers!

                                    1 vote
                                    Vote
                                    Sign in
                                    Check!
                                    (thinking…)
                                    Reset
                                    or sign in with
                                    • facebook
                                    • google
                                      Password icon
                                      I agree to the terms of service
                                      Signed in as (Sign out)
                                      You have left! (?) (thinking…)
                                      0 comments  ·  User Experience  ·  Flag idea as inappropriate…  ·  Admin →
                                    • Azure portal blades are impossible to navigate. Please add sizing controls to better navigate.

                                      The blades on the portal are very poor in performance and navigation controls. Please improve the blade navigation by adding sizing controls. The technologies and solutions are great, but the portal experience leaves the users abandoning the idea.

                                      1 vote
                                      Vote
                                      Sign in
                                      Check!
                                      (thinking…)
                                      Reset
                                      or sign in with
                                      • facebook
                                      • google
                                        Password icon
                                        I agree to the terms of service
                                        Signed in as (Sign out)
                                        You have left! (?) (thinking…)
                                        0 comments  ·  User Experience  ·  Flag idea as inappropriate…  ·  Admin →
                                      • Format document in portal PowerShell editor

                                        It would be convenient to have a Visual Studio style "Format document" button, which automatically fixes indentation and other formatting issues with a runbook in the portal editor.

                                        See also:
                                        https://visualstudio.uservoice.com/forums/121579-visual-studio-ide/suggestions/19002523-add-format-document-for-powershell-code

                                        2 votes
                                        Vote
                                        Sign in
                                        Check!
                                        (thinking…)
                                        Reset
                                        or sign in with
                                        • facebook
                                        • google
                                          Password icon
                                          I agree to the terms of service
                                          Signed in as (Sign out)
                                          You have left! (?) (thinking…)
                                          0 comments  ·  User Experience  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Email after runbook job

                                          Is it possible to send an email of the azure runbook automation job output ?

                                          4 votes
                                          Vote
                                          Sign in
                                          Check!
                                          (thinking…)
                                          Reset
                                          or sign in with
                                          • facebook
                                          • google
                                            Password icon
                                            I agree to the terms of service
                                            Signed in as (Sign out)
                                            You have left! (?) (thinking…)
                                            1 comment  ·  Other  ·  Flag idea as inappropriate…  ·  Admin →
                                          ← Previous 1 3 4 5 11 12
                                          • Don't see your idea?

                                          Feedback and Knowledge Base