Azure File Share Upload file 403 Error
Hello, I have an azure file share and want wo upload files to it via a powershell in a runbook. I have a managed identity of this automation with storage blob data contributor and storage file data smb share contributor access on the file share. When I…
How to pass parameter from webhook to a python runbook.
Hi I have a python script which i want to run using Azure automation. I have added a webhook for this runbook and i am able to run the scipt using webhook url from ADF. The problem is I want to pass a parameter to the script. Could someone help on…
How to Traffic Filter of elastic cloud allow runbook in automation account azure executing
I got the error {"ok":false,"message":"Forbidden due to traffic filtering. Please see the Elastic documentation on Traffic Filtering for more information."} when I start runbook in azure automation account. Runbook is used…
Issue when trying to change the auto start/ stop time of Azure VMs
I'm trying to change the automated tasks we have set for our vms to start and stop at different times then are currently set. When i try to edit the tasks or create new tasks i get the below error. This is with all of our VMs linux and Windows same…
Names of Azure Services in the Azure IP Ranges and Service Tags JSON File
What are the official names used for the following Azure services in the Azure IP Ranges and Service Tags – Public Cloud JSON file? Azure Function (AzFunction) Automation Account Azure Batch Analysis Services You can refer to the JSON file…
How to pass WEBHOOKDATA parameter value in Azure automation Runbook
Hi, Could you please help me out to pass WEBHOOKDATA parameter value in Azure Automation Runbook. for testing using the below code to display the webhookdata parameter value on testpane Param ( [parameter (Mandatory=$false)] …
Unable to fetch disabled users across subscriptions
Hello Team, I'm trying to get list of disabled users across all subscriptions under our tenant. But when I run the below script it is not fetching the data instead loading VS code. If I run Get-disabled users command it is giving the list of disabled…
Alert action should shut down VM, it doesn't
We have an alert rule that monitors the CPU usage of a VM and when it drops below a certain usage, shuts down the VM. – This worked well for a while, but then started working only sometimes. Although the rule was triggered, it didn't shut down the VM.…
Is there any way to scale up the azure webapp vertically (change app service plan) automatically?
Is there a way to automatically scale up an Azure Web App vertically (by changing the App Service Plan)? Has this functionality been completely removed by Azure? I attempted to use an Azure Automation Account with a PowerShell Runbook, but encountered…
Are you able to share the PowerShell Script/YAML File codes from a specific YouTube video?
Hello, I recently watched the YouTube video titled "Integrating Power BI Deployment Pipelines into Azure DevOps and Azure Pipelines | OD29" by Microsoft Developer. In the video, the presenter demonstrates two methods for automating Azure…
How to link automation account to Log Analytics workspace
I a have created a new automation account and Log Analytics workspace, but there is no way to link them. I have found some steps, but the option from update management is not availible anymore.
How to remove permanently a automation account
I have created and deleted 10 automation accounts, currently I cannot create any more. It seems that the accounts I deleted have entered soft delete status, is there any way to permanently delete them? My problem is that I have deleted a resource group…
How the Engineering Team Implemented VM Usage Tracking in Azure Lab Services
Hi all, With Azure Lab Services retiring in 2027, we plan to migrate to a new service for our school. Azure products like Virtual Machine Scale Sets or DevTest Lab look like good alternatives. However, we need to implement a key cost-saving feature:…
download AZ-204 certificate for Microsoft certification ID: 995925060
download AZ-204 certificate for Microsoft certification ID: 995925060
Runbook which used to work normal has stopped working
I use my runbook to create 10-50 VM 6 something local time in the morning and it used to work prefectly. But it stopped working since 13 Oct 2024 Hong Kong Time.
Hybrid Worker PS 7.2 setup
I'm trying to setup our hybrid workers to use PS 7.2 runbooks. I've installed PS7.2 and added the powershell_7_2_path env variable. When trying to start a runbook using the 7.2 runtime, I get the following error: pwsh.exe is not recognized as a command…
Unable to connect to Exchange Online with PowerShell Runtime 7.2 in Azure Automation
Cannot connect to Exchange Online with PowerShell Runtime 7.2 in Azure Automation. I would like to know how to connect to Exchange Online with Runtime 7.2. The commands I have tried are as follows. Connect-ExchangeOnline -ManagedIdentity -Organization…
PS C:\WINDOWS\system32> az extension add --name ssh, ERROR: An error occurred. Pip failed with status code 1. Use --debug for more information.
PS H:> az extension add --name ssh --debug cli.knack.cli: Command arguments: ['extension', 'add', '--name', 'ssh', '--debug'] cli.knack.cli: init debug log: Enable color in terminal. Enable VT mode. cli.knack.cli: Event: Cli.PreExecute…
Runbook Error when trying to read table with VM power states, stoped VMs that are recorded as stop and deleting the rows after the fact.
This is an after updates update manager post-script to shut down vms after they are started for updates if they were off before pre-script. Thus, keeping the environment as it was before processing updates. This is also run on a portal.azure.com…
Cannot login to azure using a managed user identity
Trying to login using the following command using the Azure CLI v2.9: - az login --identity --username [my-clientid] However, fails with the following error message Failed to connect to MSI. Please make sure MSI is configured correctly and check the…