1,323 questions with Azure Automation tags

Sort by: Updated
1 answer

Automation Account How to Stop and start Multiples VMS

How to Start and Stop Multiple VMs Using Specific Tag Keys and Values in an Automation Account.

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,323 questions
asked 2025-03-06T01:06:19.02+00:00
Akhila Anne 0 Reputation points
edited a comment 2025-03-06T23:54:23.0866667+00:00
Naveena Patlolla 740 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

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,323 questions
asked 2025-02-26T09:29:26.9666667+00:00
Jimmy 40 Reputation points
accepted 2025-03-06T11:19:18.8966667+00:00
Jimmy 40 Reputation points
0 answers

Unable to stop the runbooks on automation account

Following runbooks we are not able to stop/ suspend. we tried following ways of stopping : Manually stop/suspend job Using REST API call from ADF to stop the jobs Restarted hybrid worker service Tried deleting runbook and again creating it Still…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,323 questions
asked 2025-03-05T09:06:26.04+00:00
Salati, Sabiya 0 Reputation points
commented 2025-03-06T08:44:25.72+00:00
Pavan Minukuri 1,230 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,323 questions
asked 2025-02-27T16:25:04.8+00:00
Charles Thivierge 4,141 Reputation points
commented 2025-03-05T18:44:10.1733333+00:00
Naveena Patlolla 740 Reputation points Microsoft External Staff
2 answers

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,463 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,323 questions
asked 2025-01-24T10:12:35.7566667+00:00
Raju Kothapally 5 Reputation points
commented 2025-03-05T12:34:46.44+00:00
Mounika Reddy Anumandla 2,740 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

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,323 questions
asked 2025-02-28T13:52:58.75+00:00
Djamel Garar 20 Reputation points
accepted 2025-03-03T14:46:45.84+00:00
Djamel Garar 20 Reputation points
5 answers

How to link automation account to Log Analytics workspace

I a have created a new automation account and Log Analytics workspace, but there is no way to link them. I have found some steps, but the option from update management is not availible anymore.

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,323 questions
asked 2024-10-16T14:05:35.87+00:00
Userss12 0 Reputation points
answered 2025-03-03T14:18:41.3733333+00:00
Karni Gupta (MSFT) 85 Reputation points Microsoft Employee
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,323 questions
asked 2025-02-28T12:49:31.5366667+00:00
rhod3rz 0 Reputation points
commented 2025-03-03T01:06:42.7033333+00:00
Vinod Pittala 580 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,323 questions
asked 2025-02-28T06:30:52.57+00:00
Niket Kumar Singh 435 Reputation points
accepted 2025-02-28T09:38:27.34+00:00
Niket Kumar Singh 435 Reputation points
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,323 questions
asked 2025-02-27T17:48:22.8833333+00:00
Michel Sfeir 125 Reputation points
edited a comment 2025-02-27T19:37:37.18+00:00
Pranay Reddy Madireddy 2,405 Reputation points Microsoft External Staff
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,323 questions
asked 2025-02-26T11:51:06.7+00:00
David Pereira 40 Reputation points
commented 2025-02-27T14:00:37.18+00:00
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,323 questions
asked 2025-02-25T22:28:13.9733333+00:00
Niccolo 20 Reputation points
accepted 2025-02-26T14:04:18.8366667+00:00
Niccolo 20 Reputation points
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,323 questions
asked 2025-02-20T07:39:22.6366667+00:00
Teja Alavelli 0 Reputation points
answered 2025-02-24T10:32:59.67+00:00
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,323 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,849 questions
asked 2025-02-12T12:46:12.4666667+00:00
André Lindqvist 20 Reputation points
edited a comment 2025-02-24T09:21:08.7366667+00:00
Naveena Patlolla 740 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,323 questions
asked 2025-02-21T14:38:21.6633333+00:00
Tuan Nguyen 0 Reputation points
commented 2025-02-21T20:07:25.68+00:00
Vinod Pittala 580 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,323 questions
asked 2025-02-19T15:35:08.16+00:00
Patrick F 0 Reputation points
commented 2025-02-21T11:20:28.0533333+00:00
Pranay Reddy Madireddy 2,405 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,323 questions
asked 2025-02-17T15:18:52.2533333+00:00
Edgar Jimbo 0 Reputation points
commented 2025-02-21T01:06:50.0133333+00:00
Pranay Reddy Madireddy 2,405 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,323 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,849 questions
asked 2025-02-19T09:56:47.0966667+00:00
Michel Sfeir 125 Reputation points
accepted 2025-02-20T17:21:43.84+00:00
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,323 questions
asked 2025-02-18T13:37:53.1833333+00:00
Maximilian W 0 Reputation points
answered 2025-02-20T15:04:06.3833333+00:00
Ashok Gandhi Kotnana 4,220 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,323 questions
asked 2020-07-24T14:22:51.723+00:00
GeorgeD16 6 Reputation points
answered 2025-02-19T18:51:59.2933333+00:00
Caio Bauab 1 Reputation point