Microsoft Q&A

Azure Automation

684 questions

An Azure service that is used to automate, configure, and install updates across hybrid environments.

Browse all Azure tags

684 questions with Azure Automation tags

Sort by: Updated
1 answer

How to add a tag to resource "shutdown-computevm" of DevTestLab

Hi, I want to ask how to add a tag to "shutdown-computevm-(optional computer name)" (VM's Auto-Shutdown). I assigned the Azure Policy "Require a tag and its value on resources" to my…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
684 questions
Azure DevTest Labs
Azure DevTest Labs
An Azure service that is used for provisioning development and test environments.
216 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
506 questions
asked 2023-01-25T08:03:40.3566667+00:00
Oda, Yutaka 26 Reputation points
answered 2023-01-30T06:20:04.9633333+00:00
Oda, Yutaka 26 Reputation points
2 answers

Configuring Windows Update Management Schedules for Hybrid Environment

Need some advice setting up Windows Updates Management in Azure to manage updates for servers in our Hybrid environment. I am looking setup Update Schedules deployments grouped by type. For example, Management-Windows-Servers-Monthly: this includes…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
684 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
8,149 questions
asked 2021-12-02T12:51:08.683+00:00
adr 1 Reputation point
answered 2023-01-29T12:54:29.8533333+00:00
adr 1 Reputation point
0 answers

How to access storage accounts file share list in automation runbook using PowerShell without endpoint

I'm having task to get all the storage accounts in the multiple azure subscription to enable backup on file share.Is it possible when public network access disabled on the storage account. I don't want to go with private endpoint solution as I have lot…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
684 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
1,544 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
59 questions
asked 2023-01-27T03:08:15.0333333+00:00
ShekarYenagandula 56 Reputation points
commented 2023-01-28T18:31:51+00:00
ShekarYenagandula 56 Reputation points
1 answer

customized VM patching through AZure update management

We have a process to create vm image , will the update management can patch VM created from customized image. How will it identify what is the OS flavor because json file from image doesnt give the os profile with ubuntu/RHEL name . This is request for…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
684 questions
Update management center
asked 2023-01-23T10:59:39.88+00:00
Azuretech 0 Reputation points
answered 2023-01-28T13:27:52.95+00:00
Marshaljs 26,291 Reputation points
3 answers

Azure Update Management - old updates detected as missing

Hi, I am in the process of evaluating Azure Update Management - we potentially want to use it in environments without Configuration Manager. Having connected test Windows Server 2016 system to Log Analytics Workspace I see these updates as missing ones: …

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
684 questions
asked 2021-08-07T10:36:39.867+00:00
Bojan Zivkovic 321 Reputation points
answered 2023-01-27T11:19:51.3033333+00:00
Joel Young 0 Reputation points
1 answer

How to fix hybridworker installation

running Troubleshooter for hybridworker I got this output: bash-4.4# /var/lib/waagent/Microsoft.Azure.Automation.HybridWorker.HybridWorkerForLinux-1.1.10/Troubleshooter/LinuxTroubleshooter.py Processing Information...[can take upto 5 minutes] Traceback…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
684 questions
asked 2023-01-20T05:57:30.1966667+00:00
Walid Douagi_Avaxia 0 Reputation points
commented 2023-01-27T05:59:04.4+00:00
AnuragSingh-MSFT 9,976 Reputation points Microsoft Employee
0 answers

hybrid worker extension installation error

I'm trying to install the hybrid worker extension to my azure vm running on windows. I can get it to work when the automation account is in the same resource group as the virtual machine, but I need to hook up the extension to an automation account that…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
684 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
4,563 questions
asked 2023-01-25T20:29:16.8433333+00:00
Yim, Sam 121 Reputation points
0 answers

Error while publishing runbook : Cannot read properties of null (reading 'name')

I'm trying to publish an Azure Python 3.8 Runbook but It doesn't work and I am getting this in my JavaScript console : The variable c is null. Help would be appreciated. Regards,

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
684 questions
asked 2023-01-25T19:19:31.6833333+00:00
Mathieu Morrissette 0 Reputation points
1 answer

In the logic app , is it possible to get file content from csv file stored in a storage blob and used the columns (value) of csv in the powershell runbook(automation account)

logic app with automation runbook . I have a automation run book which takes data from a csv file from storage file. but it's sequential using for each loop in powershell. I found that in logic app we can use for each for parallel execution . …

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
684 questions
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
1,803 questions
asked 2022-09-01T13:25:51.917+00:00
Azure-learning 46 Reputation points
edited the question 2023-01-25T05:54:52.3966667+00:00
MayankBargali-MSFT 49,446 Reputation points Microsoft Employee
3 answers One of the answers was accepted by the question author.

Problem connecting to Azure with a User Assigned Managed identity

To set the context, I am just now trying to learn how to use managed identities and am trying to set up a simple scale up/scale down automation task. I have created Managed Identity: sql-dev-id Role assigments Contributor <database…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
684 questions
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
12,588 questions
asked 2023-01-05T21:25:37.867+00:00
Mike Welborn 26 Reputation points
answered 2023-01-24T14:37:56.79+00:00
Mike Welborn 26 Reputation points
1 answer

using Azure CLI to change pipeline status Enabled/Disabled

Hi, i tried to use Aure CLI to get a list of a pipelines from one repository on azure devops and i am trying to find out if i can change the status of a pipeline to disabled. We have to do this via some migration bug when all the pipelines would start…

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
12,588 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
684 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
4,618 questions
asked 2023-01-20T13:36:01.1833333+00:00
Piotr Jaczun 1 Reputation point
answered 2023-01-24T10:45:06.3933333+00:00
Piotr Jaczun 1 Reputation point
1 answer One of the answers was accepted by the question author.

Azure Automation powershell runbook issue

Hello, I am creating an Azure Automation account having a powershell runbook. The script is simply looping over each VM in a resource group and deleting all files under a particular folder. $ResourceGroup = '<<myResourceGroup>>' $TargetDir =…

PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
59 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
684 questions
asked 2023-01-18T07:32:35.7566667+00:00
Atanu Gupta 111 Reputation points
accepted 2023-01-23T04:53:21.99+00:00
Atanu Gupta 111 Reputation points
1 answer

Powershell dsc iis bindings - unable to edit bindings after creation

Hi Below is a snippet from a powershell dsc script i am testing with azure automation. It appears to run fine and creates the application pool and website, however the site binding tab within the iis management doesn't show correctly as seen in the…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
684 questions
asked 2023-01-18T23:14:12.6866667+00:00
Jessey Clarke 21 Reputation points
answered 2023-01-19T10:37:45.3466667+00:00
Roderick Bant 1,871 Reputation points
2 answers

Enable Conditional Access Policy from Azure Automation Runbook

Hi ! I want to enable a Conditional Access Policy periodically with Azure Automation Account. I'm using user assigned managed identity. I gave it the "Security adminisitrator" role from Azure AD. I can successfuly connect to AzureAD from my…

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
12,588 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
684 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
563 questions
asked 2023-01-12T15:07:52.2533333+00:00
COUMET Charles 21 Reputation points
commented 2023-01-18T16:53:33.3966667+00:00
JamesTran-MSFT 26,521 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

How to connect tor Microsoft PowerShell Admin centers (Teams, SharePoint, Graph, etc.) in Azure Automation Runbooks

Hi, I am new to Azure Automation and I am trying to find out how to connect to Microsoft PowerShell Admin centers. For example, 'Connect-MicrosoftTeams', 'Connect-SPOService', 'Connect-MgGraph', just to name some examples. If I was to do this in…

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
12,588 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
684 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
5,979 questions
asked 2023-01-09T23:46:55.5+00:00
Joel Taylor 61 Reputation points
edited the question 2023-01-18T08:28:10.8066667+00:00
Yi Lu_MSFT 16,586 Reputation points Microsoft Employee
1 answer

Start or stop automatically based on CPU utilization

Hello. Is there a way to automatically shut down a virtual machine when CPU usage is below a certain level? I wonder if GPO has this policy. Also, I'm currently configuring it with Automation, but it's not working well, so I have relevant…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
684 questions
Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
1,805 questions
asked 2022-07-31T15:21:15.213+00:00
lily hi 106 Reputation points
edited the question 2023-01-18T03:46:31.0166667+00:00
AnuragSingh-MSFT 9,976 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

State Configuration - Install PFX Certificate with password

Hi, I am trying to use State Configuration (DSC) within the azure automation account to install a pfx certificate and apply it to iis. I came across a script in the gallery for DSC (snippet below). The only part I cannot figure out or find…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
684 questions
asked 2022-12-15T16:57:08.67+00:00
Jessey Clarke 21 Reputation points
accepted 2023-01-16T17:23:12.2533333+00:00
Jessey Clarke 21 Reputation points
0 answers

Runbook parameters do not handle complex types properly

When passing parameters to Runbooks, neither PowerShell 5.1 nor PowerShell 7.1 handle parameter types appropriately. It appears that whatever strings I send in are passed through ConvertFrom-Json even if I want the parameter interpreted as a string. …

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
684 questions
asked 2022-10-14T15:55:38.213+00:00
Stephen Jennings 1 Reputation point
commented 2023-01-14T17:13:26.9266667+00:00
Lodewijk Wiggers 1 Reputation point
2 answers

Azure Automation - Error while polling the hybrid notification channel.

Facing a lot problems with runing update tasks using Azure Automation. Source: Microsoft-SMA Event: 15105 Error while polling the hybrid notification channel. [AccountId={XXXXXXXXXXXXXXXXXXX}] [RunbookWorkerGroup=XXXXXXXXXXXXXXXXXXX]…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
684 questions
asked 2020-07-20T06:59:27.83+00:00
Vítor Dias 1 Reputation point
answered 2023-01-12T09:49:32.2466667+00:00
Rohit Jarodia 21 Reputation points
0 answers

Exchange Online Powershell - some commands are not working with Azure Automation

I have an Azure Automation which connects to Exchange with certificate (setup follows this). I can successfully connect with a runbook, and run commands like Get-ExoRecipient, Get-ExoMailbox on user accounts or just use Get-AcceptedDomain. However if…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
684 questions
asked 2022-12-29T13:57:18.977+00:00
dumbosettle 1 Reputation point
commented 2023-01-10T15:31:39.717+00:00
dumbosettle 1 Reputation point