How to Uninstall Change Tracking Extension from 500 Azure Virtual Machines Efficiently?
I have 500 Virtual Machines running in my Azure portal, and I’ve installed the Change Tracking extension on all of them. I need to uninstall this extension from all the VMs, but doing it manually is time-consuming. Could you suggest a more efficient way…
Encountering anomalies when deploying azure update manager dynamic scopes across multiple subscriptions
I'm facing multiple anomolies when deploying azure update manager dynamic scopes linked to maintenance configurations across multiple subscriptions; with the below script (personal details removed) : # Define a hashtable of subscriptions with their…
How to auto-authenticate AML compute instance to start on a regular schedule?
Hi, I am trying to use Azure ML workspace to run Python notebooks on a regular basis to query Kusto data and conduct data processing. I created a Compute instance in AML, set up the starter shell script, and configured the Startup schedule of the compute…
Connect-ExchangeOnline in Azure Automation account gives Unable to find type (EXO 3.5.1 PS7.2)
I have setup an Azure Automation account and loaded the EXO 3.5.1 module along with PackageManagement V1.4.8.1 and PowerShellGet v2.2.5. I open a new PowerShell runbook and just posted a Connect-ExchangeOnline -ManagedIdentity - Organisation…
Insufficient Permissions on Azure Automation account when Owner
Hi, I've had this problem occurring a few times now and it is rather frustrating. I escalate permissions through PIM to be Owner of a sub where the Automation Account is located. When trying to do anything in the aa I only get this message. This is the…
How to Fix Runbook Error
I have an error which occasionally appears on my azure automation account runbook. This has only happened twice in the last month, and i'm unable to determine the cause of the error. Any help would be much appreciated. The error I get is "The SSL…
System-assigned Managed Identities fails to remove a KeyVault Access policies on a user
Hi everyone, please help me with a problem that is driving me crazy and I've been chasing it for 2 days without understanding where the problem lies, so I configured a : KeyVault in which I saved a test secret. I created a runbook inside a test…
Unable to Import AIP and PnP Modules in Azure Automation Runbook
I'm encountering issues while attempting to write scripts in an Azure Automation Runbook for decrypting files encrypted by IRM. The following errors occur when trying to import the required modules: Import-Module -Name PnP.PowerShell Import-Module -Name…
Azure Automation Hybrid Workers stuck in Queue
Okay, please someone explain something to me. I have been working with PowerShell runbooks for over 5 years now and running into this issue has always eluded me. The only real way to monitor how PS runbooks work on a Hybrid worker is to stumble on the…
How do setup automated tasks for my VM
I would to automate the power on and off of my VM on a daily basis to save costs
Defender for Cloud - Disabled accounts with read and write permissions on Azure resources should be removed - removing permissions from accounts automatically
Hello, To complete recommendation from DfC "Disabled accounts with read and write permissions on Azure resources should be removed", I'd like to set autoschedule to remove permissions assigned to disabled accounts, which sign-ins aren't logged…
Restore-AzMySqlFlexibleServer suddenly fails with an unexpected error
Restoring a MySql Flexible server from PowerShell suddenly fails. It has been working for more than a year and now gives an unexpected error. What should I change? PS /home/bert> $restorePointInTime = (Get-Date).AddMinutes(-1) PS /home/bert>…
How to schedule on Azure to run a powershell script on different VMs in specific hours.
Hi. I need to run a PowerShell script in different servers and different hours for each VMs. For exemple, Server A must run at 3pm, Server B must run at 5pm and Server C must run at 11am. I can run the PowerShell script successfully on "Run…
Runbooks missing [Authoring status = In Edit] After Automation Account Restore
Hello All, I accidently deleted an Azure Automation Account. I restore the account, but the Runbooks inside the accounts were not also restored. They are listed in the manage section, but their Authoring Status is set to In Edit. If I click on them to…
MigrationPrerequisites Error The provided account X does not have access to subscription ID "Y"
Connect-AzAccount : The provided account X does not have access to subscription ID "Y". Please try logging in with different credentials or a different subscription ID. If a subscription is not specified, please check the configs by…
Power Automate - One Drive for Business Convert File has stopped working
I use this to convert files to PDF. It has worked with no issues for several years. Yesterday it started timing out and now today it says PDF is not a supported format. Furthermore the action still shows PDF as an option in Power Automate…
Job was suspended as the job limit for a Hybrid Worker exceeded.
The automation job has failed with the below error for the last couple of weeks. I am looking for a solution for it. Exception: The job was suspended as the job limit for a Hybrid Worker was exceeded. Add more Hybrid Workers to the Hybrid Worker group…
Unable to recover Automation account in Azure
Hi, I need help with restoring my Azure automation account. I created an automation account for some testing in the EastUS region and I deleted all the resources once my testing was complete. Then, I tried creating an automation account again but got…
Azure Automation Account connection to Storage Account
Hi, I would like to request some support on this. I have created a PowerShell script to transfer data from a blob container to an Azure fileshare, this script is inside an automation account runbook, both storage accounts where the blob and fileshare…
Maximum number of Accounts reached. If Deleted recently, please restore the same account
Currently developing the azure automation terraform module , while testing we may required to create multiple records however getting the as Maximum number of Accounts reached. If Deleted recently, please restore the same account