1,145 questions with Azure Automation tags

Sort by: Updated
0 answers

How to associate test runs with ADO test plan,test suite and test cases

We are using the following script in the Azure CLI task in the pipeline, but patch calls failing. We are trying to associate Test Runs with the ADO Test Plan, Test Suite, and Test Case. I would need help if we are making any mistakes in API syntax and…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,145 questions
asked 2024-05-29T09:28:07.82+00:00
Morkal, Ashvini 0 Reputation points
0 answers

Failed to connect to MSI.

Hi folks, I am using Azure Automation account PowerShell runbook to login to Azure CLI using identity, but it is failing with below errors. I even tried authenticating with a UMI but same error. Could anyone please help me out. Error: Azure AA SMI: UMI…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,145 questions
asked 2024-05-16T10:44:53.03+00:00
Apurva Pathak 315 Reputation points
commented 2024-05-29T09:24:11.1466667+00:00
Sohail Ali 5 Reputation points Microsoft Employee
0 answers

How to configure alerts for long running automation runbooks

Hello , How can I set up an alert to notify me if an Automation runbook takes more than 30 minutes to complete? I have set up an alert for statuses "Completed," "Failed," and "Suspended," and receiving notifications but I am…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,145 questions
asked 2024-05-28T06:42:04.1233333+00:00
Sai Praneeth Eranti 150 Reputation points
commented 2024-05-28T14:38:32.3166667+00:00
AnuragSingh-MSFT 20,831 Reputation points
1 answer

Azure Update Manager support for CIS-Hardened Images (Windows)

Hello there, Any further update on support for CIS hardened images (Windows 2019/2022) in Azure Update Manager? What's the recommended action if the deadline arrives and the support is not ready? I saw somewhere else a possible option that would include…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,145 questions
Azure Update Manager
Azure Update Manager
An Azure service to centrally manages updates and compliance at scale.
257 questions
asked 2024-05-07T03:30:29.24+00:00
CelsoScarpim 5 Reputation points
commented 2024-05-28T05:51:04.0533333+00:00
AnuragSingh-MSFT 20,831 Reputation points
1 answer

Error attempting to CREATE USER FROM EXTERNAL PROVIDER using a User Assigned Managed Identity

I have an Azure Automation runbook (PowerShell 5.1) that attempts to run "CREATE USER <UserName> FROM EXTERNAL PROVIDER". This is part of a larger program, but this is the offending command so I created a test runbook to try and resolve…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,145 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,173 questions
asked 2024-05-13T15:25:11.9066667+00:00
Mike Welborn 51 Reputation points
commented 2024-05-27T13:57:22.6833333+00:00
AnuragSingh-MSFT 20,831 Reputation points
1 answer

Unable to enable autosync option under sourcecontrol in Azure Automation

Hi All, I'm trying to set up source control for Azure automation account, but when I click EnableAutoSync I'm seeing below error. An error occurred while updating the source control named 'SCReposGit'. Error details: SourceControl autoSync setup failed…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,145 questions
asked 2024-05-24T07:23:19.3166667+00:00
VinodKumar-0434 276 Reputation points
commented 2024-05-27T05:25:47.9233333+00:00
Deepanshu katara 5,760 Reputation points
1 answer

Azure Automation account runbook unable to write to Azure fileshare

Hi folks, I am using Azure Automation account runbook in PowerShell to write to a file in Azure file share, but it is failing with error: "The parameter is incorrect" Code: Error: However, same piece of code works when I run it on either my…

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,187 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,145 questions
asked 2024-05-16T10:53:49.6866667+00:00
Apurva Pathak 315 Reputation points
commented 2024-05-23T12:24:54.3766667+00:00
Apurva Pathak 315 Reputation points
0 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,145 questions
asked 2024-04-08T20:02:00.5566667+00:00
Jeremy Zheng 70 Reputation points
commented 2024-05-23T09:15:30.5566667+00:00
Andrew 1 Reputation point
1 answer One of the answers was accepted by the question author.

How can we use variables inside the inline script in another inline script in PowerShell workflow in Azure runbooks

“In my Runbook workflow, I’d like to use the variables created in one inline script block within another inline script block.” Please suggest how can do this Workflow { inline script { $a=1 } inline script { $b=$a -- fist inline block…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,145 questions
asked 2024-05-22T17:36:04.3233333+00:00
Ponkam, Sumanth (Cognizant) 50 Reputation points
accepted 2024-05-23T05:10:51.16+00:00
Ponkam, Sumanth (Cognizant) 50 Reputation points
0 answers

Renaming GitHub Repo Broke and Disabled Source Control Completely

Originally we had two Azure Automation Accounts (lets call them #1 and #2) that had Source Control enabled with a single GitHub repository. Then, we created two more automation accounts (#3 and #4) that were also set up with Source Control enabled with…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,145 questions
asked 2024-05-22T15:03:58.46+00:00
Barrow, Adam 0 Reputation points
edited the question 2024-05-22T15:05:18.5666667+00:00
Barrow, Adam 0 Reputation points
1 answer

How to call child runbooks from parent runbook without waiting for child runbook completion and move to next line

I have runbook A as parent and B, C are Child. I want to create a runbook A that should invoke B, C and continue executing the next line in the parent runbook. parent should not wait for child runbooks to be completed. can we have some sample code

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,145 questions
asked 2024-05-21T13:25:53.5333333+00:00
Ponkam, Sumanth (Cognizant) 50 Reputation points
commented 2024-05-22T11:22:28.4166667+00:00
AnuragSingh-MSFT 20,831 Reputation points
1 answer

The specified module 'Az.Accounts' was not loaded because no valid module file was found in any module directory

I am in the process of upgrading azure 'run-as-account' to 'manage-identities'. there were power-shell script that used to automate VM functionalities. I import "Az.Accounts" module from Module section Module Name - Az.Accounts Module…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,145 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,173 questions
asked 2024-05-21T06:19:30.23+00:00
Mithila Lishan 136 Reputation points
answered 2024-05-21T10:34:17.5266667+00:00
Mithila Lishan 136 Reputation points
1 answer

Cannot update or install modules in Azure Automation

I am having issues updating or installing modules in Azure Automation. Every time I initiate the import process, it never finishes. Even when I delete the imported job and try again, the results are still the same. This has persisted for a week now, and…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,145 questions
asked 2024-05-18T02:35:05.1733333+00:00
Chester Camlin 0 Reputation points
edited the question 2024-05-20T03:58:13.0133333+00:00
ManoharLakkoju 615 Reputation points Microsoft Vendor
1 answer

Automation Update Management Schedules migrate to Azure Update Manager

Hello, I migrated all VM's from Automation Update Management to Azure Update Manager. I see all of the VM's in the Azure Update Manager overview with "Periodic assessment" enabled. However, I cannot see the schedules that we used in…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,145 questions
Azure Update Manager
Azure Update Manager
An Azure service to centrally manages updates and compliance at scale.
257 questions
asked 2024-05-15T10:30:29.6166667+00:00
Uhmazing34 20 Reputation points
edited an answer 2024-05-16T06:20:58.8033333+00:00
Saswata Pandit 0 Reputation points Microsoft Employee
5 answers One of the answers was accepted by the question author.

Retirement Announcement – Azure Automation Update Management solution will end on 31st August 2024

On 31st August 2024, support for Azure Automation Update Management will end. The offering is dependent on the Log Analytics agent which will also deprecate the same day. Before that date, please migrate to Azure Update Manager, a native functionality…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,145 questions
asked 2023-12-08T07:38:15.72+00:00
SwathiDhanwada-MSFT 18,031 Reputation points
answered 2024-05-15T10:23:33.31+00:00
Manoj K K 0 Reputation points
1 answer

Azure python runbook import_py3package_from_pypi : Exception: Error importing package cryptography into Automation account. Error code is 400. from p

hi all, on Azure Automations I am receiving this Exception when I try to run import_py3package_from_pypi runbook on module msgraph-sdk -v 1.2.0. I only require the functionality from the runbook to access the microsoft graph using certificate…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,145 questions
asked 2024-05-08T03:56:09.8433333+00:00
Grant Fullston 25 Reputation points
answered 2024-05-15T07:59:50.6833333+00:00
AnuragSingh-MSFT 20,831 Reputation points
1 answer

How to disable local authentication in Azure Automation account

Hi experts, Does anyone know how to disable the local authentication in Azure Automation Account? This documentation is related to the topic, but it doesn't provide actual steps to disable the local authentication in Azure Automation Accounts.…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,145 questions
asked 2024-05-14T08:15:12.13+00:00
Liang Chen 1 Reputation point Microsoft Vendor
answered 2024-05-15T06:47:40.3733333+00:00
Stanislav Zhelyazkov 21,521 Reputation points MVP
0 answers

Getting an error in a runbook.

Hi there, I've created a runbook to handle offboarding users in office 365. I'm connecting to the graph API, and exchangeonline module. My runbook is working flawlessly except for one specific line which is giving me an error when ran in the runbook (I…

Microsoft Exchange Online
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,879 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,145 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,414 questions
asked 2024-04-30T17:12:23.7733333+00:00
Tristan MacDonald 0 Reputation points
edited the question 2024-05-14T21:40:29.52+00:00
Tristan MacDonald 0 Reputation points
1 answer

Runbook synchronization failing

Hello, I am encountering an issue with the synchronization of my runbooks. The source control integration in azure automation that fetches codes from an azure repository is currently failing to synchronize. Yet it was working properly until yesterday.…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,145 questions
asked 2024-05-03T14:57:27.0866667+00:00
Brunel Elvire BOUYA-MOKO 20 Reputation points
commented 2024-05-14T06:58:46.84+00:00
AnuragSingh-MSFT 20,831 Reputation points
2 answers One of the answers was accepted by the question author.

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

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,917 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,145 questions
asked 2024-05-08T00:16:54.5566667+00:00
Oyin 20 Reputation points
accepted 2024-05-13T20:11:52.9266667+00:00
Oyin 20 Reputation points