1,488 questions

Sort by: Updated
0 answers

Azure powershell runbooks with Azure storage

Hi All, I have few PowerShell scripts that do output files. The Powershell scripts are scheduled over Task scheduler on-premise server and the Output is being placed on remote shared path. I am new to Azure runbooks and wanted to know if the same…

Azure Automation
Azure Automation

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

1,488 questions
asked 2020-09-09T15:13:58.76+00:00
Arjun Dn 6 Reputation points
0 answers

Simple creation of a user managed identity in tenant fails with bad request

https://github.com/Azure/azure-cli/issues/31837 Tried just creating a user managed identity in the tenant. Command: az identity create --name idtest --resource-group RESOURCEGROUP --debug Only thing that comes out is a dry "Bad Request". No…

Azure Automation
Azure Automation

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

1,488 questions
asked 2025-07-20T11:31:54.6433333+00:00
Carl Hoogstoel 0 Reputation points
0 answers

Disable Auto-Scaling of an AKS Node pool via Azure Powershell

I have an AKS with 3 Node pools - 2 USER type and 1 SYSTEM type. I want to create an automation via Azure runbooks that will scale the 2 USER type Node pools to zero during off-hours and then re-enable auto-scaling to the Node pools with their previous…

Azure Kubernetes Service
Azure Kubernetes Service

An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.

2,755 questions
Azure Automation
Azure Automation

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

1,488 questions
asked 2022-03-27T10:52:21.117+00:00
teamdever 1 Reputation point
0 answers

How to deploy Arc Extension Microsoft.Azure.Automation.HybridWorker via REST API

Hi, I am trying to deploy an Microsoft.Azure.Automation.HybridWorker via powershell and REST API but it fails with the following error: {"Message":"Specified machineId is not associated with automation account. This is the method I am…

Azure Arc
Azure Arc

A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.

648 questions
Azure Automation
Azure Automation

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

1,488 questions
Windows for business | Windows Server | User experience | PowerShell
asked 2022-02-02T15:50:27.613+00:00
Peter Smit 1 Reputation point
1 answer

Powershell script to auto start/stop AKS cluster

Hi we have a automation account and created a runbook to auto start/stop our AKS cluster using this powershell code …

Azure Kubernetes Service
Azure Kubernetes Service

An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.

2,755 questions
Azure Automation
Azure Automation

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

1,488 questions
asked 2021-11-29T10:04:17.663+00:00
Shreyas Arani 231 Reputation points
edited an answer 2026-11-13T04:39:04.19+00:00
Shreyas Arani 231 Reputation points
1 answer

automation user

I'd like to start VM automatically using automation user and runbook but dose not work... create automation user import "Start Azure V2 VMs" from gallery and create runbook publish runbook and link to schedule and input…

Azure Automation
Azure Automation

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

1,488 questions
asked 2021-09-10T23:25:54.227+00:00
TO 1 Reputation point
edited an answer 2026-11-13T04:36:00.2233333+00:00
TO 1 Reputation point
0 answers

How to get VM's network security group with vm's name

Now I can list network security group and all VMs in a resource group, but how can I get vm's corresponding security group ?Thanks in advance.

Azure Automation
Azure Automation

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

1,488 questions
asked 2020-12-02T08:01:17.25+00:00
Boswell Yan 1 Reputation point
1 answer

How can I run an automation template

I want to run an automation template for a sql database deployed with ARM. The aim is to trigger a stored procedure

Azure Automation
Azure Automation

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

1,488 questions
SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

14,660 questions
asked 2024-05-08T00:16:54.5566667+00:00
Oyin 0 Reputation points
edited an answer 2026-11-13T04:00:59.5833333+00:00
Oyin 0 Reputation points
0 answers

Is it possible to get Powershell runbook output via HTTP?

I've set up an Azure Automation Account and have created some Powershell runbooks which execute successfully via Powershell and HTTP POST requests. However, while I am able to view the output from the runbook's job history, or from Powershell, I cannot…

Azure Automation
Azure Automation

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

1,488 questions
Windows for business | Windows Server | User experience | PowerShell
asked 2023-09-08T08:41:52.1833333+00:00
Thomas Lu 21 Reputation points
1 answer

How to connect Azure AD from runbook

How do I connect Azure AD from runbook. Normally connect-AzureAD works fine after giving credentials from powershell. But I'm not sure how to do from runbook. I could see the parameters like thumbprint, application ID which I'm not sure how to generate.…

Azure Automation
Azure Automation

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

1,488 questions
asked 2023-06-21T01:57:28.63+00:00
Subhash B 5 Reputation points
edited an answer 2026-11-13T03:42:11.8866667+00:00
Subhash B 5 Reputation points
1 answer 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,488 questions
asked 2026-04-20T16:21:31.26+00:00
Naga 20 Reputation points Microsoft External Staff
edited an answer 2026-11-13T03:41:15.2466667+00:00
Naga 20 Reputation points Microsoft External Staff
1 answer

Export Azure automation Account certificate

Hi, is it possible to export Azure automation Account certificate (Run as account) out to as .cert, .pim, pfx ect file? Could not find direct information about this. With Powershell command Get-AzAutomationCertificate returns information about the…

Azure Automation
Azure Automation

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

1,488 questions
asked 2020-10-14T11:04:45.7+00:00
bombbe 1,446 Reputation points
edited an answer 2026-11-13T03:38:36.7066667+00:00
bombbe 1,446 Reputation points
1 answer

Azure Automation recovery blade returns 404 for ManageDeletedAccounts

I’m trying to recover a soft-deleted Automation account. The documented list API returns the deleted account, and its original resource group still exists. It was deleted on 20 October 2026, so it is within the 30-day recovery period. Opening Automation…

Azure Automation
Azure Automation

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

1,488 questions
asked 2026-10-27T08:35:05.0633333+00:00
Adrian Dragomir 0 Reputation points
edited a comment 2026-11-11T14:01:36.0366667+00:00
Adrian Dragomir 0 Reputation points
2 answers One of the answers was accepted by the question author.

Azure Automazion Runbook not saveable

Hello, does anyone know why i am not able to save changes i made to an Azure runbook? this is driving me crazy since yesterday. I have the right permissions and i can edit the runbook. However when i hit save and the publish, refresh the page and view…

Azure Automation
Azure Automation

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

1,488 questions
asked 2023-02-10T05:55:09.98+00:00
Jegg Niklas 30 Reputation points
edited a comment 2026-11-08T22:23:04.8666667+00:00
Jared-2530 40 Reputation points
1 answer

Azure Automation PowerShell 7.6 runtime executes 7.6.0-preview.5 despite verified runtime association

I’m testing a newly deployed Azure Automation account in West US, using cloud jobs and a PowerShell 7.6 runtime environment. Two separate diagnostic jobs reported this engine: PowerShell: 7.6.0-preview.5 Prerelease label: preview.5 PSEdition: Core OS:…

Azure Automation
Azure Automation

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

1,488 questions
asked 2026-11-05T13:05:14.95+00:00
Heath Beavers 0 Reputation points
answered 2026-11-05T13:06:36.2766667+00:00

AI answer

0 answers

Azure Automation schedules shifted by one hour after DST change and Portal displays incorrect Start time

We are experiencing what appears to be a DST-related issue with Azure Automation schedules following the transition from Mountain Daylight Time to Mountain Standard Time in Alberta, Canada. Issue 1: Existing schedules are executing one hour…

Azure Automation
Azure Automation

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

1,488 questions
asked 2026-11-04T17:45:01.0633333+00:00
LindsayOlson-7017 30 Reputation points
commented 2026-11-04T19:13:01.3466667+00:00
Hemant Bharadwaj 375 Reputation points Microsoft Employee
1 answer

Support for Inline Child Scripts in PowerShell 7.2 Runbooks

What is the current status of support for inline scripts in Powershell 7.2 runbooks? The current documentation lists inline scripts as "not supported", but it is unclear whether this will change or when it might change. We have several scripts…

Azure Automation
Azure Automation

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

1,488 questions
Windows for business | Windows Server | User experience | PowerShell
asked 2024-04-16T07:32:25.3133333+00:00
Guilherme Noronha 20 Reputation points
commented 2026-11-03T14:31:15.58+00:00
Guilherme Noronha 20 Reputation points
2 answers

I want to create a azure automation where it allows user to work from Monday to Friday from 7:30 am to 3:30 pm and bloxk access outside this hr as well as block access for weekend s and public holidays for a particular accounts

I want to create an azure automation where it allows user to work from Monday to Friday from 7:30 am to 3:30 pm and block access outside this hr as well as block access for weekend s and public holidays for a particular accounts

Azure Automation
Azure Automation

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

1,488 questions
asked 2026-10-27T02:44:56.8066667+00:00
Rakshya Shrestha 0 Reputation points
answered 2026-10-28T09:10:55.2633333+00:00
Alex Burlachenko 26,135 Reputation points MVP Volunteer Moderator
0 answers

Case #2609280040002013 — AKS demo billing dispute — AI misrouted ticket — subscription suspended — phone AI won't connect to human

I need urgent help from a Microsoft staff member. CASE NUMBER: 2609280040002013 SITUATION: I clicked a "Demo" template in the Azure Portal. It automatically deployed an AKS (Azure Kubernetes Service) cluster without my explicit…

Azure Automation
Azure Automation

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

1,488 questions
asked 2026-09-29T07:37:11.51+00:00
BrianelHunter-9253 0 Reputation points
5 answers

Automation account runbook PS runtime 7.4 - hybrid worker not working

Hello! I have an Automation Account and i have created a PS 7.4 runtime environment. I have added the package i'm using, Pnp.Powershell and a custom package. When i try to run the runbook using Azure, it works, but when i try to run using an Hybrid…

Azure Automation
Azure Automation

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

1,488 questions
asked 2025-08-04T19:05:20.5+00:00
Charles Thivierge 4,126 Reputation points
answered 2026-09-28T18:58:39.61+00:00
Tanner Blomster 1 Reputation point