1,321 questions with Azure Automation tags

Sort by: Updated
1 answer

Doc page web unavailable

Hi everyone, I see the page URL resource is not availabe Azure Automation https://learn.microsoft.com/en-us/azure/automation/automation-send-email?source=docs

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,321 questions
asked Feb 28, 2025, 1:52 PM
Djamel Garar 0 Reputation points
edited an answer Mar 1, 2025, 1:56 AM
Ashok Gandhi Kotnana 3,975 Reputation points Microsoft External Staff
1 answer

Azure Automation Accounts | Maximum number of Accounts reached

Getting the following error when trying to create an automation account via Terraform. "Maximum number of Accounts reached. If Deleted recently, please restore the same account". If I look at automation accounts for the subscription I have none…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,321 questions
asked Feb 28, 2025, 12:49 PM
rhod3rz 0 Reputation points
edited a comment Feb 28, 2025, 2:17 PM
Ashok Gandhi Kotnana 3,975 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

Is it possible to upscale multiple Azure VMs in parallel without waiting for each job to finish?

I am trying to upscale multiple Azure VMs in parallel using an Azure Automation runbook. My goal is to stop, resize, and start all VMs simultaneously, without waiting for one job to finish before starting another. Current Approach: Using Azure…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,321 questions
asked Feb 28, 2025, 6:30 AM
Niket Kumar Singh 435 Reputation points
accepted Feb 28, 2025, 9:38 AM
Niket Kumar Singh 435 Reputation points
1 answer

Azure Automation State Configuration deprecation

Hi, According to the information on: https://learn.microsoft.com/en-us/azure/automation/automation-dsc-getting-started quote: "The Add, Compose configuration, and Gallery navigation links will be removed from the portal on March 31, 2025." Does…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,321 questions
asked Feb 26, 2025, 9:29 AM
Jimmy 20 Reputation points
commented Feb 28, 2025, 12:59 AM
Rahul Podila 1,920 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

Azure Automation Runbook PowerShell Workflow v7.2 Support

Hello, Azure Automation Runbook supports PowerShell Workflow version 5.1 at the moment, is there any Preview/GA for version 7.2 anytime soon? Thank you, Michel

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,321 questions
asked Feb 27, 2025, 5:48 PM
Michel Sfeir 125 Reputation points
edited a comment Feb 27, 2025, 7:37 PM
Pranay Reddy Madireddy 2,400 Reputation points Microsoft External Staff
0 answers

Azure automation account Hybrid Worker - failed to connect to MSI

Hi, I want to convert my PS runbook to Azure CLI and it has to run on a Hybrid Worker. The PS login is like this $AzureContext = (Connect-AzAccount -Identity).context Now, with Azure CLI, i suppose it's the following... $AzureContextcli = (az login…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,321 questions
asked Feb 27, 2025, 4:25 PM
Charles Thivierge 4,141 Reputation points
1 answer One of the answers was accepted by the question author.

Managed identity on automation account not working as expected

I'm trying to use an Automation account to put some AVD hosts in azure local in drain so I can shut them down, I've configured an hybrid worker that is working with other runbooks but when I try to connect to azure using the managed identity of the…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,321 questions
asked Feb 26, 2025, 11:51 AM
David Pereira 40 Reputation points
commented Feb 27, 2025, 2:00 PM
David Pereira 40 Reputation points
1 answer One of the answers was accepted by the question author.

How to execute kubectl command in a PowerShell Runbook ?

We are trying to use an Azure Automation Runbook to interact with an Azure Kubernetes Service (AKS) cluster using a System Assigned Managed Identity. The goal is to auto-restart a deployment in a specific namespace at 23.59 every night. What We Are…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,321 questions
asked Feb 25, 2025, 10:28 PM
Niccolo 20 Reputation points
accepted Feb 26, 2025, 2:04 PM
Niccolo 20 Reputation points
1 answer

Azure Tags

Hello All, I have many subscriptions in my azure tenant. And I have assigned multiple tags to multiple resources and resource. So Know I want to download the list of the tags that are assigned and their respective data. It is a bit urgent. If anyone…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,321 questions
asked Feb 14, 2025, 5:27 PM
Om Bhosle 80 Reputation points
edited a comment Feb 25, 2025, 6:21 AM
Naveena Patlolla 655 Reputation points Microsoft External Staff
1 answer

Error: pwsh.exe is not recognized as a command or operable program

I have 7 runbooks scheduled to run daily but there failed with exception error starting this week. runbooks were working fine previously on schedule. I can run manually successfully but it take long time at Queued status and end up failed on…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,321 questions
asked Feb 20, 2025, 7:39 AM
Teja Alavelli 0 Reputation points
answered Feb 24, 2025, 10:32 AM
Pavan Minukuri 1,230 Reputation points Microsoft External Staff
2 answers

How to publish a Runbook to latest runtime version using blob storage?

Hi, so i have written a Powershell script that publish a files to my blob storage, and i got it to upload the file(s) to Process Automation/Runbooks. But i cant seem to get the Runtime version to the latest, how can i do that? Right now a part of the…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,321 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,836 questions
asked Feb 12, 2025, 12:46 PM
André Lindqvist 20 Reputation points
edited a comment Feb 24, 2025, 9:21 AM
Naveena Patlolla 655 Reputation points Microsoft External Staff
0 answers

managed identity intermitten issues

I have an Azure Automation Runbook that intermittently works with Managed Identities. I have multiple Automation Accounts that worked flawlessly up until around these time. What I've tried: Turning Managed Identities off/on, re-assigned proper…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,321 questions
asked Feb 21, 2025, 2:38 PM
Tuan Nguyen 0 Reputation points
commented Feb 21, 2025, 8:07 PM
Vinod Pittala 420 Reputation points Microsoft External Staff
2 answers

Hybrid Worker Extension setting up error: Provisioning failed

Can anyone please help? I'm new to this. I've added a Hybrid Worker to my group but it's failing. I'm trying to fix this error: Status message Extension '' of Handler 'Microsoft.Azure.Automation.HybridWorker.HybridWorkerForWindows' version '1.1.13'…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,321 questions
asked Feb 19, 2025, 3:35 PM
Patrick F 0 Reputation points
commented Feb 21, 2025, 11:20 AM
Pranay Reddy Madireddy 2,400 Reputation points Microsoft External Staff
1 answer

We have received a service alert from Microsoft regarding upcoming maintenance:

Maintenance Details: The maintenance will affect virtual machines in East US. Schedule: From 24 February 2025, 07:30 UTC, to 28 February 2025, 07:30 UTC. During this window, IaaS virtual machines will be migrated to newer network hardware. Each virtual…

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,441 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,321 questions
asked Jan 24, 2025, 10:12 AM
Raju Kothapally 5 Reputation points
commented Feb 21, 2025, 4:35 AM
Mounika Reddy Anumandla 2,585 Reputation points Microsoft External Staff
0 answers

Error ejecución runbooks: Unable to acquire token for tenant 'organizations' with error 'A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host

Tengo creado 3 runbooks para prender VM a las 01:00, 02:00 y 03:00, han venido trabajando sin problema mas de 6 meses, sin embargo hoy no se encendió una VM cuando se ejecutó el runbooks de las 01:00, al revisar la ejecución tengo este…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,321 questions
asked Feb 17, 2025, 3:18 PM
Edgar Jimbo 0 Reputation points
commented Feb 21, 2025, 1:06 AM
Pranay Reddy Madireddy 2,400 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

Connect Azure Automation Account to Azure SQL using Managed Identity

Hello, I'm trying to create a Runbook (Powershell) to connect to Azure SQL Database and then add an Entra ID user in that database. If there is way to do so in CLI commands it's fine by me. The problem is that we're always stuck at the DB connection step…

Azure SQL Database
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,321 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,836 questions
asked Feb 19, 2025, 9:56 AM
Michel Sfeir 125 Reputation points
accepted Feb 20, 2025, 5:21 PM
Michel Sfeir 125 Reputation points
1 answer

Source Control on Automation Account not starting on new commit

Hello, I'm encountering an issue with Incremental Sync on Automation Accounts. On uploading a new commit into our repo - the incremental Sync does not start. No error nothing. Starting a full sync works fine. I waited multiple times for at least 30…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,321 questions
asked Feb 18, 2025, 1:37 PM
Maximilian W 0 Reputation points
answered Feb 20, 2025, 3:04 PM
Ashok Gandhi Kotnana 3,975 Reputation points Microsoft External Staff
3 answers

Azure Automation - Source Control - Setup Errors

From the website i get this when i select authorize. Azure Repo (git) The authorization process could not be completed. my account is a azure global admin, azure repo project admin from powershell i get this: New-AzAutomationSourceControl :…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,321 questions
asked Jul 24, 2020, 2:22 PM
GeorgeD16 6 Reputation points
answered Feb 19, 2025, 6:51 PM
Caio Bauab 1 Reputation point
1 answer

How to load assembly path in the new runtime experience in Automation Accounts' runbooks?

We have a runbook that we use to log to Application Insights. We use it for making logs both from Azure and Hybrid workers. In hybrid workers the logging works correctly, but in Azure it fails with Cannot find type…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,321 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,836 questions
asked Apr 25, 2024, 10:08 AM
Alibek Cholponbaev 20 Reputation points
answered Feb 16, 2025, 10:46 PM
Ambrose Wong 0 Reputation points Microsoft Employee
1 answer

How to Fix Runbook Error

I have an error which occasionally appears on my azure automation account runbook. This has only happened twice in the last month, and i'm unable to determine the cause of the error. Any help would be much appreciated. The error I get is "The SSL…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,321 questions
asked Oct 22, 2024, 9:47 PM
Navaska 25 Reputation points
commented Feb 16, 2025, 7:34 PM
Wintill, Ethan 0 Reputation points