Content
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…


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…
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…


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 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: …


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…


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…
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,


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


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…


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 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 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…


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…


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…


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…


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…


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 - 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]…


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…

