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. Some regions as Canada East are returning inconsistent location names

    There is an inconsistency when returning location for this region and maybe others

    This API call

    https://management.azure.com/subscriptions/{subscription}/locations?api-version=2016-06-01
    returns

    {
    "id": "/subscriptions/189e3956-5b16-4ecc-b283-0736f9bbc422/locations/canadaeast",
    "name": "canadaeast",
    "displayName": "Canada East",
    "longitude": "-71.217",
    "latitude": "46.817"
    },
    but other API calls returning locations such as Virtual Machines, AvailabilitySets or others return this location in capital letters

    https://management.azure.com/subscriptions/189e3956-5b16-4ecc-b283-0736f9bbc422/providers/Microsoft.Compute/virtualmachines?api-version=2016-04-30-preview
    https://management.azure.com/subscriptions/189e3956-5b16-4ecc-b283-0736f9bbc422/providers/Microsoft.Compute/availabilitySets?api-version=2017-03-30

    {
    "properties": {
    "platformUpdateDomainCount": 5,
    "platformFaultDomainCount": 3
    },
    "type": "Microsoft.Compute/availabilitySets",
    "location": "CanadaEast",
    "tags": {
    "jclouds": "abiquo-canadaeast",
    "abiquo": "canadaeast"
    },
    "id": "/subscriptions/189e3956-5b16-4ecc-b283-0736f9bbc422/resourceGroups/ABIQUO-CANADAEAST/providers/Microsoft.Compute/availabilitySets/abiquo-canadaeast",
    "name": "abiquo-canadaeast",
    "sku": {
    "name": "Classic"
    }
    }

    This is inconsistent with other regions tested and is problematic for 3rd party tools

    Is there anywhere i could…

    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 →
    • 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.

      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  ·  Role Based Access Control  ·  Flag idea as inappropriate…  ·  Admin →
      • Make tutorials that work

        Have you tutorials and documentation accurately describe how your system works.

        eg. how the **** do i pass in an object to the input params on test? your webhook tutorial implies you can do it just with JSON encoding.... NOPE

        https://docs.microsoft.com/en-us/azure/automation/automation-webhooks

        And then your docs on automation runbook input paramaters says you should encode it in the hashmap format. Nope again!

        https://docs.microsoft.com/en-us/azure/automation/automation-runbook-input-parameters

        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…)
          0 comments  ·  Bug  ·  Flag idea as inappropriate…  ·  Admin →

          Thanks for bringing up this issue. The webhook automatically converts the input from json when called whereas when manually run, it is required to do this yourself. You can follow the below approach in your runbook where you take in an optional parameter that indicates if it is a manual input or if it is coming through the webhook. If set to true, it will convert the input from Json, otherwise by default it will just take the passed in object from the webhook.

          You should be able to pass in {"WebhookName":“MyWebhook”, “RequestHeader”:{"From":“Test User”}, “RequestBody”:“[\”VM1\“,\”VM2\“]”} and set the ManualTesting to true.

          Param
          (
          [Parameter(Mandatory=$false)]
          [Object]
          $WebhookData,

          [Parameter(Mandatory=$false)] [Boolean] $ManualTesting = $false

          )

          if ($ManualTesting)
          {
          $WebhookData = ConvertFrom-Json $WebhookData
          }

          Write-Output ($WebhookData.WebhookName)
          Write-Output ($WebhookData.RequestBody)
          Write-Output ($WebhookData.RequestHeader)

          We will work to update the documentation to clarify this and give the example. Sorry it caused this issue for you and thanks again…

        • priority option for powershell workflow

          It isn't reliable enough to know, that a workflow will start some time after it is triggered.
          For example: a Workflow triggered by a webhook starts in between two or ten minutes. So one can not calculate with the result of the runbook.

          Please add a option to start a workflow immidiatelly (and charge it double for example) or with extra power so we can count on it.

          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  ·  Performance  ·  Flag idea as inappropriate…  ·  Admin →
          • Ability to specify a default hybrid worker group

            The Automation Administrator should be able to specify a default hybrid worker group for all runbooks as well as a per-runbook default hybrid worker group.

            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  ·  Hybrid  ·  Flag idea as inappropriate…  ·  Admin →
            • Runbook Execution and MMA Proxy settings

              Runbook Execution on the hybrid runbook worker currently uses the MMA Proxy settings. This should be an option that can be enabled or disabled.

              You can use New-WebServiceProxy to connect to an internal server with the proxy configured in the MMA to reproduce this issue.

              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  ·  Hybrid  ·  Flag idea as inappropriate…  ·  Admin →
              • Allow multiple .Net framework versions including the latest 4.6.2

                The current sandbox only supports .Net Framework 4.5.2. Would be better to have a support to run the automation script with at least 3 versions of .Net framework including the latest version of 4.6.x.

                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 →
                • More robust viewing and management of Hybrid Runbook Workers

                  Hybrid runbook workers should have management offered through the Azure Portal and via PowerShell cmdlets.

                  User story 1: As a user I should be able to see which hybrid runbook worker a particular job ran on, not just the hybrid worker group (which I should see as well). The Azure Portal UI should show me the specific hybrid worker and I should also see the specific hybrid worker as output when executing Get-AzureRmAutomationJob (again, in addition to the Hybrid Worker Group).

                  User story 2: As a user I should be able to configure individual hybrid workers to be available/unavailable to…

                  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  ·  Hybrid  ·  Flag idea as inappropriate…  ·  Admin →
                  • Need Ability to Compare an 'In Edit' with a Published Script

                    So I have apparently changed a script and forgot to publish it. I see no way to figure out what is different between the published script and the 'in edit' version

                    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  ·  Other  ·  Flag idea as inappropriate…  ·  Admin →
                    • Update SSH.NET Library for SSH module

                      I was testing out Azure Automation service to run simple scripts on our Linux VMs. To do this, I imported "Run SSH Command to Install Updates" by Beth Cooper and SSH module by Joe Levy.

                      On the Linux box, I am getting the following error:
                      sshd: fatal: mm_answer_moduli: bad parameters: 2048 2048 1024

                      Searching for solution, I stumbled upon a forum where it was said that the latest version of SSH.NET library addressed this problem. It would be helpful if the SSH module can be updated to make it work with the latest Linux (SSH) boxes.

                      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  ·  Linux support  ·  Flag idea as inappropriate…  ·  Admin →
                      • Improve error message when uploading configuration

                        Error message when uploading an invalid configuration file resulted in "Gateway timeout" error message via the portal and via powershell upload. Actual resolution to the issue was to modify the configuration file Import-DscResource statements to use -ModuleName instead of -Name parameters.

                        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  ·  Debugging and troubleshooting  ·  Flag idea as inappropriate…  ·  Admin →
                        • Forward job status and job streams from Automation to Log Analytics (OMS) - failed runbooks not forwarded?

                          I`ve followed these instructions to enable log analytics in OMS: https://docs.microsoft.com/nb-no/azure/automation/automation-manage-send-joblogs-log-analytics

                          However, status for failed runbooks does not seem to be logged. If I search for all job logs for the past month (Category=JobLogs), all that is returned is runbook jobs with the result type "Started" and "Succeeded" (see attachment). If I check the job logs manually in Azure Automation I can see several failed runbooks which I expected to be visible in OMS. Is this a bug?

                          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 →
                          • Forward job status and job streams from Automation to Log Analytics (OMS) - troubleshooting

                            I`ve followed these instructions in 3 different subscriptions/Automation Accounts to enable log analytics in OMS: https://docs.microsoft.com/nb-no/azure/automation/automation-manage-send-joblogs-log-analytics
                            The Enable-AzureDiagnostics.ps1 script ran without issues, and I see two Blob containers created - insights-logs-joblogs and insights-logs-jobstreams.
                            Also, the Get-AzureRmOperationalInsightsStorageInsight returns the information desribed in the section "Verify configuration" in the article.
                            However, none of the following queries returns any entries in OMS:
                            Category=JobStreams
                            Category=JobLogs
                            I thought it could take some time before it started working, but now 1 week have passed since I enabled job forwarding.
                            Any hints on how to troubleshoot?

                            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  ·  Debugging and troubleshooting  ·  Flag idea as inappropriate…  ·  Admin →
                            • “Run time” property in DSC node reports is incorrect

                              I just noticed the following in Azure Automation DSC: The “Run time” property is way off for all DSC node reports in my Automation account, attached is an example showing runtimes of large timespans such as 23 hours.

                              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 →
                              • Resource Lock names are URLencoded

                                Sample code:
                                Get-AzureRmResourceLock -ResourceGroupName $resourceGroup.ResourceGroupName | foreach { write-output $_.name; Remove-AzureRmResourceLock -LockName $_.name -ResourceGroupName $resourceGroup.ResourceGroupName -force }
                                Output:
                                Remove-AzureRmResourceLock : The resource lock '/subscriptions/{guid}/resourceGroups/del-dtl2/providers/Microsoft.Authorization/locks/DevTestLabs%20Lock' could not be found.

                                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 →
                                • PowerShell cmdlet to get Runbook context.

                                  It would be great if you could use in runbook code something like Get-RunbookContext to retrieve the current ResourceGroup and/or Automation Account the runbook is executing in. Then it would be much easier to locate Automation Account Assets like connections and variables without the need to hard-code them into your Runbook. The PowerShell commands available to retrieve and use assets require you to specify the ResourceGroup and Automation Account the asset is stored under.

                                  7 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 →
                                  • 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  ·  Scheduling  ·  Flag idea as inappropriate…  ·  Admin →
                                    • ctrl+s to save

                                      When editing a workbook, ctrl s should save the workbook, instead of having to press the save button

                                      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 →
                                      • "Saving the runbook" after creation of new runbook for a few min

                                        How long after creation and publishing a new run book before you can use the Test pane?

                                        Seems to be more then a few min after the publishing process finishes. Would be nice to have a message with the time needed to wait before you can run test panel.. Instead you get "Saving the runbook" if you try to run it.

                                        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 →
                                        • 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…)
                                            0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                                          ← Previous 1 3 4 5 9 10
                                          • Don't see your idea?

                                          Feedback and Knowledge Base