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,…
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…
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 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 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…
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…
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…
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…
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…
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…
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…
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.
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:…
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.
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…
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%…
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…
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…
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…
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…