1,278 questions with Azure Automation tags

Sort by: Updated
1 answer

Creating azure automation run book with PShell to deploy new instance of cloud compute solution and delete with other script

is it possible to azure automation run book using powershell to deploy new instance of cloud compute solution? and I want to run another run book to delete all the resources created by the first script with out any back up ? how do we do these 2, please…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,278 questions
asked Jul 9, 2024, 10:37 AM
Varma 1,385 Reputation points
edited the question Dec 22, 2024, 1:10 PM
TP 100.9K Reputation points
1 answer

Need to setup disaster recovery & enable Multiple VM Replication using azure automation runbook with python script

Need to setup disaster recovery & enable Multiple VM Replication using azure automation runbook with python script. I have tried multiple ways to get reference MS DOC. But No luck. Can some one please share if any manual available

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,278 questions
Azure Site Recovery
Azure Site Recovery
An Azure native disaster recovery service. Previously known as Microsoft Azure Hyper-V Recovery Manager.
737 questions
asked Dec 4, 2024, 7:17 AM
Satish B 70 Reputation points
commented Dec 20, 2024, 5:15 PM
Pavan Minukuri 915 Reputation points Microsoft Vendor
1 answer

Azure Automation Account: Total Job Metric Not Receiving Data for Hybrid Worker Group Jobs

The Azure Automation Account metric ‘Total Jobs’ is not receiving data for jobs run on a hybrid worker group node. Several jobs running on Azure show data in the ‘Total Jobs’ metric, but this specific scenario does not reflect any data. Clarification is…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,278 questions
asked Nov 7, 2024, 2:56 PM
Devipriya Anbazhagan 0 Reputation points
commented Dec 20, 2024, 5:13 PM
Pavan Minukuri 915 Reputation points Microsoft Vendor
0 answers

Virtual machine agent status is not ready- Not able to take RDP in Azure VM

HI , My client has on-prem server and he converted vhdx to VHD disk and put it in azure Blob. and I have created managed disk and created VM from managed disk . But problem is that i got an error " Virtual machine agent status is not ready"…

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,167 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,278 questions
asked Dec 19, 2024, 1:51 PM
Emran Hossain 195 Reputation points
commented Dec 20, 2024, 4:40 PM
Mahesh Goud Juvvadi 1,665 Reputation points Microsoft Vendor
1 answer

Use Az.Subscription in Azure Automation

Hello, I am trying to use some Azure commands in my Automation Account, but I am getting an error. The code performs the following function: it logs into Azure and disables the subscription using the command Disable-AzSubscription, which is part of the…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,278 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,704 questions
asked Dec 17, 2024, 6:11 PM
Wellington Adilson Dorado 0 Reputation points
answered Dec 20, 2024, 12:32 PM
Ashok Gandhi Kotnana 1,500 Reputation points Microsoft Vendor
2 answers

Help with Sporadic Internal Errors in Azure Automation Runbooks

Hello everyone, I’m hoping someone in the community has faced a similar issue and can share their insights. Since August, we’ve been experiencing problems with our Azure Automation Runbooks, originally running on the PowerShell 5.1 runtime. The main…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,278 questions
asked Dec 4, 2024, 11:15 AM
Ivaylo Milkov 10 Reputation points
answered Dec 20, 2024, 10:20 AM
Ellis 0 Reputation points
0 answers

Runbook which used to work normal has stopped working

I use my runbook to create 10-50 VM 6 something local time in the morning and it used to work prefectly. But it stopped working since 13 Oct 2024 Hong Kong Time.

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,278 questions
asked Oct 14, 2024, 4:59 AM
Lewis Lee 40 Reputation points
commented Dec 19, 2024, 11:58 PM
Pranay Reddy Madireddy 1,230 Reputation points Microsoft Vendor
3 answers

Is there a way to automate file transfer from a Storage Account to Azure DevOps Repo?

Is there a way to automate file transfer from a Storage Account to Azure DevOps Repo? Thank you,

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,290 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,278 questions
asked Sep 8, 2022, 8:45 PM
Shinobi 1 Reputation point
answered Dec 17, 2024, 2:46 PM
PhillipsB 75 Reputation points
1 answer One of the answers was accepted by the question author.

I have Azure Automation with Python Environment, but cannot install cffi module.

I try to run python script in Azure Automation, but have such error: The job failed because it could not install cffi python package imported in automation account. Error: ERROR: cffi-1.17.1-cp313-cp313-manylinux_2_17_x86_64.whl is not a supported wheel…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,278 questions
asked Dec 10, 2024, 8:45 AM
Dariusz Kmiecik 20 Reputation points
accepted Dec 17, 2024, 8:38 AM
Dariusz Kmiecik 20 Reputation points
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,278 questions
asked Dec 1, 2023, 12:53 PM
Jake Gates 5 Reputation points
commented Dec 16, 2024, 7:38 PM
Thomsen, Chad 0 Reputation points
1 answer One of the answers was accepted by the question author.

True and False expression on powerautomate does not sync with sharepoint list

Hi everyone, I have created a sharepoint list and configure the column to be Yes or No. It will indicate a tick for Yes while for No it will be left blank. When i configure my automation for the select action i have use expression…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,278 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,150 questions
asked Dec 14, 2024, 5:48 AM
Dash 20 Reputation points
edited the question Dec 16, 2024, 8:33 AM
Ling Zhou_MSFT 19,935 Reputation points Microsoft Vendor
1 answer

Maximum number of Accounts reached. If Deleted recently, please restore the same account

Currently developing the azure automation terraform module , while testing we may required to create multiple records however getting the as Maximum number of Accounts reached. If Deleted recently, please restore the same account

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,278 questions
asked Dec 11, 2024, 4:24 PM
Murugesan Rengan 0 Reputation points
commented Dec 13, 2024, 8:40 PM
Pavan Minukuri 915 Reputation points Microsoft Vendor
0 answers

print('Error - ' ) is not working as expected in azure python runbook

Hi , I am referring below link for printing error message in Error tab of Azure Python Runbook. https://learn.microsoft.com/en-us/azure/automation/learn/automation-tutorial-runbook-textual-python-3 Below is the print statement used by me …

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,278 questions
asked Nov 30, 2022, 12:46 PM
Ravi Shekhar 1 Reputation point
commented Dec 13, 2024, 11:50 AM
Dariusz Kmiecik 20 Reputation points
1 answer

Impact and consequence when resetting the password for Microsoft Entra seamless SSO account?

Based on this article: https://learn.microsoft.com/en-us/entra/identity/hybrid/connect/how-to-connect-sso-faq#how-can-i-roll-over-the-kerberos-decryption-key-of-the--azureadsso--computer-account- What are the impact when resetting the Kerberos decryption…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,631 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,278 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,704 questions
Microsoft Entra
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,620 questions
asked Oct 23, 2024, 12:43 PM
EnterpriseArchitect 5,516 Reputation points
commented Dec 10, 2024, 9:07 AM
Marti Peig 610 Reputation points Microsoft Employee
0 answers

Datetime parameter unusable in simple automation runbook

I have the most simple runbook imaginable. It takes the parameter [Datetime]$DateNotified and it does a write-output of $DateNotified. Instead of printing the date I get this error: Cannot process argument transformation on parameter 'DateNotified'.…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,278 questions
asked Mar 30, 2023, 5:14 PM
Buch, Tamara 16 Reputation points
commented Dec 9, 2024, 5:43 PM
Jesus Chao 151 Reputation points
1 answer

Runbook not visible in update action drop down of recovery plan after runbooks starting from alphabet 'S'

I have created runbooks for a DR of an environment and have created a recovery plan for the same. Now when i try to attach the runbook in the steps of recovery plan, i am not able to find the runbooks after the names starting from S in the dropdown. I…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,278 questions
Azure Site Recovery
Azure Site Recovery
An Azure native disaster recovery service. Previously known as Microsoft Azure Hyper-V Recovery Manager.
737 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,704 questions
asked Dec 3, 2024, 12:00 PM
Jeganath Alwar 0 Reputation points
commented Dec 6, 2024, 7:30 PM
Pavan Minukuri 915 Reputation points Microsoft Vendor
1 answer

Automate AD User Report Azure

Hello I am looking for a way to automate downloading all users from Azure AD into an excel file and send an email with the report to recipients Any suggestions?

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,278 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,620 questions
asked Aug 30, 2023, 8:12 PM
berketjune2012 371 Reputation points
commented Dec 5, 2024, 9:55 PM
Yampier 10 Reputation points
2 answers One of the answers was accepted by the question author.

Azure: Next Data max size automaticly

Hi, so basically what i am trying to do is run a runbook. And i want that runbook to tell me the next level in what data max size is. I then later gonna want to have parameters like if size is 90% full, check again in 5 min to verify it. And if so,…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,278 questions
asked Dec 3, 2024, 10:02 AM
André Lindqvist 20 Reputation points
edited the question Dec 5, 2024, 1:25 AM
Rahul Podila 800 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

is it even possible to use Microsoft.PowerApps.Administration.PowerShell in an Azure Runbook?

Import-Module Microsoft.PowerApps.Administration.PowerShell Import-Module Microsoft.PowerApps.PowerShell #Add-PowerAppsAccount #Use for desktop..[desktop works. It returns the filtered environment] #Use for Azure Automation…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,278 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,704 questions
asked Nov 7, 2024, 6:07 PM
Guy Martinello 20 Reputation points
answered Dec 4, 2024, 9:26 AM
Guy Martinello 20 Reputation points
1 answer

Azure Automation Service Charges

I have automation set up in 2 different tenant, both are for database scale up and scale down i.e. between S2 and S4 which is scheduled at 7 AM to scale up and 7 PM to scale down., but still the execution time is very different for both of them, 1 takes…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,278 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,704 questions
asked Nov 28, 2024, 4:11 AM
Aryaa Kotian 0 Reputation points
edited the question Dec 4, 2024, 6:20 AM
SadiqhAhmed-MSFT 47,836 Reputation points Microsoft Employee