Initiative Definition policy remediation in Powershell
How can you automate creating remediation tasks for non compliant policies within an initiative definition in PowerShell? All the documentation for remediation in PowerShell uses the policy assignment id, but with initiative definitions, there is…
Azure Update Management/Azure Automation The remote server returned an error: (403) Forbidden.
Hi All, From unknown reasons, we keep getting below SMA logs on all our Azure instances and update management keeps giving us an error that the updates deployment cannot start. Error while polling the hybrid notification channel.…
run python script with hybrid worker
I created Azure vm with ubuntu python and install pandas, numpy and others modules and in automation conect to this VM using hybrid worker but I run my runbook in automation an i t gives me an error that it does not recognize the libraries, but I do…
Automated way to update the Azure diagnostics for Azure Resources
Hi, On Azure environment we have lot of Azure resources, We want to make sure and enabled Diagnostics logs for NSG and Azure storage resources to send Diagnostic logs to Azure EventHub. I am able to configure this on resources we have, I want…
Azure Automation - The term 'Get-UnifiedGroup' is not recognized as the name of a cmdlet, function, script file, or operable program
I am trying to get the Group owners and ended up with below error while executing this runbook. System.Management.Automation.CommandNotFoundException: The term 'Get-UnifiedGroup' is not recognized as the name of a cmdlet, function, script file, or…
I am unable to select log analytics workspace under automation account.
I am trying to add log analytics workspace under Automation Account Inventory, but I am not getting the same workspace in the dropdown of Log Analytics Workspace inside Configuration Management- Inventory. Region of workspace is East US Region of…
Azure RunBook Giving me an error
Hi All, I m new to Azure Run book and built a small runbook as follows. When I test using the Test Pane I m getting an error "Error occurred: Length cannot be less than zero. (Parameter 'length')" Can someone please tell me what…
How to make the best use of Update management for Custom image - RHEL Linux machine
How to make the best use of Update management solution for Custom image - RHEL Linux machines, any suggestions.
Azure Update Management
why OS Updates are not showing up in the Update mangement Dashboard
Automate transfer of files from Blob storage to external server
Is there a way to automate the process of transferring newly uploading documents in a blob container to an external server? For example every time a new file is uploaded it triggers the transfer of the file to the external server.
Azure automation - powershell - Get-UnifiedGroup sort ordering....
Hi, The code below lists Microsoft 365 groups and their members. I tried to pipe the result set both for the groups and for the members using the Sort-Order parameter, but it did not result in any sorting. How can I get the groups and members sorted…
Azure Automation Query
Hello All, I have a requirement to automate some of the Azure and onprem task like report software/patching version, do health check like reboot pending service/system status, Automate software installation, Extract UAM data, Event trigger for auto…
dashboard in azure from csv aor json data stored in storage account.
we run a powershell script to collect data in CSV or JSON which is going in storage account as destination every hour . we have a requirement of dashboard for simulations which ran in last 24 hours from this data . this option is available in azure ?…
Azure Automation PS MSONLINE Module
Hello, I am trying to start with a simple Azure Automation Runbook to connect connect to O365 and run a cmndlet. Here is the PS I am trying to run from Azure Automation PS Runbook: $Credential = Get-AutomationPSCredential -Name…
Set-AzStorageBlobContent deleting blob contents instead of saving new contents in file on container in Azure Runbooks?
Hi, I'm attempting to run the below script in Runbooks for reformatting a csv file that works perfectly fine from my local machine but when I add the Set-AzStorageBlobContent in my script it saved the blob file but erases all the contents of the file…
Creating GUI based form interface for Powershell data entry ?
Hi Everyone, Is there any way to use a Web-based GUI form to input and display entries with the Powershell cmdlet? The script is mostly utilizing Read-Host & WriteHost command, rather than using the typical cmd prompt window and also…
Azure Start/Stop v1 sometimes fails to start VM
We stop/start an Azure VM using an automation account, but recently it sometimes isn't able to start the VM. Stopping always seems to work and starting also worked flawlessly before . Operation name: Create an Azure Automation job Error code:…
Query key vault from Azure Runbook
Hello I have the following PowerShell script that successfully queries and display the result, when i run it remotely from my computer. But when i try to run the same script from an Automation account runbook I get the following error: Connect to Azure…
Unable to create a file using Azure Automation runbook (Powershell)
Hi, I am trying to create a .txt file using PowerShell script in Automation Runbook. The script runs fine if i run it from Windows Powershell but i'm facing in runbook though status is completed. File is not getting created. Param( [Parameter…
Send info about available updates to slack
Hey everyone, I have some questions about the Logic app or the Azure function. Is it possible to send notifications about critical updates in Update management? I made update management, but I want to send if I have critical updates or security…