1,507 questions with Azure Automation tags

Sort by: Updated
1 answer

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,507 questions
asked 2026-05-28T07:02:12.0466667+00:00
Tijmen Schoemaker 0 Reputation points
commented 2026-06-02T05:24:22.2633333+00:00
Bharath Y P 9,110 Reputation points Microsoft External Staff Moderator
0 answers

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,507 questions
asked 2026-06-01T16:05:59.1866667+00:00
SergiuAdmin 0 Reputation points
commented 2026-06-01T18:42:21.6133333+00:00
Suchitra Suregaunkar 14,410 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,507 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 29,761 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,507 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,507 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,820 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,507 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 9,110 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,507 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

Change Management Workflow option Grayed Out

In Unified Catalog under Process Automation Workflows while creating the new workflow I can see Change Management Option is grayed out.

Azure Automation
Azure Automation

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

1,507 questions
asked 2026-05-23T10:06:48.81+00:00
Yukta 0 Reputation points
commented 2026-05-25T12:37:26.3833333+00:00
Suchitra Suregaunkar 14,410 Reputation points Microsoft External Staff Moderator
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,507 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,820 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,507 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 9,110 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,507 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,507 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 14,410 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,507 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,507 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,430 Reputation points
1 answer

Automation Account error - when Try to call stored procedure from Automation account getting error:

Traceback (most recent call last): File "/usr/src/tmp/8643d647-6858-4b74-88c5-96b2e28a66f4/runbooks/Dravosa.py", line 30, in <module> cursor = source_engine.raw_connection().cursor() File…

Azure Automation
Azure Automation

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

1,507 questions
asked 2024-05-07T11:21:41.09+00:00
Prajna Jena (ADM) 0 Reputation points
answered 2026-05-05T11:36:08.9+00:00
Amira Bedhiafi 41,966 Reputation points MVP Volunteer Moderator
1 answer

My Job in a Hybrid Work is failing as out of resources

My job goes into suspended status with the exception of "Job was suspended as the job limit for a Hybrid Worker exceeded. Add more Hybrid Workers to the Hybrid Worker group to overcome this issue, see: https://aka.ms/HRW-polling-limit-exceed". …

Azure Automation
Azure Automation

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

1,507 questions
asked 2024-04-16T19:44:52.1966667+00:00
ESgmg 0 Reputation points
answered 2026-05-05T11:32:32.7533333+00:00
Amira Bedhiafi 41,966 Reputation points MVP Volunteer Moderator
1 answer

Migrating to Azure Update Manager issue with schedules

Hi, During the migration to Azure update manager from Update management I had failures under migrating the schedules step so I changed the setting to false…

Azure Automation
Azure Automation

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

1,507 questions
Azure Update Manager
Azure Update Manager

An Azure service to centrally manages updates and compliance at scale.

417 questions
asked 2024-06-17T19:05:32.6433333+00:00
D R 1 Reputation point
answered 2026-05-05T11:14:32.1066667+00:00
Amira Bedhiafi 41,966 Reputation points MVP Volunteer Moderator
1 answer

Newly created webhook not shown after creation

I have created a new Azure Automation Runbook and Webhook. The Runbook is PowerShell 5.1 based and is in "published" status. It stopped working so I went back to check the expiration of the webhook, and no webhooks are shown in the Webhook…

Azure Automation
Azure Automation

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

1,507 questions
asked 2024-06-25T20:39:21.36+00:00
Doug Horton 35 Reputation points
answered 2026-05-05T11:11:36.95+00:00
Amira Bedhiafi 41,966 Reputation points MVP Volunteer Moderator
1 answer

Need help creating an automation task to delete VM disk snapshots older than 60 days in Azure

Our organization has an issue with people creating snapshots for VMs on an ad-hoc basis. Sometimes, they do not remove the snapshot after it is no longer needed. I need to create some sort of automation that scans the entire subscription and deletes…

Azure Automation
Azure Automation

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

1,507 questions
asked 2024-05-03T14:28:01.7133333+00:00
Jason Myrick 0 Reputation points
answered 2026-05-04T21:24:48.2866667+00:00
Amira Bedhiafi 41,966 Reputation points MVP Volunteer Moderator
1 answer

VM DSC Extension not registering with Automation Account

I'm provisioning a VM via bicep, I use the following code to include the DSC extension which should register with an automation account and connect to DSC and use a NodeConfiguration: The extension provisions but never connects to the automation…

Azure Automation
Azure Automation

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

1,507 questions
asked 2024-01-29T21:36:55.09+00:00
Patrick Horne 5 Reputation points
answered 2026-05-04T16:22:44.13+00:00
Amira Bedhiafi 41,966 Reputation points MVP Volunteer Moderator