How to get the Azure Automation Runbook Job Id in a Python Runbook?
Powershell Runbooks allow you to get the Job ID with $PSPrivateMetadata.JobId.Guid How do we get it if the runbook is Python?
Powershell Runbooks allow you to get the Job ID with $PSPrivateMetadata.JobId.Guid How do we get it if the runbook is Python?
I am trying to use a custom PowerShell module in an Azure Automation account. I have prepared the module and tested it locally. It is loaded and the commands can be used. However, when I pack and upload my module…
I am trying to use the Invoke-AzVMRunCommand on a VM in my Azure subscription. My powershell looks like this Invoke-AzVMRunCommand -VMName $vm.Name -ResourceGroupName $vm.ResourceGroupName -CommandId 'RunPowerShellScript' -ScriptPath $scriptPath With the script in my $scriptPath looking like this Get-NetFirewallProfile | ConvertTo-Csv…
I have an Automation Account in Azure, with a few PowerShell Runbooks. The runbooks run on a Windows Hybrid Worker VM also in Azure. All my runbooks except for one run without issue. The problem runbooks runs fine, but then…
Within Azure Sentinel, I have several automation rules set up that respond with various playbooks/logic apps. I want to be notified or know how to search the logs to find all the failed runs failed actions (by playbooks/logicapps) and when…
I'm experiencing a problem with Azure Site Recovery during the setup of disaster recovery for a virtual machine (VM). Recently, I've been receiving an error indicating that the extension update settings are unhealthy, particularly related to auto-update settings. When I…
We have a very specific file that comes once a week during a 1 hour window. We've been using Azure SFTP as a cost effective solution, earlier this year they changed up the billing so we've had to manually turn…
In our Azure environment, we are using a number of secrets and by using AKS csi driver plugin, we could eliminate the usage secret values in Variable groups of Azurepipleines as aks could directly connect to the key vault using…
I'm trying to use Azure Logic App to create an automation that sets the number of always ready instances to 1 during weekends and back to 3 during working days. Note that my function app is hosted in an Elastic…
I'm attempting to run a backup of an API Management service. I can do this in PS from my local machine without issue using the code below under my sub owner login context. When I attempt to run it as…