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://video2.skills-academy.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…
![](https://techprofile.blob.core.windows.net/images/a2dbb28782bd4a3d9013b3ee9f354ec6.png)
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%…
![](https://techprofile.blob.core.windows.net/images/84eXqZh4KEGayKJ9OOltlQ.png?8DBCF1)
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…
![](https://techprofile.blob.core.windows.net/images/fUJ43QcFxEWoUO9S0Hgdeg.png?8D82B7)
![](https://techprofile.blob.core.windows.net/images/tmD_JnAg1EW_39jTtedQAg.png?8DC87D)
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…
![](https://techprofile.blob.core.windows.net/images/FfpX0wAAAwAAAAAAAAAAAA.png?8DB5C0)
![](https://techprofile.blob.core.windows.net/images/FfpX0wAAAwAAAAAAAAAAAA.png?8DB5C0)
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://video2.skills-academy.com/en-us/azure/automation/learn/automation-tutorial-runbook-textual-python-3 Below is the print statement used by me …
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…
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…
What permissions are needed for an Azure Runbook to execute the SQL command CREATE USER FROM EXTERNAL PROVIDER
I have an automation account that creates an Azure SQL database and attempts to provision a user from Microsoft Entra Id with access to the database My automation account is configured with a system assigned managed entity and a user assigned Managed…
BUG in Azure Automation Runtime Environment feature
There is a bug where if you want to test another (not published) Runtime by editing the Runbook, selecting the Runtime and hitting Test Pane and Start, the original (published) Runtime is used instead of the newly selected one. In my example you can see…