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. 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 →
  2. Az module by default for new Automation Accounts - AzureRM is deprecated

    Please stop including AzureRM module(s) by default for new Automation Accounts. AzureRM is deprecated, no updates since 2018 (1), and Automation Accounts still haven't jumped to Az module as the new default.

    Also, please provide an option to remove everything AzureRM within an existing Automation Account and jump to Az. Maybe a switch back and forth AzureRM <-> Az <-> Both would be the best solution here.


    1. https://www.powershellgallery.com/packages/AzureRM

    7 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 →
  3. 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 →
  4. 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 →
  5. Add SupportsShouldProcess (WhatIf) Support

    Currently there is no way to utilize the CmdletBinding(SupportsShouldProcess) functionality in runbooks. The current way to add this type of functionality is to create your own [bool]$WhatIf parameter and use if/else statements.

    This means that existing scripts must be re-written (going a step backwards), and it adds increased complexity to runbooks.

    Please automatically add the WhatIf and Confirm parameters when CmdletBinding(SupportsShouldProcess=$True).

    https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/aboutfunctionscmdletbindingattribute?view=powershell-6#supportsshouldprocess

    6 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    3 comments  ·  PowerShell cmdlets  ·  Flag idea as inappropriate…  ·  Admin →
  6. 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 →
  7. Signed runbooks for Azure cloud platform worker

    Please add support to run only signed Runbooks so that we can be sure that no modifications are made for our runbooks.
    It should work not only on Hybrid worker as it is now, but also on Azure cloud platform worker.
    We should be able to provide our certificates for signature checks (better via KeyVault integration).

    29 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 →
  8. Creation of run to check the Logic app trigger history

    Creation of run to check the Logic app trigger history:

    We already have Azure PS cmdlets to get the logic history, but it cannot be used in the Runbook. Please enable a way to use the following commands

    Get-AzureRmLogicAppRunHistory

    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.

  9. 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.

  10. 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 →
  11. 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.

  12. Use new Azure API version2017-03-03-Preview in Set-AzOperationalInsightsSavedSearch to support new Kusto query

    Please use new Azure API version2017-03-03-Preview in Set-AzOperationalInsightsSavedSearch to support new Kusto query instead API version-2015-03-xx. The old API doesn't support new Kusto queries and I receive errors like:

    PS C:\Windows\system32> set-AzOperationalInsightsSavedSearch -ResourceGroupName rgvmosupdates -WorkspaceName VM-OS-Updates -DisplayName "TestQuery" -SavedSearchId testquery -Category "Updates" -Query 'Update | where UpdateState in~ ("needed", "not needed")' -Version 1

    set-AzOperationalInsightsSavedSearch : This oms query language is not supported on current workspace anymore. The query cannot be converted to new language. Check query syntax.
    At line:1 char:1
    + set-AzOperationalInsightsSavedSearch -ResourceGroupName rgvmosupdates ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [Set-AzOperationalInsightsSavedSearch], CloudException
    
    + FullyQualifiedErrorId : Microsoft.Rest.Azure.CloudException,Microsoft.Azure.Commands.OperationalInsights.SetAzureOperationalInsightsSavedSearchCommand

    Portal is…

    17 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 →
  13. 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 →
  14. 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 →
  15. Onboard machines for Update Management from Powershell

    All the ways of onboarding VMs to Update Mangement and Inventory rely on runbooks and the portal. This isn't very helpful when your environment build is completely automated.

    So whilst I can create a SoftwreUpdateConfiguration in Powershell, I can't get the servers in there to be able to run it against.

    14 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    3 comments  ·  PowerShell cmdlets  ·  Flag idea as inappropriate…  ·  Admin →
  16. 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 →
  17. Add to child jobs to have a FullLanguage mode like a main job

    Currently the Azure Automation uses SQLPAL/Drawbridge technology for isolation. Because of this, only top-level jobs support FullLanguage mode. I wish to ask remove this limitation of having ConstrainedLanguage mode in a child jobs. It affects using very important data types like System.Collections.ArrayList for example and many other things.

    7 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 →
  18. 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 →
  19. Powershell Cmdlets to manage Automation Patch Management

    Create Powershell Cmdlets to manage Azure Automation Patch Management

    9 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 →
  20. 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 →
← Previous 1
  • Don't see your idea?

Feedback and Knowledge Base