1,173 questions with Azure Automation tags

Sort by: Updated
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,173 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
0 answers

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,621 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,173 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,272 questions
asked 2024-07-03T19:21:58.6166667+00:00
Girish Prabhudesai 21 Reputation points
commented 2024-07-04T13:48:36.0433333+00:00
Girish Prabhudesai 21 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,245 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,173 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,173 questions
asked 2024-07-01T08:21:39.7566667+00:00
Monalisa 40 Reputation points
accepted 2024-07-03T07:31:50.5966667+00:00
Monalisa 40 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,173 questions
Azure Site Recovery
Azure Site Recovery
An Azure native disaster recovery service. Previously known as Microsoft Azure Hyper-V Recovery Manager.
670 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,195 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,173 questions
asked 2024-05-24T07:23:19.3166667+00:00
VinodKumar-0434 296 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,282 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,173 questions
asked 2024-06-21T09:47:14.4966667+00:00
Anil Kumar 305 Reputation points
accepted 2024-07-02T05:35:35.9166667+00:00
Anil Kumar 305 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,173 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,200 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,245 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,173 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,470 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,173 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
1 answer

How can I import an image from local to my HTML script and utilize the script to send an email using Azure communication Email service via Python.

Hi, I'm working on automating email using Azure communication service, Email. I have a HTML script serving as an email body. I will trigger a python script to grab contents of HTML via python script. ex: <!DOCTYPE…

Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
781 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,056 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,173 questions
asked 2024-06-25T21:32:23.48+00:00
Srinivasulu, Pavan Kumar 0 Reputation points
answered 2024-06-28T22:06:14.4833333+00:00
Grmacjon-MSFT 17,286 Reputation points
1 answer

How to get RI saving Report in Azure?

Hello, We have 100s of RIs (reservations) with both 1 and 3 year RI Terms, how can we get the monthly RI saving and RI wastage report for a single or multiple Azure Services? Let's say we bought 1Y RI for VMs with 1440 (120*12) bucks at 30%…

Azure Cost Management
Azure Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
2,282 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,173 questions
asked 2024-06-21T10:10:41.56+00:00
Anil Kumar 305 Reputation points
commented 2024-06-28T10:15:02.26+00:00
SadiqhAhmed-MSFT 40,286 Reputation points Microsoft Employee
1 answer

Concurrent Automation Runbook jobs being triggered for a single web app stop activity

Azure activity log alert was set up for triggering alert for web app stop operation and azure automation runbook was specified in action group for this alert rule. Multiple Azure Automation Runbook jobs are being triggered concurrently due to multiple…

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,967 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,173 questions
asked 2024-06-27T17:24:31.5166667+00:00
AnuragSingh-MSFT 21,236 Reputation points
edited the question 2024-06-27T19:46:18.05+00:00
Monalla-MSFT 12,761 Reputation points
0 answers

Why do Get-AzSentinelAlertRule/Incident Powershell CLI queries not always provide specified output detail?

When running the following List-all-alert-rules query, Get-AzSentinelAlertRule -ResourceGroupName "myResourceGroupName" -workspaceName "myWorkspaceName" all specified field key:value pairs are returned for every rule, including the…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,173 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,272 questions
asked 2024-06-24T07:32:41.6366667+00:00
Colin Sanders 0 Reputation points
commented 2024-06-27T07:53:53.7366667+00:00
Colin Sanders 0 Reputation points
0 answers

Newly created webhook not shown after creation

I have created a new Azure Automation Runbook and Webhook. The Runbook is PowerShell 5.1 based and is in "published" status. It stopped working so I went back to check the expiration of the webhook, and no webhooks are shown in the Webhook…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,173 questions
asked 2024-06-25T20:39:21.36+00:00
Doug Horton 0 Reputation points
edited the question 2024-06-26T15:02:03.3766667+00:00
Doug Horton 0 Reputation points
1 answer

Run Azure Automation Runbook (PowerShell) that process files on Network path.

I am trying to run a PowerShell script on a Hybrid Worker (Windows Virtual Machine on Azure) which is failing to access shared remote location. When I run the same script on the Virtual Machine configured as the Hybrid Worker, it works as expected. I…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,173 questions
asked 2024-06-25T20:38:32.51+00:00
Gayan N. Wimalarathna 0 Reputation points
edited an answer 2024-06-26T11:49:26.5266667+00:00
William 620 Reputation points
1 answer

Azure regional failure trigger to initiate DR workflow

Hi, Is there any way Azure notifies when disaster strikes and a region goes down. Actually I have designed a DR workflow using Azure Automation account and Logic apps. The issue here is that based on which trigger/alert the logic app endpoint should get…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,173 questions
asked 2024-06-25T04:27:55.1866667+00:00
Atanu Gupta 141 Reputation points
edited a comment 2024-06-26T06:21:37.8966667+00:00
Atanu Gupta 141 Reputation points
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,173 questions
asked 2022-11-30T12:46:44.04+00:00
Ravi Shekhar 1 Reputation point
commented 2024-06-21T15:21:33.1266667+00:00
Matt Fowles 0 Reputation points
1 answer

How to remove permanently a automation account

I have created and deleted 10 automation accounts, currently I cannot create any more. It seems that the accounts I deleted have entered soft delete status, is there any way to permanently delete them? My problem is that I have deleted a resource group…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,173 questions
asked 2024-06-10T06:43:45.1533333+00:00
Nguyễn Hữu Tấn Đạt 0 Reputation points
commented 2024-06-19T07:03:19.93+00:00
Abdul 2,200 Reputation points Microsoft Vendor
0 answers

Distro module error on Azure runbook

I'm starting out with Azure Automation runbooks, because I would like to schedule some python scripts, which will use openAI GPT via the official openai Python package. I have this script working locally. After figuring out I needed to use the preview…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,173 questions
asked 2023-12-02T14:24:42.9433333+00:00
Arvid0 10 Reputation points
commented 2024-06-19T02:41:42.4566667+00:00
Miguel Castillo Rodriguez 0 Reputation points