1,182 questions with Azure Automation tags

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

IF statement not functioning in Azure runbook

I have a runbook with a PowerShell if statement to check if the input value of a received MAC address is in a valid format. If the format is not valid I am running a cmdlet which calls a function to update the MAC address and use the updated MAC. Else if…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,182 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,283 questions
asked 2024-07-09T14:06:43.48+00:00
DW_FL 41 Reputation points
accepted 2024-07-10T17:19:59.38+00:00
DW_FL 41 Reputation points
2 answers One of the answers was accepted by the question author.

Trying to deploy storage account and a lifecycle policy with ARM fails with Internal Server Error on policy

Hello, I am trying to deploy a storage account with an ARM template (generated from Bicep) with lifecycle management policy and the policy rule fails with Internal Server Error, without of course any details, so it is not possible to know if I am…

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.
2,887 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,182 questions
asked 2024-07-09T14:18:41.13+00:00
Philip Patrick 20 Reputation points
accepted 2024-07-10T13:34:59.3333333+00:00
Philip Patrick 20 Reputation points
1 answer One of the answers was accepted by the question author.

How to restart a VM in Automation State Configuration with latest configuration?

Hi. Let's say I've connected to a VM and enabled Azure Automation State Configuration. Then the VM stopped (for whatever reason). What should I do to restart the VM from the latest configurations? Can I just start it again or do I need to restore its…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,182 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,283 questions
asked 2024-07-08T07:45:18.6966667+00:00
Mahdi 125 Reputation points
commented 2024-07-10T12:19:44.45+00:00
Abdul 2,355 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Issue with Automation Account SourceControl autoSync

Hi, Has anyone else faced this issue with source control in Automation Accounts? From one day to the next, the auto-sync feature just stopped working, and when we try to enable it, we get the following error: We have a lot of source control configured…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,182 questions
asked 2024-05-31T14:46:17.5233333+00:00
Daniel Orelius 20 Reputation points
commented 2024-07-10T11:36:36.88+00:00
Mahesh Goud Juvvadi 930 Reputation points Microsoft Vendor
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,182 questions
asked 2024-07-09T10:37:31.8866667+00:00
Varma 1,275 Reputation points
answered 2024-07-10T07:24:53.56+00:00
Thomas Smith 0 Reputation points
1 answer

How to set up a automate rule to delete SharePoint site contact when it is expired.

Hi all, May I ask if there a way to create a Automate Flow to delete a site contact depends on the expire date? For example, I have added a column called Expire: Is there any way to get this file deleted when it is expired and send a notification out?…

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
4,258 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,182 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,189 questions
SharePoint Workflow
SharePoint Workflow
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Workflow: An orchestrated and repeatable pattern of business activity, enabling data transformation, service provision, and information retrieval.
546 questions
asked 2024-07-09T04:39:08.8066667+00:00
Jason Tang 0 Reputation points
commented 2024-07-10T06:43:49.29+00:00
AllenXu-MSFT 17,966 Reputation points Microsoft Vendor
2 answers

Azure Automation Account Source Control Error

Hi there, I'm getting an error when using the Source Control for one of my runbooks. I'm getting the following error log everytime I try to turn on the 'Auto Sync' setting. Currently, I only have 1 runbook so I can't really test this out on another…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,182 questions
asked 2024-07-05T17:19:27.52+00:00
Louis Ruocco 5 Reputation points
commented 2024-07-09T14:40:55.2+00:00
Louis Ruocco 5 Reputation points
1 answer

Receiving an error when trying to deploy ARM template

I created a runbook within an Automation Account to go out and grab logic app templates and send them to a blob storage container. Here is the powershell script that gets the templates # Ensure modules are imported, should already be imported via…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,182 questions
asked 2024-07-08T16:35:00.7666667+00:00
JTurn01 0 Reputation points
answered 2024-07-09T13:41:04.6633333+00:00
JTurn01 0 Reputation points
2 answers

Unable to create automation account with customer-managed key

Hi, I am trying to deploy an automation account with a customer-managed key via Bicep but it keeps resulting in an Internal Server Error (HTTP Status Code: 500). I am using the bicep…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,182 questions
asked 2024-07-06T12:22:13.28+00:00
neok-g 36 Reputation points
commented 2024-07-09T07:25:29.76+00:00
Vinodh247 12,741 Reputation points
2 answers One of the answers was accepted by the question author.

Azure Synapse LinkConnection template json

We have created a LinkConnection in Azure synapse, the source database is MS SQL Server and target database is Dedicated SQL Pool. We are trying to create powershell script to automate the creation of this LinkConnection for each environment - Testing,…

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,644 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,182 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,283 questions
asked 2024-07-03T19:21:58.6166667+00:00
Girish Prabhudesai 41 Reputation points
accepted 2024-07-08T11:30:36.9633333+00:00
Girish Prabhudesai 41 Reputation points
1 answer

Azure Automation PowerShell - While trying to connect to AzureAD using 'Connect-AzureAD' it give me issue of cmdlet not recognized.

I am trying to get all the users in AD using PowerShell automation runbook. The modules are installed in the shared resources. Still when executing line : 'Connect-AzureAD' throws error of : I have tried options like : Importing the modules…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,182 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,283 questions
asked 2024-07-08T01:54:06.11+00:00
Rituparna Khatua 0 Reputation points
answered 2024-07-08T05:29:56.45+00:00
akinbade abiola 7,835 Reputation points
6 answers

ExchangeOnlineManagement authentication broken in Azure Automation Runbook

Since the morning of Thursday 9 Feb 2023, I've not been able to successfully authenticate with ExchangeOnlineManagement via an Azure Automation runbook using either a credential flow or Managed Identity. I can replicate this issue across three different…

Microsoft Exchange Online
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,182 questions
asked 2023-02-11T12:03:47.8666667+00:00
Steve Johnson 11 Reputation points
answered 2024-07-04T13:59:47.12+00:00
Magnus Jakobsen 6 Reputation points
1 answer

Help getting python runbook (azure automation) to access microsoft graph (sharepoint files)

Hi all, I would love some help trying to get my python runbook to access my microsoft graph. I have followed this tutorial (https://learn.microsoft.com/en-us/entra/id-governance/identity-governance-automation) and have tested my certificates with a…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,303 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,182 questions
asked 2024-05-07T07:03:07.2066667+00:00
Grant Fullston 25 Reputation points
answered 2024-07-03T08:51:35.1333333+00:00
Danstan Onyango 3,816 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

Getting error and warning while executing runbook automation account

We are using kusto query with powershell in Azure automation account. We are getting below error and warning while executing runbook. It will generate csv with kusto query result and sent mail to recipients . We are getting even though getting below…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,182 questions
asked 2024-07-01T08:21:39.7566667+00:00
Monalisa 60 Reputation points
accepted 2024-07-03T07:31:50.5966667+00:00
Monalisa 60 Reputation points
0 answers

Run a Python Runbook on a Linux virtual machine during Azure Recovery Site failover

Hello everyone, I'm currently trying Azure Site Recovery to replicate a VMware virtual machine into Azure. I've done the test failover successfully but now I'm trying to execute a Python script onto my replicate VM during the failover phase. I tried to…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,182 questions
Azure Site Recovery
Azure Site Recovery
An Azure native disaster recovery service. Previously known as Microsoft Azure Hyper-V Recovery Manager.
674 questions
asked 2024-07-02T12:29:37.53+00:00
Antoine Davis 0 Reputation points
edited the question 2024-07-02T16:15:43.0433333+00:00
VarunTha 5,355 Reputation points Microsoft Vendor
2 answers

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,182 questions
asked 2024-05-24T07:23:19.3166667+00:00
VinodKumar-0434 301 Reputation points
commented 2024-07-02T12:06:12.5633333+00:00
Isaac Vergara 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to split RI cost ?

Hello, We have bought RIs at resource group level and we want to split the RI cost among various application owners based on RI discount their resources got in billing for that hour. Let's assume there are three equal size VMs in an RG and we have…

Azure Cost Management
Azure Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
2,302 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,182 questions
asked 2024-06-21T09:47:14.4966667+00:00
Anil Kumar 325 Reputation points
accepted 2024-07-02T05:35:35.9166667+00:00
Anil Kumar 325 Reputation points
1 answer One of the answers was accepted by the question author.

How many Schedule job can create an single automation account? Any limit is available?

We need to create 50000 schedule with azure automation is it possible or not.

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,182 questions
asked 2024-06-28T08:07:44.8933333+00:00
Paramesh D 20 Reputation points
commented 2024-07-01T09:21:02.3966667+00:00
Abdul 2,355 Reputation points Microsoft Vendor
0 answers

Issue: Deployment Failed When Creating an Automation Account on Azure (400 Bad Request)

Hi, When attempting to create an automation account on Azure, either via Terraform (API) or through the Azure dashboard, I got the following error message: Your deployment failed unexpected status 400 (400 Bad Request) with response:…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,303 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,182 questions
asked 2024-07-01T09:13:40.0366667+00:00
lucab 0 Reputation points
1 answer

unable to create vm using ARM Template, throws error "The value of parameter linuxConfiguration.ssh.publicKeys.keyData is invalid"

unable to create vm using ARM Template, throws error "The value of parameter linuxConfiguration.ssh.publicKeys.keyData is invalid" I have declared the parameter everything seems to be fine.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,499 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,182 questions
asked 2022-06-27T15:07:09.3+00:00
Bhaskar 16 Reputation points
commented 2024-06-29T15:38:25.2366667+00:00
Vahid reza Mehrasa 0 Reputation points