1,469 questions with Azure Automation tags

Sort by: Updated
1 answer

How to automate turning off or suspending some Azure services to save money?

What Azure objects can we suspend or turn off outside business hours to save running costs? App Service: The app service implements the message compose experience in the team tab and the messaging endpoint for the bot. Service Bus: The individual…

Azure Cost Management
Azure Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
4,693 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
1,160 questions
Windows for business | Windows Server | User experience | PowerShell
Microsoft Security | Microsoft Graph
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,469 questions
asked 2024-05-05T13:46:36.69+00:00
EnterpriseArchitect 6,326 Reputation points
commented 2026-02-11T17:47:44.77+00:00
Esther Fan 0 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Support Python 3.12+ for Azure Linux VM extensions (Hybrid Runbook Worker)

Hello, Ubuntu 24.04+ uses Python 3.12 and extensions currently fail due to Python dependency issues. I know Ubuntu 24.04 is not yet officially supported:…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,469 questions
asked 2026-02-04T08:52:38.4266667+00:00
Quattrocchi, Calogero 275 Reputation points
accepted 2026-02-11T07:44:07.8566667+00:00
Quattrocchi, Calogero 275 Reputation points
1 answer

Webhook payload runon Azure vs Hybrid worker

I am working with azure automation, triggered by webhooks. Typically this runs directly on Azure and works fine, the webhook data payload is received and handled as a PSCustomObject. I now need to run the same on a Hybrid Worker because of a OnPrem…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,469 questions
asked 2024-07-12T11:44:42.3633333+00:00
Ronald Foppen 10 Reputation points
commented 2026-02-10T14:19:41.32+00:00
Martin Preishuber 0 Reputation points
1 answer

Unable to Setup the Automation Task - Start and Stop for Azure VM

I am trying to create a start VM task under a Virtual Machine. After trying to run the task I am getting the below error: { "error": { "code": "InvalidAuthenticationTokenTenant", "message": "The…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,469 questions
asked 2026-02-05T11:17:35.4633333+00:00
Pironada Nako 0 Reputation points
commented 2026-02-09T09:59:10.2066667+00:00
Pironada Nako 0 Reputation points
2 answers

Permission issue during the creation of cost export path

I am creating a cost export path using a rest api with two subscriptions. Lets consider subscription A and subscription B. My export will be created in Subscription A: b0e5e124-<PII Removed> But delivery is to a storage account in Subscription…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,469 questions
asked 2026-02-09T04:13:41.75+00:00
Padmanabhan M 140 Reputation points
answered 2026-02-09T04:43:01.34+00:00
Suchitra Suregaunkar 7,840 Reputation points Microsoft External Staff Moderator
1 answer

How to restore previous version of runbook after publishing

How to restore previous version of runbook after publishing?

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,469 questions
asked 2026-02-06T05:19:35.0566667+00:00
Sunil 0 Reputation points
answered 2026-02-06T05:20:43.8733333+00:00
Q&A Assist
1 answer

Azure Automation PowerShell Runbook hangs on Invoke-VmRunCommand on one VM, not on the other

I have a Runbook in Azure Automation that runs the "Invoke-AzRunCommand" module to check whether a process is running on 2 VMs (that are identically configured). The command it runs is: Get-Process $process* -ErrorAction SilentlyContinue (Where…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,469 questions
asked 2026-01-15T18:34:03.7166667+00:00
Robin Wilson 20 Reputation points
commented 2026-02-03T05:28:10.87+00:00
Naveena Patlolla 8,130 Reputation points Microsoft External Staff Moderator
0 answers

Azure Automation script assistance as the script works on the local but fails when we execute it on the automation account Azure

Azure Automation script assistance as the script works on the local but fails when we execute it on the automation account Azure

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,469 questions
asked 2026-01-16T13:07:07.6066667+00:00
Daulat Zhi Imran Khan 21 Reputation points
commented 2026-01-29T14:08:00.7766667+00:00
Naveena Patlolla 8,130 Reputation points Microsoft External Staff Moderator
1 answer

WIF Azure Automation Runbook ...................................................................................

is this supported?/////////////////////////////////////////////////////////////////

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,469 questions
asked 2025-10-15T08:01:51.7833333+00:00
raj, Yashaswi (A) 0 Reputation points
answered 2026-01-26T09:02:54.83+00:00
Jerald Felix 10,620 Reputation points
1 answer One of the answers was accepted by the question author.

Error: pwsh.exe is not recognized as a command or operable program

I have 7 runbooks scheduled to run daily but there failed with exception error starting this week. runbooks were working fine previously on schedule. I can run manually successfully but it take long time at Queued status and end up failed on…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,469 questions
asked 2025-02-20T07:39:22.6366667+00:00
Teja Alavelli 20 Reputation points
accepted 2026-01-26T07:35:29.97+00:00
Teja Alavelli 20 Reputation points
2 answers

How do I import Az.Compute module

Unable to locate the ‘Start-AzVM’ cmdlet. This command is expected to be part of the Az.Compute module. Are there any dependencies?

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,469 questions
asked 2026-01-23T11:32:56.9633333+00:00
daren G 0 Reputation points
answered 2026-01-23T11:44:55.03+00:00
TP 149.1K Reputation points Volunteer Moderator
1 answer

Azure deleted out runbooks

Our azure automation runbooks created in 2022 and 2024 is now empty and not working. And no we have not deleted the content, some process on azure has wiped them out. I would like them back please

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,469 questions
asked 2026-01-22T13:32:55.11+00:00
Michael Faursby Ahlers 0 Reputation points
answered 2026-01-22T15:45:41.55+00:00
Michael Faursby Ahlers 0 Reputation points
2 answers

How do I find the correct scope to remove an inherited RBAC role from an Azure Storage account?

Details I’m trying to remove a role assignment from an Azure Storage account, but the Azure Portal shows this message: “Inherited role assignments cannot be removed. Open the scope where the role was assigned and remove it from there.” When I check…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,469 questions
asked 2026-01-19T18:19:38.7266667+00:00
BEJJANKI SHREYAS 0 Reputation points
answered 2026-01-20T16:50:58.48+00:00
Suchitra Suregaunkar 7,840 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

Unable to import Az.* modules in PowerShell 2.7 Automation Runbook

I'm new to creating Automation Accounts, but I'm struggling to get a PowerShell 7.2 runbook to import Az modules. Using this repo and commit, I've created the account and runbook using Az PowerShell. PS C:\repos\InMem> New-AzResourceGroupDeployment…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,469 questions
asked 2026-01-07T20:51:30.88+00:00
Jason R. Coombs 60 Reputation points Microsoft Employee
accepted 2026-01-20T13:24:45.83+00:00
Jason R. Coombs 60 Reputation points Microsoft Employee
3 answers One of the answers was accepted by the question author.

Unable to import Az.* modules in PowerShell 7.2 Automation Runbook

I've created a new Automation Account and a PowerShell 7.2 runbook with this content: Write-Output "PS: $($PSVersionTable.PSVersion)" Write-Output "ModulePath: $env:PSModulePath" Import-Module Az.Accounts -Verbose Import-Module…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,469 questions
asked 2026-01-07T21:06:29.4866667+00:00
Jason R. Coombs 60 Reputation points Microsoft Employee
commented 2026-01-20T13:23:40.41+00:00
Jason R. Coombs 60 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

Sign in when using azure workbooks

Sign in to azure account failed when using azure workbooks Unknown error user type and no certification was found

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,469 questions
asked 2026-01-14T09:30:51.9566667+00:00
Gowrishankar Reddy 20 Reputation points
accepted 2026-01-16T06:31:21.9266667+00:00
Gowrishankar Reddy 20 Reputation points
1 answer One of the answers was accepted by the question author.

Extract Date from the StartTime without UTC format in Azure workbook

Hi, I’m building an Azure Monitor Workbook to track data processing. The logs in our Log Analytics workspace are stored in UTC, but when I run KQL inside the workbook the timestamps render in the viewer’s local time. I need a daily summary that combines…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,469 questions
asked 2025-11-28T16:29:42.2466667+00:00
Aswini 25 Reputation points
accepted 2026-01-12T09:04:23.72+00:00
Aswini 25 Reputation points
1 answer

Cannot remove expired credit card

I would like to remove my expired credit card information, but got rejected. How can I do that?

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,469 questions
asked 2026-01-07T07:48:55.9133333+00:00
Seng Bing Go 10 Reputation points
commented 2026-01-11T09:14:43.5733333+00:00
BKK KKB 0 Reputation points
2 answers One of the answers was accepted by the question author.

How to export template (terraform) for a resource in Azure using Azure CLI

Most of the details are in the question. I want to export a resource template, get the contents of a resource template, in terraform format via az cli. This article exists but does not mention how to export it in hcl format, this other article exists but…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,469 questions
asked 2026-01-06T22:35:12.7733333+00:00
Gordon 31 Reputation points
commented 2026-01-08T00:07:16.7566667+00:00
Siva shunmugam Nadessin 5,530 Reputation points Microsoft External Staff Moderator
2 answers

Azure Automation - My Runbook is working if i run it manually.. but its not running thru scheduling.. can any one help.

I have verified the following things already.. still not working. Verify Runbook Status: Ensure the runbook linked to the schedule is published and not in a draft state. Only published runbooks are triggered by schedules. Check Schedule Status: In the…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,469 questions
asked 2025-12-18T22:56:59.34+00:00
ACS - Manikandan Arumugam 0 Reputation points
commented 2026-01-02T07:33:39.5733333+00:00
Naveena Patlolla 8,130 Reputation points Microsoft External Staff Moderator