1,316 questions with Azure Automation tags

Sort by: Updated
1 answer

Azure Automation State Configuration deprecation

Hi, According to the information on: https://learn.microsoft.com/en-us/azure/automation/automation-dsc-getting-started quote: "The Add, Compose configuration, and Gallery navigation links will be removed from the portal on March 31, 2025." Does…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,316 questions
asked Feb 26, 2025, 9:29 AM
Jimmy 20 Reputation points
answered Feb 27, 2025, 5:13 AM
Rahul Podila 1,835 Reputation points Microsoft Vendor
1 answer

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,316 questions
asked Feb 26, 2025, 11:51 AM
David Pereira 20 Reputation points
edited an answer Feb 26, 2025, 4:23 PM
Ashok Gandhi Kotnana 3,715 Reputation points Microsoft Vendor
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,316 questions
asked Feb 25, 2025, 10:28 PM
Niccolo 0 Reputation points
accepted Feb 26, 2025, 2:04 PM
Niccolo 0 Reputation points
1 answer

Azure Tags

Hello All, I have many subscriptions in my azure tenant. And I have assigned multiple tags to multiple resources and resource. So Know I want to download the list of the tags that are assigned and their respective data. It is a bit urgent. If anyone…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,316 questions
asked Feb 14, 2025, 5:27 PM
Om Bhosle 80 Reputation points
edited a comment Feb 25, 2025, 6:21 AM
Naveena Patlolla 500 Reputation points Microsoft Vendor
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,316 questions
asked Feb 20, 2025, 7:39 AM
Teja Alavelli 0 Reputation points
answered Feb 24, 2025, 10:32 AM
Pavan Minukuri 1,225 Reputation points Microsoft Vendor
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,316 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,828 questions
asked Feb 12, 2025, 12:46 PM
André Lindqvist 20 Reputation points
edited a comment Feb 24, 2025, 9:21 AM
Naveena Patlolla 500 Reputation points Microsoft Vendor
0 answers

managed identity intermitten issues

I have an Azure Automation Runbook that intermittently works with Managed Identities. I have multiple Automation Accounts that worked flawlessly up until around these time. What I've tried: Turning Managed Identities off/on, re-assigned proper…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,316 questions
asked Feb 21, 2025, 2:38 PM
Tuan Nguyen 0 Reputation points
commented Feb 21, 2025, 8:07 PM
Vinod Pittala 330 Reputation points Microsoft Vendor
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,316 questions
asked Feb 19, 2025, 3:35 PM
Patrick F 0 Reputation points
commented Feb 21, 2025, 11:20 AM
Pranay Reddy Madireddy 2,245 Reputation points Microsoft Vendor
1 answer

We have received a service alert from Microsoft regarding upcoming maintenance:

Maintenance Details: The maintenance will affect virtual machines in East US. Schedule: From 24 February 2025, 07:30 UTC, to 28 February 2025, 07:30 UTC. During this window, IaaS virtual machines will be migrated to newer network hardware. Each virtual…

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,425 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,316 questions
asked Jan 24, 2025, 10:12 AM
Raju Kothapally 5 Reputation points
commented Feb 21, 2025, 4:35 AM
Mounika Reddy Anumandla 2,585 Reputation points Microsoft Vendor
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,316 questions
asked Feb 17, 2025, 3:18 PM
Edgar Jimbo 0 Reputation points
commented Feb 21, 2025, 1:06 AM
Pranay Reddy Madireddy 2,245 Reputation points Microsoft Vendor
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,316 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,828 questions
asked Feb 19, 2025, 9:56 AM
Michel Sfeir 105 Reputation points
accepted Feb 20, 2025, 5:21 PM
Michel Sfeir 105 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,316 questions
asked Feb 18, 2025, 1:37 PM
Maximilian W 0 Reputation points
answered Feb 20, 2025, 3:04 PM
Ashok Gandhi Kotnana 3,715 Reputation points Microsoft Vendor
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,316 questions
asked Jul 24, 2020, 2:22 PM
GeorgeD16 6 Reputation points
answered Feb 19, 2025, 6:51 PM
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,316 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,828 questions
asked Apr 25, 2024, 10:08 AM
Alibek Cholponbaev 20 Reputation points
answered Feb 16, 2025, 10:46 PM
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,316 questions
asked Oct 22, 2024, 9:47 PM
Navaska 25 Reputation points
commented Feb 16, 2025, 7:34 PM
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,316 questions
asked Jun 6, 2023, 3:58 PM
commented Feb 13, 2025, 7:57 PM
Dominique Ruest 0 Reputation points
0 answers

Power Automate - One Drive for Business Convert File has stopped working

I use this to convert files to PDF. It has worked with no issues for several years. Yesterday it started timing out and now today it says PDF is not a supported format. Furthermore the action still shows PDF as an option in Power Automate…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,139 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,316 questions
asked Jan 8, 2025, 2:41 PM
Christopher Roos 20 Reputation points
commented Feb 13, 2025, 4:09 PM
Kevin Flanagan 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,316 questions
asked Feb 13, 2025, 5:09 AM
Quincy Sanders 0 Reputation points
answered Feb 13, 2025, 1:45 PM
Pavan Minukuri 1,225 Reputation points Microsoft Vendor
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,316 questions
asked Feb 12, 2025, 4:04 PM
The Flying Bollox 15 Reputation points
accepted Feb 13, 2025, 9:31 AM
The Flying Bollox 15 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,316 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,628 questions
asked Feb 12, 2025, 8:51 AM
Suthii09 40 Reputation points
accepted Feb 12, 2025, 9:34 AM
Suthii09 40 Reputation points