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. Support the Get-AzureRmVmss Cmdlet

    It seems the *-AzureRmVmss cmdlets are not supported in Automation. Specifically Get-AzureRmVmss, Update-AzureRmVmss and other cmdlets in the family. This is especially annoying since they are actually used in the "Scale Down Virtual Machine Scale Set Instances", "Scale Up Virtual Machine Scale Set Instances" Gallery runbooks.

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  PowerShell cmdlets  ·  Flag idea as inappropriate…  ·  Admin →
  2. Possibility to Invoke a PS Command inside Azure VM Operating systems

    Include "Invoke-AzRMVMRunCommand" cmdlet to the library, to easily run consistent scripts to stop inside servers services before Deallocating the AzureVM

    3 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 →

    Thanks for the valid suggestion. Your feedback is now open for the user community to upvote & comment on. This allows us to effectively prioritize your request against our existing feature backlog and also gives us insight into the potential impact of implementing the suggested feature.

  3. Show PowerShell command line for creating any Resource when you select the resource

    Showing PowerShell command line for creating a Resource when you select a similar resource from Azure Portal will help those who are working on automating the Azure tasks.

    This is similar to how you show the downloadable template for any resource. You can show the PowerShell command line for achieving similar results.

    3 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 →
  4. Support PowerShell functions in Graphical Runbooks

    Please add support for adding function-calls in Graphical Runbooks. Some modules (like vsTeam) do not provide cmdlets but only export PowerShell functions. This functions do not appear in the left pane and therefore cannot be used in Graphical Runbooks.

    3 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 →
  5. Add Get-AzureRmAutomationJob status filters for "active" and "inactive" runbooks

    Currently the Get-AzureRmAutomationJob cmdlet provides the ability to filter on a specific status of jobs (e.g. "Running" or "Suspended" etc.). I would like to see two additional status options that represent a grouping of status selections such as "Active" which would encompass all the status selections where the job has not yet completed execution and perhaps something like "Inactive" that would represent all selections where the job has finished executing (e.g. "Completed", "Failed" or "Stopped").

    Currently to achieve this I have to query for each of the status options that would make up an "active" job individually which then requires…

    2 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  PowerShell cmdlets  ·  Flag idea as inappropriate…  ·  Admin →
  6. Provide a way to "close" TCP sockets opened by accessing Azure PaaS services

    Iterating over resources (such as all storage accounts across all subscriptions) can result in thousands of open TCP sockets. This is particularly problematic for Azure runbooks which suspend runbooks execution when 1,000 sockets are reached.

    Either provide a way to close such sockets (e.g. "close-AzureStorage -Context $sa.context) OR at least close sockets automatically in Azure runbooks on a least-recently-used basis. The work-around is to use hybrid runbooks but that defeats the purpose of using the built-in Azure automation.

    2 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 →
  7. User Context

    Can you please help me extract the Login ID that is currently running the Run Book .As we do not have a Runbook level restriction within a Azure Automation account ,idea is to check if the current user would login to Azure Portal to execute the Runbook .Before user can execute a the script we need to check if the user is part of a AD Group .

    2 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 →
  8. Update-AzureRmVM not supports try-catch.

    Update-AzureRmVM not supports try-catch.

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  PowerShell cmdlets  ·  Flag idea as inappropriate…  ·  Admin →
  9. The cmdlets to deploy Azure Files Share snapshots scheduler

    Who can tell me how to deploy Azure Files Share snapshots scheduler (except uses Azure backup for the share files).
    Thanks so much.

    1 vote
    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 →
  10. Update Azure Module option for ALL the MS modules

    When you choose the option "Update Azure modules" update ALL the Microsoft modules not just the Azure Core modules. Alternatively display for which modules there are updates available.

    1 vote
    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 →

    Thanks for the valid suggestion. Your feedback is now open for the user community to upvote & comment on. This allows us to effectively prioritize your request against our existing feature backlog and also gives us insight into the potential impact of implementing the suggested feature.

  11. Bug in Azure run-book. Power-shell script is unable to execute in azure run book

    Bug in Azure run-book. Power-shell script is unable to execute in the azure run book. For more details please check the case history of 119061723001596

    1 vote
    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. Right sentance of Remove-HybridRunbookWorker

    In this case for remove a VM from gybrid group"Remove-HybridRunbookWorker -url <URL> -key <PrimaryAccessKey> -machineName <ComputerName>" You must use a FQDN full name of VM

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  PowerShell cmdlets  ·  Flag idea as inappropriate…  ·  Admin →
  13. Update script to create runas account using Az module

    Script "New-RunAsAccount.ps1" from: "https://docs.microsoft.com/en-us/azure/automation/manage-runas-account#prerequisites", stay using AzureRM modules, and when I tried to change cmd-let it's didn't work.
    Here the erros i got:
    First one:
    Import-Module Az.Profile
    + CategoryInfo : ResourceUnavailable: (Az.Profile:String) [Import-Module], FileNotFoundException
    + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand

    Another error:
    .\New-RunAsAccount.ps1 -ResourceGroup $RGAutomationName -AutomationAc ...
    + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-RunAsAccount.ps1

    1 vote
    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 →
  14. Ability to add tags to extensions

    We have a policy that Requires a specific tag to be added to all the resources. When we use New-AZVM or Set-AzureRmVMBginfoExtension it doesn't let us add tag to the extensions and VM creation is failing.

    1 vote
    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 →
  15. 1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  PowerShell cmdlets  ·  Flag idea as inappropriate…  ·  Admin →
    under review  ·  Beth Cooper responded

    Connection types are defined as a file in the module file. Is there a reason that you want to created them via cmdlets instead?

    As a side note, you can do this through our API today as a workaround.

  16. New-AzureRmAutomationCertificate -AutomationAccountName does not recognise the $PfxCertPath

    Trying to create a new certificate with PowerShell foran Automation Account and it keeps failing with "New-AzAutomationCertificate: Cannot find path '/home/<account>/<file_name>.pfx' because it does not exist.

    https://docs.microsoft.com/en-us/azure/automation/shared-resources/certificates#to-create-a-new-certificate-with-powershell

    1 vote
    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 →
  17. Powershell command to manage alerts

    I'd like to have a way to bulk manage alerts. currently I have to navigate to alerts > select the alert to see the smart group> and I can change the state to 10 alerts at a time to closed or acknowledged. but when I have 300+ alerts to change the state to this takes too long.

    1 vote
    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 →
2 Next →
  • Don't see your idea?

Feedback and Knowledge Base