1,368 questions with Azure Automation tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

Doc page web unavailable

Hi everyone, I see the page URL resource is not availabe Azure Automation https://learn.microsoft.com/en-us/azure/automation/automation-send-email?source=docs

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,368 questions
asked 2025-02-28T13:52:58.75+00:00
Djamel Garar 20 Reputation points
accepted 2025-03-03T14:46:45.84+00:00
Djamel Garar 20 Reputation points
1 answer

Azure Automation Accounts | Maximum number of Accounts reached

Getting the following error when trying to create an automation account via Terraform. "Maximum number of Accounts reached. If Deleted recently, please restore the same account". If I look at automation accounts for the subscription I have none…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,368 questions
asked 2025-02-28T12:49:31.5366667+00:00
rhod3rz 0 Reputation points
commented 2025-03-03T01:06:42.7033333+00:00
Vinod Pittala 4,250 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

Is it possible to upscale multiple Azure VMs in parallel without waiting for each job to finish?

I am trying to upscale multiple Azure VMs in parallel using an Azure Automation runbook. My goal is to stop, resize, and start all VMs simultaneously, without waiting for one job to finish before starting another. Current Approach: Using Azure…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,368 questions
asked 2025-02-28T06:30:52.57+00:00
Niket Kumar Singh 735 Reputation points
accepted 2025-02-28T09:38:27.34+00:00
Niket Kumar Singh 735 Reputation points
1 answer One of the answers was accepted by the question author.

Azure Automation Runbook PowerShell Workflow v7.2 Support

Hello, Azure Automation Runbook supports PowerShell Workflow version 5.1 at the moment, is there any Preview/GA for version 7.2 anytime soon? Thank you, Michel

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,368 questions
asked 2025-02-27T17:48:22.8833333+00:00
Michel Sfeir 210 Reputation points
edited a comment 2025-02-27T19:37:37.18+00:00
Pranay Reddy Madireddy 6,180 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

Managed identity on automation account not working as expected

I'm trying to use an Automation account to put some AVD hosts in azure local in drain so I can shut them down, I've configured an hybrid worker that is working with other runbooks but when I try to connect to azure using the managed identity of the…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,368 questions
asked 2025-02-26T11:51:06.7+00:00
David Pereira 65 Reputation points
commented 2025-02-27T14:00:37.18+00:00
David Pereira 65 Reputation points
1 answer One of the answers was accepted by the question author.

How to execute kubectl command in a PowerShell Runbook ?

We are trying to use an Azure Automation Runbook to interact with an Azure Kubernetes Service (AKS) cluster using a System Assigned Managed Identity. The goal is to auto-restart a deployment in a specific namespace at 23.59 every night. What We Are…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,368 questions
asked 2025-02-25T22:28:13.9733333+00:00
Niccolo 60 Reputation points
accepted 2025-02-26T14:04:18.8366667+00:00
Niccolo 60 Reputation points
1 answer

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,368 questions
asked 2025-02-20T07:39:22.6366667+00:00
Teja Alavelli 0 Reputation points
answered 2025-02-24T10:32:59.67+00:00
Anonymous
2 answers

How to publish a Runbook to latest runtime version using blob storage?

Hi, so i have written a Powershell script that publish a files to my blob storage, and i got it to upload the file(s) to Process Automation/Runbooks. But i cant seem to get the Runtime version to the latest, how can i do that? Right now a part of the…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,368 questions
Windows for business | Windows Server | User experience | PowerShell
asked 2025-02-12T12:46:12.4666667+00:00
André Lindqvist 20 Reputation points
edited a comment 2025-02-24T09:21:08.7366667+00:00
Naveena Patlolla 3,850 Reputation points Microsoft External Staff Moderator
2 answers

Hybrid Worker Extension setting up error: Provisioning failed

Can anyone please help? I'm new to this. I've added a Hybrid Worker to my group but it's failing. I'm trying to fix this error: Status message Extension '' of Handler 'Microsoft.Azure.Automation.HybridWorker.HybridWorkerForWindows' version '1.1.13'…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,368 questions
asked 2025-02-19T15:35:08.16+00:00
Patrick F 0 Reputation points
commented 2025-02-21T11:20:28.0533333+00:00
Pranay Reddy Madireddy 6,180 Reputation points Microsoft External Staff Moderator
0 answers

Error ejecución runbooks: Unable to acquire token for tenant 'organizations' with error 'A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host

Tengo creado 3 runbooks para prender VM a las 01:00, 02:00 y 03:00, han venido trabajando sin problema mas de 6 meses, sin embargo hoy no se encendió una VM cuando se ejecutó el runbooks de las 01:00, al revisar la ejecución tengo este…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,368 questions
asked 2025-02-17T15:18:52.2533333+00:00
Edgar Jimbo 0 Reputation points
commented 2025-02-21T01:06:50.0133333+00:00
Pranay Reddy Madireddy 6,180 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

Connect Azure Automation Account to Azure SQL using Managed Identity

Hello, I'm trying to create a Runbook (Powershell) to connect to Azure SQL Database and then add an Entra ID user in that database. If there is way to do so in CLI commands it's fine by me. The problem is that we're always stuck at the DB connection step…

Azure SQL Database
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,368 questions
Windows for business | Windows Server | User experience | PowerShell
asked 2025-02-19T09:56:47.0966667+00:00
Michel Sfeir 210 Reputation points
accepted 2025-02-20T17:21:43.84+00:00
Michel Sfeir 210 Reputation points
1 answer

Source Control on Automation Account not starting on new commit

Hello, I'm encountering an issue with Incremental Sync on Automation Accounts. On uploading a new commit into our repo - the incremental Sync does not start. No error nothing. Starting a full sync works fine. I waited multiple times for at least 30…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,368 questions
asked 2025-02-18T13:37:53.1833333+00:00
Maximilian W 0 Reputation points
answered 2025-02-20T15:04:06.3833333+00:00
Ashok Gandhi Kotnana 10,430 Reputation points Microsoft External Staff Moderator
3 answers

Azure Automation - Source Control - Setup Errors

From the website i get this when i select authorize. Azure Repo (git) The authorization process could not be completed. my account is a azure global admin, azure repo project admin from powershell i get this: New-AzAutomationSourceControl :…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,368 questions
asked 2020-07-24T14:22:51.723+00:00
GeorgeD16 6 Reputation points
answered 2025-02-19T18:51:59.2933333+00:00
Caio Bauab 1 Reputation point
1 answer

How to load assembly path in the new runtime experience in Automation Accounts' runbooks?

We have a runbook that we use to log to Application Insights. We use it for making logs both from Azure and Hybrid workers. In hybrid workers the logging works correctly, but in Azure it fails with Cannot find type…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,368 questions
Windows for business | Windows Server | User experience | PowerShell
asked 2024-04-25T10:08:10.14+00:00
Alibek Cholponbaev 20 Reputation points
answered 2025-02-16T22:46:49.0166667+00:00
Ambrose Wong 0 Reputation points Microsoft Employee
1 answer

How to Fix Runbook Error

I have an error which occasionally appears on my azure automation account runbook. This has only happened twice in the last month, and i'm unable to determine the cause of the error. Any help would be much appreciated. The error I get is "The SSL…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,368 questions
asked 2024-10-22T21:47:32.2866667+00:00
Navaska 25 Reputation points
commented 2025-02-16T19:34:16.93+00:00
Wintill, Ethan 0 Reputation points
4 answers One of the answers was accepted by the question author.

How to fix: Method 'get_SerializationSettings' does not have an implementation

I just wanted to automate this powershell script to activate Sftp for BlobStorage only for half an hour in the evening using the automation account: $resourceGroupName = "xxxx" $storageAccountName = "yyyyy" Set-AzStorageAccount…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,368 questions
asked 2023-06-06T15:58:54.2333333+00:00
commented 2025-02-13T19:57:51.5466667+00:00
Dominique Ruest 0 Reputation points
1 answer

How to query the contents of all subscriptions with Kusto using Graph Explorer?

Is it possible to query all subscriptions in a tenant and list every resource beneath them using Graph Explorer? I have 30 subscriptions and I'd like to export but all of my KQL queries come back empty.

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,368 questions
asked 2025-02-13T05:09:01.2333333+00:00
Quincy Sanders 0 Reputation points
answered 2025-02-13T13:45:33.3166667+00:00
Anonymous
1 answer One of the answers was accepted by the question author.

ModuleNotFoundError: No module named 'azure.profiles' | Azure Runbooks | Service Principal | Python 3.8

Why is it that whenever I am running a test in my Azure runbook environment of my `` `vm-monitor-logging.py ``` script, do I constantly get the error: Failed Traceback (most recent call last): File…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,368 questions
asked 2025-02-12T16:04:26.6033333+00:00
The Flying Bollox 5 Reputation points
accepted 2025-02-13T09:31:18.9633333+00:00
The Flying Bollox 5 Reputation points
1 answer One of the answers was accepted by the question author.

Can I use both Get-AzRmStorageShare and Get-AzStorageShare modules in an Azure Automation Runbook? Body:

Hi, I currently have two different PowerShell scripts running locally on my machine, where one uses the Get-AzRmStorageShare module and the other uses the Get-AzStorageShare module to retrieve usage and quota information for an Azure File Share. Both…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,368 questions
Windows for business | Windows Server | User experience | PowerShell
asked 2025-02-12T08:51:09.0733333+00:00
Suthii09 40 Reputation points
accepted 2025-02-12T09:34:33.8066667+00:00
Suthii09 40 Reputation points
2 answers One of the answers was accepted by the question author.

Problems with connecting to Exchange Online from azure automation using managed identity.

Hello, I would like to run from Azure Automation Get-UnifiedGroup. To do this I use code: Connect-ExchangeOnline -ManagedIdentity -Organization atlastechnicalab.onmicrosoft.com Get-UnifiedGroup Unfortunately Connect-ExchangeOnline…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,368 questions
Exchange | Exchange Server | Management
asked 2022-12-20T10:36:55.407+00:00
Oleg Tserkovnyuk 671 Reputation points
answered 2025-02-11T13:39:54.27+00:00
John Bruijntjes 0 Reputation points