1,084 questions with Azure Automation tags

Sort by: Updated
1 answer

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…

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
6,930 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,084 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
11,864 questions
asked 2024-03-19T08:22:24.9333333+00:00
Shivam Singh 110 Reputation points
answered 2024-03-19T08:34:28.1966667+00:00
Prrudram-MSFT 21,341 Reputation points
3 answers

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…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,084 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
1,921 questions
asked 2024-02-22T04:11:24.68+00:00
Shwetha J 5 Reputation points
answered 2024-03-18T22:49:06.3566667+00:00
Rich Matheisen 44,331 Reputation points
1 answer

"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

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
6,930 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,084 questions
asked 2024-03-06T13:19:50.9466667+00:00
r001 0 Reputation points
commented 2024-03-18T17:25:12.1066667+00:00
Monalla-MSFT 9,996 Reputation points
1 answer

runbook params description

Hey, How can I add description/help to runbook parameters? something like: disk_type (description: choose between HDD and SSD)

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
6,930 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,084 questions
asked 2021-07-14T08:11:23.69+00:00
Ishai Shahak 1 Reputation point
commented 2024-03-17T18:36:00.77+00:00
EN, Devadanam 0 Reputation points
0 answers

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?

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,084 questions
asked 2024-03-15T10:09:17.0766667+00:00
commented 2024-03-16T20:14:18.39+00:00
0 answers

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…

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,267 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,084 questions
asked 2024-03-12T21:56:46.3533333+00:00
Lucia Zaťková 0 Reputation points
edited a comment 2024-03-16T02:30:03.9333333+00:00
Harishga 2,550 Reputation points Microsoft Vendor
0 answers

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,195 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,084 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
1,921 questions
asked 2024-03-15T19:23:21.6633333+00:00
Michael Lopez 5 Reputation points
0 answers

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…

Azure Arc
Azure Arc
A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
299 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,084 questions
asked 2024-03-15T05:10:54.1366667+00:00
MENON, MANUDEV 20 Reputation points
4 answers One of the answers was accepted by the question author.

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…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,084 questions
asked 2023-06-06T15:58:54.2333333+00:00
commented 2024-03-13T21:35:44.2533333+00:00
Johnathan Welker 81 Reputation points
1 answer One of the answers was accepted by the question author.

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…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,084 questions
Azure Update Manager
Azure Update Manager
An Azure service to centrally manages updates and compliance at scale.
202 questions
asked 2024-03-07T14:16:57.2033333+00:00
McLean, Scott 20 Reputation points
accepted 2024-03-07T16:22:56.1966667+00:00
McLean, Scott 20 Reputation points
1 answer

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.

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,084 questions
asked 2024-01-15T02:48:08.81+00:00
Robinraj 5 Reputation points
commented 2024-03-07T15:55:51.76+00:00
Fernando Nuñez Garcia 1 Reputation point
4 answers One of the answers was accepted by the question author.

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…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,084 questions
asked 2023-12-08T07:38:15.72+00:00
SwathiDhanwada-MSFT 16,966 Reputation points
commented 2024-03-07T09:49:59.8033333+00:00
McLean, Scott 20 Reputation points
1 answer

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 SQL Database
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,084 questions
asked 2024-03-06T13:15:25.1133333+00:00
MoTaar 245 Reputation points
edited an answer 2024-03-06T14:31:34.21+00:00
Alberto Morillo 32,691 Reputation points MVP
2 answers

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."}…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,084 questions
asked 2024-01-27T16:19:17.2633333+00:00
Arek 45 Reputation points
commented 2024-03-05T23:04:58.9566667+00:00
Ryan Hill 24,731 Reputation points Microsoft Employee
2 answers

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,195 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,084 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
18,947 questions
asked 2023-10-17T16:57:32.0766667+00:00
Jesus Chao 141 Reputation points
commented 2024-03-05T12:10:38.13+00:00
Andrew 1 Reputation point
1 answer

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.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
6,930 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,084 questions
asked 2024-03-05T10:00:25.43+00:00
Cadmin Akash Maurya 0 Reputation points
answered 2024-03-05T10:42:12.15+00:00
Prrudram-MSFT 21,341 Reputation points
1 answer

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…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,084 questions
asked 2024-02-12T13:40:38.3566667+00:00
Kothai Ramanathan (SC-ALT) 51 Reputation points Microsoft Employee
commented 2024-03-01T18:36:47.81+00:00
Monalla-MSFT 9,996 Reputation points
0 answers

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 Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,084 questions
asked 2024-01-30T07:28:07.14+00:00
bonle 5 Reputation points
commented 2024-02-29T18:23:05.95+00:00
Dhruv Kinger 0 Reputation points
1 answer

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

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,084 questions
asked 2022-02-14T10:36:31.497+00:00
Anonymous
answered 2024-02-29T17:49:18.27+00:00
Jeff Shrimpton 0 Reputation points
1 answer

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  )

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
590 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,195 questions
Azure Role-based access control
Azure Role-based access control
An Azure service that provides fine-grained access management for Azure resources, enabling you to grant users only the rights they need to perform their jobs.
634 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,084 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
18,947 questions
asked 2023-11-22T10:45:28.03+00:00
Kamble Jeet PUN FIIA2 0 Reputation points
answered 2024-02-29T13:17:30.0433333+00:00
dashanan13 845 Reputation points