1,349 questions with Azure Automation tags

Sort by: Updated
0 answers

Unable to connect to Microsoftgraph across tenants using clinet secret in Azure automation runbook

I'm trying to connect to microsoft graph using a client secret in an azure automation runbook,but I'm encountering several errors. I am using power shell script, I've tried diiferent ways to login. Below are the different errors: 1)Invalid JWT Access…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,349 questions
asked 2025-03-11T03:30:10.5133333+00:00
Shri Gowtham Tharun Reddy Abbireddy 146 Reputation points
commented 2025-03-26T06:56:03.7633333+00:00
Vinod Pittala 1,505 Reputation points Microsoft External Staff
2 answers

Best way to import the existing infrastructure on Azure to Terraform

We have a huge azure infrastructure of nearly 6000 components in place, which were created through az cli / powershell. We want to import all of this in terraform and start using terraform for automation. What should be the best way to do that?

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,349 questions
asked 2023-10-19T19:00:44.2833333+00:00
Srishti Gawande 0 Reputation points
answered 2025-03-25T23:16:30.3366667+00:00
Stu Mace 0 Reputation points MVP
1 answer

Using Azure CLI to run a Bicep file

I am using powerhell to run a Bicep file. I already have the Azure CLI installed on my computer and am logged in to my Azure account. However, when I try to run the following command, I get an error. I need help with this. Thank you very much. PS…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,349 questions
asked 2025-03-25T15:59:27.5+00:00
Isaac Fernandez 0 Reputation points
answered 2025-03-25T19:38:36.8166667+00:00
Vahid Ghafarpour 22,800 Reputation points
0 answers

Azure automation account Hybrid Worker - failed to connect to MSI

Hi, I want to convert my PS runbook to Azure CLI and it has to run on a Hybrid Worker. The PS login is like this $AzureContext = (Connect-AzAccount -Identity).context Now, with Azure CLI, i suppose it's the following... $AzureContextcli = (az login…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,349 questions
asked 2025-02-27T16:25:04.8+00:00
Charles Thivierge 4,161 Reputation points
commented 2025-03-24T15:40:57.2266667+00:00
Hannes Skoglund 25 Reputation points
0 answers

No Automation account created, and showing error of the only one automation account is allowed in the subscription

No Automation account created, and showing error of the only one automation account is allowed in the subscription

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,349 questions
asked 2025-03-21T12:00:37.9566667+00:00
Shivam Maurya 0 Reputation points
commented 2025-03-21T12:11:32.9066667+00:00
Ashok Gandhi Kotnana 5,630 Reputation points Microsoft External Staff
1 answer

How to setup automation task and alerts

Hi all, I currently have an app service plan with 3 instances and a few web apps running on it. I want to setup a process so that if an instance of a web app becomes unhealthy or degraded, that instance is restarted. After restarting this instance, it…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,349 questions
asked 2025-03-21T10:48:20.8233333+00:00
Arun Pun 0 Reputation points
answered 2025-03-21T11:57:58.39+00:00
Marcin Policht 44,245 Reputation points MVP
0 answers

Automation Account

I have created my automation account where I created a runbook now I am unable to find it and in monitor log there is no data of deletion of automation book. Can someone help me with this?

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,349 questions
asked 2025-03-20T12:33:57.3933333+00:00
Avi Natani 0 Reputation points
commented 2025-03-21T10:11:07.8666667+00:00
Ashok Gandhi Kotnana 5,630 Reputation points Microsoft External Staff
1 answer

this request is not authorized to perform this operation

Configured a python runbook to run and create nfs snapshots on nfs file share. When running the runbook I get the following error: This request is not authorized to perform this operation Thanks, Roman

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,349 questions
asked 2025-03-14T12:53:04.4533333+00:00
Mr Carter 0 Reputation points
commented 2025-03-21T05:39:10.7566667+00:00
Ashok Gandhi Kotnana 5,630 Reputation points Microsoft External Staff
1 answer

Hybrid Worker Extension on an Azure Arc-connected server stops working after a week.

I have a hybrid worker group setup on one Azure Arc-connected machine. The hybrid worker extension is installed, and initially, it works great. However, after roughly one week, I get the error with Event ID 15105 in Event Viewer: - The task category is…

Azure Arc
Azure Arc
A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
498 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,349 questions
asked 2023-05-24T08:50:45.34+00:00
Simon Enbom 10 Reputation points
commented 2025-03-20T08:16:40.4966667+00:00
Alexey Suslin 0 Reputation points
1 answer One of the answers was accepted by the question author.

Secure Azure Automation Webhook

Hello, How can I secure a webhook in Azure Automation if the service using it is outside of Azure? As far as I understand, I can create a Privet Endpoint, prohibit external access to the Azure Automation Service and configure access to the Privet…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,349 questions
asked 2025-03-17T19:14:34.63+00:00
Denys Pasternak 20 Reputation points
accepted 2025-03-18T19:31:44.9566667+00:00
Denys Pasternak 20 Reputation points
1 answer One of the answers was accepted by the question author.

Export data to Azure Storage using a Runbook and Powershell

Hello, I'm trying to export some data to a csv file and then copy the file to blob storage without saving the file locally or in cloudshell. Is there any way to do that? Best Regards, Michel

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,349 questions
asked 2025-03-11T15:15:00.3966667+00:00
Michel Sfeir 190 Reputation points
accepted 2025-03-18T14:52:45.3133333+00:00
Michel Sfeir 190 Reputation points
1 answer

Azure VM Automation

aziure VM automation Task Start VM fails with infalid connection can this be due to the user with 2 factor authentication But Tenat ID the RG and the VM Name are rigth

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,349 questions
asked 2025-03-13T12:49:19.4566667+00:00
Axel Sch 0 Reputation points
commented 2025-03-18T13:50:25.8+00:00
Naveena Patlolla 1,630 Reputation points Microsoft External Staff
0 answers

Several runbooks failing sporadically

Our issue is with Azure Automation. I didn't see a tag that fits. We updated a secret last week connected to an app registration that interacts with SharePoint sites through Powershell Runbooks. We have at least 6 runbooks using this secret and two of…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,349 questions
asked 2025-03-12T18:25:54.66+00:00
Andrew Rossman 0 Reputation points
commented 2025-03-17T05:51:44.8433333+00:00
Vinod Pittala 1,505 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

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,349 questions
asked 2025-01-23T16:20:41.2933333+00:00
Nana Poku 220 Reputation points
commented 2025-03-11T02:15:56.16+00:00
Ashok Gandhi Kotnana 5,630 Reputation points Microsoft External Staff
1 answer

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,349 questions
asked 2025-02-21T14:38:21.6633333+00:00
Tuan Nguyen 0 Reputation points
answered 2025-03-08T17:09:05.39+00:00
Ryan Hill 30,106 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Automation Account How to Stop and start Multiples VMS

How to Start and Stop Multiple VMs Using Specific Tag Keys and Values in an Automation Account.

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,349 questions
asked 2025-03-06T01:06:19.02+00:00
Akhila Anne 20 Reputation points
accepted 2025-03-07T05:46:36.24+00:00
Akhila Anne 20 Reputation points
0 answers

Unable to stop the runbooks on automation account

Following runbooks we are not able to stop/ suspend. we tried following ways of stopping : Manually stop/suspend job Using REST API call from ADF to stop the jobs Restarted hybrid worker service Tried deleting runbook and again creating it Still…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,349 questions
asked 2025-03-05T09:06:26.04+00:00
Salati, Sabiya 0 Reputation points
commented 2025-03-07T04:23:38.5366667+00:00
Pavan Minukuri 1,240 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

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,349 questions
asked 2025-02-26T09:29:26.9666667+00:00
Jimmy 40 Reputation points
accepted 2025-03-06T11:19:18.8966667+00:00
Jimmy 40 Reputation points
2 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 Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,690 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,349 questions
asked 2025-01-24T10:12:35.7566667+00:00
Raju Kothapally 5 Reputation points
commented 2025-03-05T12:34:46.44+00:00
Mounika Reddy Anumandla 3,995 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

Doc page web unavailable

Hi everyone, I see the page URL resource is not availabe Azure Automation https://learn.microsoft.com/en-us/azure/automation/automation-send-email?source=docs

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,349 questions
asked 2025-02-28T13:52:58.75+00:00
Djamel Garar 20 Reputation points
accepted 2025-03-03T14:46:45.84+00:00
Djamel Garar 20 Reputation points