How to associate test runs with ADO test plan,test suite and test cases
We are using the following script in the Azure CLI task in the pipeline, but patch calls failing. We are trying to associate Test Runs with the ADO Test Plan, Test Suite, and Test Case. I would need help if we are making any mistakes in API syntax and…
Failed to connect to MSI.
Hi folks, I am using Azure Automation account PowerShell runbook to login to Azure CLI using identity, but it is failing with below errors. I even tried authenticating with a UMI but same error. Could anyone please help me out. Error: Azure AA SMI: UMI…
How to configure alerts for long running automation runbooks
Hello , How can I set up an alert to notify me if an Automation runbook takes more than 30 minutes to complete? I have set up an alert for statuses "Completed," "Failed," and "Suspended," and receiving notifications but I am…
Azure Update Manager support for CIS-Hardened Images (Windows)
Hello there, Any further update on support for CIS hardened images (Windows 2019/2022) in Azure Update Manager? What's the recommended action if the deadline arrives and the support is not ready? I saw somewhere else a possible option that would include…
Error attempting to CREATE USER FROM EXTERNAL PROVIDER using a User Assigned Managed Identity
I have an Azure Automation runbook (PowerShell 5.1) that attempts to run "CREATE USER <UserName> FROM EXTERNAL PROVIDER". This is part of a larger program, but this is the offending command so I created a test runbook to try and resolve…
Unable to enable autosync option under sourcecontrol in Azure Automation
Hi All, I'm trying to set up source control for Azure automation account, but when I click EnableAutoSync I'm seeing below error. An error occurred while updating the source control named 'SCReposGit'. Error details: SourceControl autoSync setup failed…
Azure Automation account runbook unable to write to Azure fileshare
Hi folks, I am using Azure Automation account runbook in PowerShell to write to a file in Azure file share, but it is failing with error: "The parameter is incorrect" Code: Error: However, same piece of code works when I run it on either my…
Azure Automation Accounts
Hello, I tried to deploy Automation Account using bicep. Since this is first time to deploy AA so I deleted existing one and re-deploy it for multiple times. I suddently received following message: "code": "BadRequest", …
How can we use variables inside the inline script in another inline script in PowerShell workflow in Azure runbooks
“In my Runbook workflow, I’d like to use the variables created in one inline script block within another inline script block.” Please suggest how can do this Workflow { inline script { $a=1 } inline script { $b=$a -- fist inline block…
Renaming GitHub Repo Broke and Disabled Source Control Completely
Originally we had two Azure Automation Accounts (lets call them #1 and #2) that had Source Control enabled with a single GitHub repository. Then, we created two more automation accounts (#3 and #4) that were also set up with Source Control enabled with…
How to call child runbooks from parent runbook without waiting for child runbook completion and move to next line
I have runbook A as parent and B, C are Child. I want to create a runbook A that should invoke B, C and continue executing the next line in the parent runbook. parent should not wait for child runbooks to be completed. can we have some sample code
The specified module 'Az.Accounts' was not loaded because no valid module file was found in any module directory
I am in the process of upgrading azure 'run-as-account' to 'manage-identities'. there were power-shell script that used to automate VM functionalities. I import "Az.Accounts" module from Module section Module Name - Az.Accounts Module…
Cannot update or install modules in Azure Automation
I am having issues updating or installing modules in Azure Automation. Every time I initiate the import process, it never finishes. Even when I delete the imported job and try again, the results are still the same. This has persisted for a week now, and…
Automation Update Management Schedules migrate to Azure Update Manager
Hello, I migrated all VM's from Automation Update Management to Azure Update Manager. I see all of the VM's in the Azure Update Manager overview with "Periodic assessment" enabled. However, I cannot see the schedules that we used in…
Retirement Announcement – Azure Automation Update Management solution will end on 31st August 2024
On 31st August 2024, support for Azure Automation Update Management will end. The offering is dependent on the Log Analytics agent which will also deprecate the same day. Before that date, please migrate to Azure Update Manager, a native functionality…
Azure python runbook import_py3package_from_pypi : Exception: Error importing package cryptography into Automation account. Error code is 400. from p
hi all, on Azure Automations I am receiving this Exception when I try to run import_py3package_from_pypi runbook on module msgraph-sdk -v 1.2.0. I only require the functionality from the runbook to access the microsoft graph using certificate…
How to disable local authentication in Azure Automation account
Hi experts, Does anyone know how to disable the local authentication in Azure Automation Account? This documentation is related to the topic, but it doesn't provide actual steps to disable the local authentication in Azure Automation Accounts.…
Getting an error in a runbook.
Hi there, I've created a runbook to handle offboarding users in office 365. I'm connecting to the graph API, and exchangeonline module. My runbook is working flawlessly except for one specific line which is giving me an error when ran in the runbook (I…
Runbook synchronization failing
Hello, I am encountering an issue with the synchronization of my runbooks. The source control integration in azure automation that fetches codes from an azure repository is currently failing to synchronize. Yet it was working properly until yesterday.…
How can I run an automation template
I want to run an automation template for a sql database deployed with ARM. The aim is to trigger a stored procedure