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…
Issue with Powershell 7.2 SqlServer module
I've installed the SqlServer module into Azure runbooks for powershell 7.2 but when I go to use it I get... "Invoke-Sqlcmd' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if…
"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)
Runbook Not Working in Account Automation
For a week now, the runbook that I had programmed in the automation account has stopped working. I created another automation account to check if the problem was with the automation account itself, but the problem persists. Can anyone help me?
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…
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…
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…
How to fix: Method 'get_SerializationSettings' does not have an implementation
I just wanted to automate this powershell script to activate Sftp for BlobStorage only for half an hour in the evening using the automation account: $resourceGroupName = "xxxx" $storageAccountName = "yyyyy" Set-AzStorageAccount…
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.
Retirement Announcement – Azure Automation Update Management solution will end on 31st August 2024
On 31st August 2024, support for Azure Automation Update Management will end. The offering is dependent on the Log Analytics agent which will also deprecate the same day. Before that date, please migrate to Azure Update Manager, a native functionality…
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…
Azure Cloud - creating Automation Account - Bad request error
I found a problem while creating an Automation Account either with use of Azure Portal or with use of Power Shell. I get the same error "Bad request" - description "Message":"Something went wrong. Please contact support."}…
Authenticate to Microsoft Defender for Endpoint API using Managed Identity or Azure Automation
Hi, I need to access the Microsoft Defender for Endpoint API using our managed identity in Azure Automation. I have successfully given my managed identity for Azure Automation access to the WindowsDefenderATP Enterprise App. However, when I attempt to…
SSM Document alternative for Linux/Windows on azure
SSM Document alternative for Linux/Windows on azure We looked into DSC for windows however we are not convinced. We also need common solution that includes linux too.
Cannot find path 'C:\Modules\User\AzureAD\Microsoft.IdentityModel.Clients.ActiveDirectory.dll
I have this following line in my runbook: Add-Type However, I am getting the below error: Ran into an issue: Cannot bind parameter 'Path' to the target. Exception setting "Path": "Cannot find path…
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…
Azure Update Management - Updates not showing in Update History on On-Premise servers.
Good morning, I am wondering why updates managed by Azure Update Management do not show in the Update History when installed to our on-premise servers? Some of them show in Programs and Features > View Installed Updates but not all. Thanks Mat
How to fix this issue
Unable to acquire token for tenant 'organizations' with error 'ManagedIdentityCredential authentication failed: Internal Server Error! Status: 500 (Internal Server Error) Script: Param( [string]$resourceGroup, [string]$method, [string]$UAMI )