1,296 questions with Azure Automation tags

Sort by: Updated
1 answer

Using Automation account source control syncing from Azure DevOps, how do you specify or change runbook runtime version?

We have source control set up in Automation account to automatically update runbooks from Azure DevOps. There is no option to specify runtime version, they are all 5.1. How can we specify a different runtime version, like 7.x, for runbooks that are…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,296 questions
asked 2023-12-01T12:53:24.3533333+00:00
Jake Gates 15 Reputation points
commented 2025-01-27T12:23:41.95+00:00
Thomsen, Chad 5 Reputation points
1 answer

PowerShell Commands to Disable Public Access and Enable Private Access for Managed Disk

What are the PowerShell commands to "disable public access and enable private access" for a managed disk instead of doing it manually? @Ashok Gandhi Kotnana would really appreciate support on this. Thanks!

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,296 questions
asked 2025-01-23T16:20:41.2933333+00:00
Nana Poku 100 Reputation points
commented 2025-01-27T09:42:30.14+00:00
Nana Poku 100 Reputation points
1 answer One of the answers was accepted by the question author.

Automation Account Powershell - The request was aborted: Could not create SSL/TLS secure channel.

An Azure automation account PowerShell script began failing suddenly with the error = The request was aborted: Could not create SSL/TLS secure channel. The below code was added but the issue persists, is there some way to set this property or update…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,296 questions
asked 2025-01-22T00:09:01.32+00:00
Ray 20 Reputation points
accepted 2025-01-27T03:06:09.5933333+00:00
Ray 20 Reputation points
1 answer

how to let automation account get information in another tenant

we registered an application A in tenant A and we have an automation account in tenant B now, we would like to use this automation account to create a cron job to monitor the application A client’s secret expiration, so we would like to know how we…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,296 questions
asked 2025-01-27T02:00:19.71+00:00
Yingjie Guan 0 Reputation points
commented 2025-01-27T02:14:40.9466667+00:00
Rahul Podila 1,395 Reputation points Microsoft Vendor
0 answers

Wrong tenant ID in Task to shut down Ubuntu Server

Hello. I created a task to shut down my Ubuntu server at 4:05pm every day. However, I get the message that the tenant ID is incorrect, and it references the correct tenant ID, which is, indeed, the account I'm logged in to. When I "Authorize"…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,296 questions
asked 2025-01-23T21:29:59.4233333+00:00
Jonathan Craft 0 Reputation points
commented 2025-01-24T15:18:44.51+00:00
Pranay Reddy Madireddy 1,575 Reputation points Microsoft Vendor
2 answers

Azure Automation Accounts

Hello, I tried to deploy Automation Account using bicep. Since this is first time to deploy AA so I deleted existing one and re-deploy it for multiple times. I suddently received following message: "code": "BadRequest", …

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,296 questions
asked 2024-04-08T20:02:00.5566667+00:00
Jeremy Zheng 75 Reputation points
answered 2025-01-24T15:15:59.7966667+00:00
Youssef Aoufi 0 Reputation points
0 answers

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 Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,296 questions
asked 2025-01-24T10:12:35.7566667+00:00
Raju Kothapally 0 Reputation points
edited the question 2025-01-24T13:06:50.8833333+00:00
Srinud 3,585 Reputation points Microsoft Vendor
1 answer

Azure Update Management - Updates not showing in Update History on On-Premise servers.

Good morning, I am wondering why updates managed by Azure Update Management do not show in the Update History when installed to our on-premise servers? Some of them show in Programs and Features > View Installed Updates but not all. Thanks Mat

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,296 questions
asked 2022-02-14T10:36:31.497+00:00
Anonymous
commented 2025-01-24T11:38:03.3966667+00:00
Ricks, Steven 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to Find Unused Resources and Resources with Duplicate Names in Azure Using Code and Automatically Delete Them?

Hello, I am trying to automate the process of identifying and deleting unused resources, as well as finding resources with duplicate names, in my Azure environment. Specifically, I want to: Find unused resources in my Azure subscription (e.g., orphaned…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,296 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,759 questions
asked 2025-01-20T12:30:41.2266667+00:00
Jyoti Teli (BLR GSS) 60 Reputation points
accepted 2025-01-22T07:16:01.3433333+00:00
Jyoti Teli (BLR GSS) 60 Reputation points
0 answers

Encountering anomalies when deploying azure update manager dynamic scopes across multiple subscriptions

I'm facing multiple anomolies when deploying azure update manager dynamic scopes linked to maintenance configurations across multiple subscriptions; with the below script (personal details removed) : # Define a hashtable of subscriptions with their…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,296 questions
Azure Update Manager
Azure Update Manager
An Azure service to centrally manages updates and compliance at scale.
336 questions
asked 2025-01-18T15:18:31.6833333+00:00
Joshua Musiyarira 0 Reputation points
commented 2025-01-22T01:24:22.5166667+00:00
Rahul Podila 1,395 Reputation points Microsoft Vendor
0 answers

How to auto-authenticate AML compute instance to start on a regular schedule?

Hi, I am trying to use Azure ML workspace to run Python notebooks on a regular basis to query Kusto data and conduct data processing. I created a Compute instance in AML, set up the starter shell script, and configured the Startup schedule of the compute…

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
3,087 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,296 questions
asked 2025-01-16T22:49:43.1966667+00:00
Caiwen Wu 0 Reputation points Microsoft Employee
commented 2025-01-21T21:28:55.6666667+00:00
Caiwen Wu 0 Reputation points Microsoft Employee
1 answer

Azure Automation Hybrid Workers stuck in Queue

Okay, please someone explain something to me. I have been working with PowerShell runbooks for over 5 years now and running into this issue has always eluded me. The only real way to monitor how PS runbooks work on a Hybrid worker is to stumble on the…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,296 questions
asked 2025-01-13T21:02:37.1366667+00:00
AdminAS 141 Reputation points
commented 2025-01-21T18:26:37.0033333+00:00
Pavan Minukuri 1,040 Reputation points Microsoft Vendor
1 answer

Insufficient Permissions on Azure Automation account when Owner

Hi, I've had this problem occurring a few times now and it is rather frustrating. I escalate permissions through PIM to be Owner of a sub where the Automation Account is located. When trying to do anything in the aa I only get this message. This is the…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,296 questions
asked 2025-01-09T12:35:46.4+00:00
Johan Öberg 0 Reputation points
commented 2025-01-21T10:04:25.34+00:00
Pranay Reddy Madireddy 1,575 Reputation points Microsoft Vendor
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,296 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,759 questions
asked 2024-04-16T07:32:25.3133333+00:00
Guilherme Noronha 5 Reputation points
commented 2025-01-21T09:25:04.09+00:00
Guilherme Noronha 5 Reputation points
0 answers

Starting runbook with webhook through data factory

Hi, I've recently created a pipeline in ADF that is using webhook to start a runbook in the Azure automation. When I run the webhook in ADF it stays in progress until it times out (even though when I look at the status of the runbook it clearly was…

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,165 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,296 questions
asked 2024-03-12T21:56:46.3533333+00:00
Lucia Zatkova (NZ) 0 Reputation points
commented 2025-01-20T15:54:47.7633333+00:00
Davis Pfaff 0 Reputation points
4 answers

Connect-ExchangeOnline in Azure Automation account gives Unable to find type (EXO 3.5.1 PS7.2)

I have setup an Azure Automation account and loaded the EXO 3.5.1 module along with PackageManagement V1.4.8.1 and PowerShellGet v2.2.5. I open a new PowerShell runbook and just posted a Connect-ExchangeOnline -ManagedIdentity - Organisation…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,296 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,759 questions
asked 2024-07-25T10:20:56.2033333+00:00
Craig Tucker 45 Reputation points
commented 2025-01-18T03:06:02.02+00:00
Jason Doyle 1 Reputation point
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,296 questions
asked 2024-10-22T21:47:32.2866667+00:00
Navaska 25 Reputation points
commented 2025-01-17T12:37:16.7166667+00:00
Prashandh Infantzo 0 Reputation points
2 answers

System-assigned Managed Identities fails to remove a KeyVault Access policies on a user

Hi everyone, please help me with a problem that is driving me crazy and I've been chasing it for 2 days without understanding where the problem lies, so I configured a : KeyVault in which I saved a test secret. I created a runbook inside a test…

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,359 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,296 questions
asked 2025-01-04T15:23:09.6433333+00:00
Red Admin 0 Reputation points
commented 2025-01-17T04:08:11.54+00:00
Raja Pothuraju 11,520 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Unable to Import AIP and PnP Modules in Azure Automation Runbook

I'm encountering issues while attempting to write scripts in an Azure Automation Runbook for decrypting files encrypted by IRM. The following errors occur when trying to import the required modules: Import-Module -Name PnP.PowerShell Import-Module -Name…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,296 questions
asked 2025-01-07T08:32:01.82+00:00
Lucie 21 Reputation points
commented 2025-01-16T10:26:39.44+00:00
Ashok Gandhi Kotnana 2,660 Reputation points Microsoft Vendor
2 answers

How do setup automated tasks for my VM

I would to automate the power on and off of my VM on a daily basis to save costs

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,296 questions
asked 2025-01-09T14:31:07.76+00:00
Billy Van Wyk (PEC) 20 Reputation points
edited the question 2025-01-15T17:59:15.7366667+00:00
Ashok Gandhi Kotnana 2,660 Reputation points Microsoft Vendor