1,494 questions with Azure Automation tags

Sort by: Updated
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:…

Microsoft Security | Microsoft Graph
Azure Automation
Azure Automation

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

1,494 questions
asked 2024-07-01T09:13:40.0366667+00:00
lucab 0 Reputation points
answered 2026-05-05T12:16:41.5466667+00:00
kagiyama yutaka 1,990 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,494 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,386 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,494 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,386 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 Update Manager
Azure Update Manager

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

415 questions
Azure Automation
Azure Automation

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

1,494 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,386 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,494 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,386 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,494 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,386 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,494 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,386 Reputation points MVP Volunteer Moderator
1 answer

Uploading Python package to Automation Account

Hi, I am trying to upload a python package to an Automation Account but keep failing. The runtime is Python 3.8. I am quite new to the whole Azure scene but have followed the guide in …

Azure Automation
Azure Automation

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

1,494 questions
asked 2024-04-30T08:44:10.7966667+00:00
DataB93 5 Reputation points
answered 2026-05-04T15:48:54.0066667+00:00
Amira Bedhiafi 41,386 Reputation points MVP Volunteer Moderator
2 answers

How can I delete CSP-type subscriptions after deactivating them?

I have multiple CSP-type subscriptions in my tenant. I want to know how to delete these subscriptions after: Deleting all resources inside each subscription Disabling the subscriptions I understand that subscriptions can be deleted from the portal after…

Azure Automation
Azure Automation

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

1,494 questions
asked 2026-04-28T05:23:09.58+00:00
Yogesh Rahate 0 Reputation points
edited a comment 2026-04-30T12:37:19.5733333+00:00
Suchitra Suregaunkar 13,785 Reputation points Microsoft External Staff Moderator
1 answer

Stuck with not working automation account

After failing deployment I have deleted the resource group alongside with the automation account (unwise thing to do). Later I've tried to redeem myself and restore that automation account following the instruction (via creating new resource group with…

Azure Automation
Azure Automation

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

1,494 questions
asked 2026-04-24T23:09:08.0666667+00:00
jan pawel 0 Reputation points
commented 2026-04-28T17:44:43.17+00:00
jan pawel 0 Reputation points
1 answer

Calendar Access full transfer using power automate and azure automation

I have a SharePoint list and I'm updating the details like Owner Email , EA Email and Back Up EA Email , StatrtDate , EndDate , remove EA access now when create a item in SharePoint list flow should trigger it should check if EA is having access to…

Azure Automation
Azure Automation

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

1,494 questions
asked 2026-04-06T17:20:18.49+00:00
upendar naik 0 Reputation points
edited a comment 2026-04-23T01:49:14.65+00:00
Siva shunmugam Nadessin 9,625 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

Automated way to activate PIM roles.

Hi, I am looking for an automated or script way to activate the PIM contributor or owner roles for a resource in azure instead of doing it via GUI.

Azure Automation
Azure Automation

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

1,494 questions
asked 2026-04-20T16:21:31.26+00:00
Naga 40 Reputation points Microsoft External Staff
accepted 2026-04-21T18:38:01.2533333+00:00
Naga 40 Reputation points Microsoft External Staff
1 answer

Problem running Azure Automation update management powershell script

I've had an 'Action required' email about migrating to Azure Update Manager. Following the guidance I have run Install-Module -Name Az -Repository PSGallery -Force on my local machine (Windows 10) and then attempted to run the downloaded…

Azure Automation
Azure Automation

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

1,494 questions
asked 2024-07-29T11:13:42.33+00:00
Jonathan Gibbs 40 Reputation points
answered 2026-04-21T10:59:33.0333333+00:00
Amira Bedhiafi 41,386 Reputation points MVP Volunteer Moderator
2 answers One of the answers was accepted by the question author.

Can't make Automation account.

Hi, So I'm trying to make an automation account. I should be able to make an account in these given regions: ["polandcentral","swedencentral","uaenorth","switzerlandnorth","germanywestcentral"]. I…

Azure Automation
Azure Automation

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

1,494 questions
asked 2026-04-16T12:10:44.8966667+00:00
Sem van Deventer 20 Reputation points
accepted 2026-04-21T07:09:31.83+00:00
Sem van Deventer 20 Reputation points
2 answers One of the answers was accepted by the question author.

Automating the Azure Resource Inventory tool

I have been using the AzureResourceInventory tool manually for the last few months and now have investigated setting this up via Azure Automation as per this guide - https://github.com/microsoft/ARI/blob/main/docs/advanced/automation.md Each time I run…

Azure Automation
Azure Automation

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

1,494 questions
asked 2026-04-16T15:42:55.84+00:00
Steve Harrison 40 Reputation points
accepted 2026-04-20T08:30:10.1433333+00:00
Steve Harrison 40 Reputation points
1 answer

Default Path location differences between Powershell 7.2 and Powershell 5.1 environments

Hi, I am in the process of moving our runbooks to use a PowerShell 7.2 environment and in the process of that migration we noticed that the default path for the runbooks are different when running on the Hybrid Worker. Can anyone tell me why the change…

Azure Automation
Azure Automation

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

1,494 questions
asked 2024-06-10T15:17:17.3333333+00:00
Jesus Chao 161 Reputation points
answered 2026-04-17T19:55:49.24+00:00
Amira Bedhiafi 41,386 Reputation points MVP Volunteer Moderator
1 answer

Automation Startup Task Fails

Automation startup task fails - Bad Request Status 400 code { "Cache-Control": "no-cache", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains",…

Azure Automation
Azure Automation

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

1,494 questions
asked 2024-09-25T20:19:58.0833333+00:00
CoreyWhitney-1573 0 Reputation points
commented 2026-04-17T19:55:25.8766667+00:00
CoreyWhitney-1573 0 Reputation points
1 answer

Creating azure automation run book with PShell to deploy new instance of cloud compute solution and delete with other script

is it possible to azure automation run book using powershell to deploy new instance of cloud compute solution? and I want to run another run book to delete all the resources created by the first script with out any back up ? how do we do these 2, please…

Azure Automation
Azure Automation

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

1,494 questions
asked 2024-07-09T10:37:31.8866667+00:00
Varma 1,560 Reputation points
answered 2026-04-17T19:07:32.8066667+00:00
Amira Bedhiafi 41,386 Reputation points MVP Volunteer Moderator
2 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,494 questions
asked 2026-04-08T23:44:43.8+00:00
Uziel Jude 20 Reputation points
answered 2026-04-09T00:29:42.82+00:00
Siva shunmugam Nadessin 9,625 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

Cannot login to azure using a managed user identity

Trying to login using the following command using the Azure CLI v2.9: - az login --identity --username [my-clientid] However, fails with the following error message Failed to connect to MSI. Please make sure MSI is configured correctly and check the…

Azure Automation
Azure Automation

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

1,494 questions
asked 2024-08-12T14:28:04.24+00:00
Andrew HB 361 Reputation points
edited a comment 2026-04-08T05:12:47.7233333+00:00
TS 0 Reputation points