1,518 questions with Azure Automation tags

Sort by: Updated
3 answers

Changing the Azure Automation runtime configuration for hybrid worker jobs doesn't change the execution runtime

We've upgraded to the new runtime experience in Azure Automation, and I'm attempting to change the runtime environment for some of our PowerShell 5 jobs to 7.4 without any success. The runtime definition specifies PowerShell 7.4: The script indicates…

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,518 questions
asked 2026-07-22T15:48:13.8533333+00:00
RB 0 Reputation points
answered 2026-07-27T21:47:38.89+00:00
RB 0 Reputation points
2 answers

Cannot Publish My Runbook (Powershell type) Which Tests OK

I have created an Automation Account. Within that account, I have created a Runbook (Powershell type). I have successfully tested the Runbook. I have created a Schedule. I wish to associate the Runbook with the Schedule. However, I must…

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,518 questions
asked 2026-07-22T22:49:16.66+00:00
Edward M. Hanna 0 Reputation points
answered 2026-07-27T06:20:43.8433333+00:00
Ravi Varma Mudduluru 12,535 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

How to update my runbooks to supported runtime versions of Python and PowerShell.

I received a notification that I'm currently using Azure Automation Runbooks running on unsupported runtime versions - Python 2.7, Python 3.8, and PowerShell 7.1 & 7.2. I need to update the runtime version, but following this guide…

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,518 questions
asked 2026-07-15T13:52:44.4166667+00:00
Silvia Baruzzo 25 Reputation points
commented 2026-07-22T08:29:51.5233333+00:00
Mario Sierra Fernández 0 Reputation points
1 answer

Azure Automation - Scheduled Runbook executions are not recorded in Activity Log

Hi Microsoft Team, I have an Azure Automation Account with a published runbook that is linked to a schedule. When I manually start the runbook, I can see an entry in the Activity Log (under the Automation Account) indicating that the runbook was…

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,518 questions
asked 2026-07-20T07:10:44.1033333+00:00
Dey, Dipronil 0 Reputation points
commented 2026-07-20T17:54:13.5233333+00:00
Suchitra Suregaunkar 16,125 Reputation points Microsoft External Staff Moderator
2 answers

Azure Runbook not found error after Automation Account restore

I've restored an automation account but I get an error "ressource not found" when I want to open the runbook. symptoms: Runbook visible in ARM Runbook runs fine Portal returns 404 Content endpoint returns 404 Export-AzAutomationRunbook…

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,518 questions
asked 2026-07-10T11:44:59.3033333+00:00
Adem 0 Reputation points
commented 2026-07-14T09:21:11.55+00:00
Adem 0 Reputation points
3 answers One of the answers was accepted by the question author.

How do I find available versions for an Azure Verified Module (AVM) in Bicep?

I am learning a Azure verified modules using biceps, I am going through a sample biceps registry GitHub repo https://github.com/Azure/bicep-registry-modules/tree/main/avm/res/resources/resource-group, I'm able to see a quick example to start with…

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,518 questions
asked 2026-04-08T23:44:43.8+00:00
Uziel Jude 20 Reputation points
answered 2026-07-07T13:19:11.1766667+00:00
Maarten Balliere 10 Reputation points
2 answers

Deploy various agents on AzureArc managed Windows server

Hi all, Is anyone else managing a number of Windows Azure Arc-enabled server VMs that require installation various third-party agents, such as ServiceNow, CrowdStrike, and similar tools? We do not have SCCM in our environment, so I’m interested in…

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,518 questions
asked 2026-07-02T09:48:14.2633333+00:00
HAL9000 26 Reputation points
answered 2026-07-02T13:47:37.2333333+00:00
Bharath Y P 10,355 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

Azure Automation Source Control is consistently failing to import certain runbooks

Azure Automation Source Control is consistently failing to import certain PowerShell runbooks from GitHub. If the runbooks are deleted, it can recreate them in 5.1 runtime w/o issues. However, it fails to update them if they already exist in runtime…

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,518 questions
asked 2026-07-01T14:41:38.2633333+00:00
Andrew Holland 40 Reputation points
commented 2026-07-01T16:50:38.38+00:00
Andrew Holland 40 Reputation points
1 answer One of the answers was accepted by the question author.

How is it possible to add a user to Distribution List via Add-DistributionGroupMember from an Azure Automation Account?

I have a PowerShell script that works both from PowerShell ISE (PS version 5.1.26100.8655) and VS Code (PS version 7.6.2) and successfully adds the designated user to a distribution list. I am now trying to get this script to run from an Automation…

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,518 questions
asked 2026-06-25T17:57:29.63+00:00
Tyler Wakefield 30 Reputation points
accepted 2026-06-26T18:30:53.5533333+00:00
Tyler Wakefield 30 Reputation points
1 answer

WSABlockingCall Error

When running various Azure Automation runbooks on non-conflicting schedules, the following error appears randomly: Unable to read data from the transport connection: A blocking operation was interrupted by a call to WSACancelBlockingCall. These errors…

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,518 questions
asked 2026-06-25T19:20:59.1333333+00:00
SP Account 0 Reputation points
commented 2026-06-26T17:53:21.29+00:00
Suchitra Suregaunkar 16,125 Reputation points Microsoft External Staff Moderator
5 answers One of the answers was accepted by the question author.

Azure VM - Cannot Add Automation Tasks

Hi There! As of a few days ago May 2026, I am noticing that existing Azure VM Automation Tasks, like 'Start a Virtual Machine" are no longer available as shown below. How do I restore the ability to add automation tasks to my affected VM's. This…

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,518 questions
asked 2026-06-02T14:27:28.75+00:00
Matthew Hunt 25 Reputation points
accepted 2026-06-12T13:04:14.8066667+00:00
Matthew Hunt 25 Reputation points
2 answers

Azure Automation System Assigned Managed Identity Runbook issue with Exchange Online Mail Enabled SG and Entra ID

Hello Everyone, I have a weird issue that I can't get my head around. I have created a runbook that connects via System Assigned Managed Identity to Exchange Online Management that adds a UPN as a member to a Mail Enabled Security Group ObjectID using…

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,518 questions
asked 2026-06-10T22:55:37.8533333+00:00
Cory Teale 0 Reputation points
commented 2026-06-11T15:21:27.38+00:00
Cory Teale 0 Reputation points
1 answer

Runbook wont publish -tutorial examples are published

Hi, New to Automation Accounts and Runbooks and creating a new Runbook but it won't publish, been waiting a while now with refresh and troubleshooting is showing no problems, even deleted and tried again, the tutorial examples are published and I've…

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,518 questions
asked 2026-06-04T14:53:43.3333333+00:00
Paul Murphy 0 Reputation points
answered 2026-06-04T15:28:34.8233333+00:00
Paul Murphy 0 Reputation points
1 answer

the Automation Account has been taking significantly longer to start the VM.

I have a Python runbook script that starts the Matillion virtual machine. Recently, the Automation Account has been taking significantly longer to start the VM. In some cases, it takes up to 30 minutes, whereas it previously took between 2 and 5 minutes…

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,518 questions
asked 2026-06-01T16:05:59.1866667+00:00
SergiuAdmin 0 Reputation points
answered 2026-06-02T22:07:19.3933333+00:00
Suchitra Suregaunkar 16,125 Reputation points Microsoft External Staff Moderator
1 answer

Azure Automation Runbooks are not stable with Publish/Save

Title: Azure Automation Runbook publish unreliable / parameters inconsistent Message: When editing PowerShell runbooks in Azure Automation (Portal), the publish action frequently hangs or does not complete. Additionally: Parameters sometimes…

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,518 questions
asked 2026-05-21T07:45:25.58+00:00
Mavvoorn 0 Reputation points
answered 2026-05-29T17:35:14.3266667+00:00
Sina Salam 31,056 Reputation points Volunteer Moderator
1 answer One of the answers was accepted by the question author.

Automation runbook fails with 'this.Client.SubscriptionId' cannot be null. ('this.Client.SubscriptionId' cannot be null.)

Runbooks started to fail randomly today from 8am utc. Affects all our automation accounts in West US region. Get-AzAutomationJob: Line | 250 | … WithRetry -Command { Get-AzAutomationJob @AutomationData -Id $jobId } | …

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,518 questions
asked 2026-05-28T09:50:39.5733333+00:00
Denis Abramov 20 Reputation points Microsoft Employee
accepted 2026-05-29T07:49:13.24+00:00
Denis Abramov 20 Reputation points Microsoft Employee
1 answer

Deploying based on env specfic values

when we have dev , prod environments , i understood that we use workspace to get seperate state and also to have env specific values, but we need to remember this switching to workspace, how we can do this without switching to workspace, any other best…

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,518 questions
asked 2026-05-15T06:34:55.6833333+00:00
Varma 1,620 Reputation points
edited a comment 2026-05-29T03:22:59.23+00:00
Siva shunmugam Nadessin 10,895 Reputation points Microsoft External Staff Moderator
2 answers

AzAutomation PS 7.2, error details empty

When running a PS 7.2 script in AzAutomation and it errors, the details are empty. This causes you to have to open the error entry, then the pane on the right opens up with more information, the error is displayed in there. How do we fix this? Already…

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,518 questions
asked 2026-05-28T07:02:12.0466667+00:00
Tijmen Schoemaker 0 Reputation points
answered 2026-05-28T16:32:42.51+00:00
Bharath Y P 10,355 Reputation points Microsoft External Staff Moderator
1 answer

How to pass parameters containing backslash in Start-AzAutomationRunbook correctly with Hybrid Workers and Powershell 7

Hi, I'm trying to call one Powershell 7 Azure runbook from another one by using Start-AzAutomationRunbook There is one parameter containing backslash characters (basically an UNC path), so it looks like this $Params = @{ "param" =…

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,518 questions
asked 2026-05-21T06:08:38.4766667+00:00
Martin Preishuber 0 Reputation points
commented 2026-05-26T18:32:44.13+00:00
Bharath Y P 10,355 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

'Loading failed. Please refresh in few moments' Browsing Powershell gallery

'Loading failed. Please refresh in few moments' error browsing the powershell gallery when creating an automation Runtime environment. This has been going on all day and makes it impossible to create a runtime environment when we need to add multiple…

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,518 questions
asked 2026-05-26T03:34:50.5233333+00:00
alex8bitw 20 Reputation points
accepted 2026-05-26T04:04:44.98+00:00
alex8bitw 20 Reputation points