1,513 questions with Azure Automation tags

Sort by: Updated
1 answer

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,513 questions
asked 2026-07-02T09:48:14.2633333+00:00
HAL9000 26 Reputation points
answered 2026-07-02T11:12:58.9066667+00:00
Marcin Policht 94,940 Reputation points MVP Volunteer 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,513 questions
asked 2026-07-01T14:41:38.2633333+00:00
Andrew Holland 0 Reputation points
commented 2026-07-01T16:50:38.38+00:00
Andrew Holland 0 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,513 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,513 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 15,130 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,513 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,513 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,513 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,513 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 15,130 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,513 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 30,486 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,513 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,513 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,513 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,180 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,513 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,180 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,513 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
1 answer

Even though bicep extension is there and installed not loading resources in VS studio

I am expecting to see all resources like below ( which is from another source) you can see bicep extension is installed but i am not seeing loading resources in my case and in my visual studio I am not finding it , please see below…

Azure Automation
Azure Automation

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

1,513 questions
asked 2026-05-10T04:02:54.52+00:00
Varma 1,620 Reputation points
edited a comment 2026-05-20T09:20:16.8266667+00:00
Siva shunmugam Nadessin 10,895 Reputation points Microsoft External Staff Moderator
3 answers

Way to lock manual addition at resource group level which was created throught terraform

I created Resource group and storage account in the azure cloud , i have done using terraform someone manually delted resource group from cloud any way to restrict deletion manually both at resource group level and at storage account level

Azure Automation
Azure Automation

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

1,513 questions
asked 2026-05-15T08:51:53.4333333+00:00
Varma 1,620 Reputation points
answered 2026-05-19T23:15:37.0366667+00:00
Bharath Y P 10,180 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

Not able to generate parameter file - Biceps

I am following below steps: Right click on below code: and clicked on generate parameter file and when i selected JSON and required all then i am seeing following error ; you can see the error on down bottom right side. but file is there right…

Azure Automation
Azure Automation

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

1,513 questions
asked 2026-05-15T06:23:44.74+00:00
Varma 1,620 Reputation points
accepted 2026-05-18T11:15:53.98+00:00
Varma 1,620 Reputation points
3 answers One of the answers was accepted by the question author.

Azure: a triggered Action Group executed linked runbook but did not send notifications

We have experienced an issue with budget cost alerts and action groups. The setup is as follows: a VM with a network and a storage an action group with a linked runbook; the action group has no assigned managed identity an automation account that…

Azure Automation
Azure Automation

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

1,513 questions
asked 2026-05-14T12:09:40.6766667+00:00
Andrey Davydov 25 Reputation points
answered 2026-05-15T10:42:58.7966667+00:00
Suchitra Suregaunkar 15,130 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

Way to replace existing strorage account in cloud using biceps

following bicep code: which creates storage account and i am using following deployment command to execute this code: @description('this is for storage account name') @minLength(3) @maxLength(24) param storageAccount string @description('this is for…

Azure Automation
Azure Automation

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

1,513 questions
asked 2026-05-11T02:15:40.48+00:00
Varma 1,620 Reputation points
accepted 2026-05-15T05:18:56.2066667+00:00
Varma 1,620 Reputation points
2 answers

Issue: Deployment Failed When Creating an Automation Account on Azure (400 Bad Request)

Hi, When attempting to create an automation account on Azure, either via Terraform (API) or through the Azure dashboard, I got the following error message: Your deployment failed unexpected status 400 (400 Bad Request) with response:…

Azure Automation
Azure Automation

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

1,513 questions
Microsoft Security | Microsoft Graph
asked 2024-07-01T09:13:40.0366667+00:00
lucab 0 Reputation points
answered 2026-05-05T12:16:41.5466667+00:00
kagiyama yutaka 3,925 Reputation points