Unable to import Python 3.8 package "plotly" into Azure Automation for use in Python runbooks
Hello, I have an Azure automation account. Into this account, I would like to import a Python 3.8 package for plotly. However, the import always fails. I tried it with several versions of the plotly package. Here are the results: ( 1 ) After importing…
How to automate Synapse pipelines and connections ?
Is it possible to automate the generation of Synapse pipelines in code ? instead of using the interface and clicking all the time? Other providers like Snowflake allow you to just use worksheets (sql scripts) where you write all the code and you do…
Send Azure Automate Traffic Via Static IP
I'm trying to set a static IP on my azure automation account. I understand that I can do this using hybrid workers but would like to know if this is possible using just Azure. I have created a virtual network along with a NAT gateway. Any help would…
How to resolve 409 error in runbooks
Getting below error while running Azure Runbook Run command extension execution is in progress. Please wait for completion before invoking a run command. ErrorCode: Conflict ErrorMessage: Run command extension execution is in progress. Please wait for…
I want to migrate from an existing Run As account to managed identities
Hello, I would like to change my runbook which starts and stops several machines knowing that I have an exclusion list. I would like to change it for authentication with managed identities. how do I send my powershell runbook script here?
Seeing error "from azure.mgmt.compute import ComputeManagementClient ModuleNotFoundError: No module named 'azure.profiles'
Hi, I have added two Azure SDK packages to my python script: from azure.identity import DefaultAzureCredential from azure.mgmt.compute import ComputeManagementClient I uninstalling and then reinstalling the packages azure_mgmt_compute 30.4.0 or…
how to fix error "A nested resource type must have identical number of segments as its resource name. A root resource type must have segment length one greater than its resource name"
Hello everyone, I am trying to create an ARM template to deploy secrets to key vault without manually adding them from portal. Attached are my parameters.json and main.json files. when deploying I am getting below error. Additionally, did anyone…
Server update using Update management center in automation account
I have my azure windows servers patched each month using update management center in the automation account. After the execution of the jobs, I can see that the servers are non compliant and the error is MaintenanceWindowExceeded. why this happened, and…
Internal server error 500(timeout) For an azure automation runbook
I have a runbook which send https get requests to a azure function. Suddenly the job started failing stating "internal server error: 500".when I open the error it says "the request timed out. The web server failed to respond within the…
Error while running a runbook
Hello, Do you have an idea why a runbook that was working fine is now providing this error: Failed The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Operation returned an…
Unable to update a vm using System assigned managed Identity with update-Azvm command
Automation account System assigned managed Identity has Virtual machine contributor role and Managed identity operator role on resource group x. It is failing to update a VM. ErrorCode: LinkedAuthorizationFailed ErrorMessage: The client 'xx-x' with…
Beginner to Azure Automation - Where to start?
Im a SCOM (System Center Operations Manager) Admin and I am looking into changing over to learning Azure Automation since my current company is getting rid of SCOM within a year and my team primarily deals with Azure Automation and automating tasks. I…
How do i execute Automation runbook and execute command to a Hyper v Guest OS Linux from a Windows hybrid machine connected through Azure Arc ?
How do i execute Automation runbook and execute command to a Hyper v Guest OS Linux from a Windows hybrid machine connected through Azure Arc ? I have a machine connected via azure arc enabled server and also an automation account which runs poweshell…
Graph Modules do not appear in get-azautomationmodule command
Hello, I am working with the Graph Modules within the Azure runbooks we have. I am noticing that the modules appear in the portal but when they are queried by PowerShell they do not appear. There doesn't seem to be any additional flags needed for this to…
"URGENT PLEASE" How can I automate Taking snapShots daily, Remove SnapShots daily from Azure VMs?
"URGENT PLEASE" I am struggling to setup a automation of Azure Virtual Machines in Production for taking snapshots daily with their tags, remove that snapshots daily. Thank you Rips
runbook params description
Hey, How can I add description/help to runbook parameters? something like: disk_type (description: choose between HDD and SSD)
Starting runbook with webhook through data factory
Hi, I've recently created a pipeline in ADF that is using webhook to start a runbook in the Azure automation. When I run the webhook in ADF it stays in progress until it times out (even though when I look at the status of the runbook it clearly was…
What steps do i take to upgrade to Azure Update Management
I am looking at migrating from Azure automation to Azure update management and i wondered if i need to run the script in this guide, or do i just need to follow the steps in the table? Also, we are looking at implementing this in a terraform script. Is…
Unable to run a python runbook in Azure Automation
Hi Team, I have created a python runbook (3.10 preview) in Azure automation and when I started to test the runbooks which has pandas dependencies in test pane it is showing the below error, which I'm not able to fix.
Issue setting up automation account for SQL DB autoscaling
Hello I am trying to set an automation account up for SQL DB autoscaling as in this article: https://www.sqlshack.com/azure-automation-automatic-scaling-azure-sql-databases-based-on-cpu-usage-threshold/ But I am getting this error when testing the…