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…
Storing Azure Metrics in Private Storage Account Using Azure Automation
I want to retrieve metric values using Get-AzMetric in Azure Automation and store the daily updated values in an Azure Storage Account. However, the Storage Account is configured with a private link and can only be accessed through a specified network,…
Authenticate to Microsoft Defender for Endpoint API using Managed Identity or Azure Automation
Hi, I need to access the Microsoft Defender for Endpoint API using our managed identity in Azure Automation. I have successfully given my managed identity for Azure Automation access to the WindowsDefenderATP Enterprise App. However, when I attempt to…
Azure Automation Account: Total Job Metric Not Receiving Data for Hybrid Worker Group Jobs
The Azure Automation Account metric ‘Total Jobs’ is not receiving data for jobs run on a hybrid worker group node. Several jobs running on Azure show data in the ‘Total Jobs’ metric, but this specific scenario does not reflect any data. Clarification is…
Azure Bicep: Is the Export Template Preview Feature Removed or Relocated?
Recently, I was using the Azure Bicep preview feature to export templates from the automation section, but it's no longer visible. Has the feature been removed, moved to another location, or do I need to enable it from a specific setting? I’ve checked…
Publishing runbook to Automation Gallery
Hi, I'm trying to make an improvement to the runbook at https://github.com/azureautomation/indexes-tables-in-an-azure-database-if-they-have-a-high-fragmentation/blob/master/Metadata.json Besides sending a pull request, with the author permission, I…
The automation account script to list usedIpAddress in vnet attached or associated to which vm in csv report
We are looking for automation script to list the usedIpAddress in vnet is attached or associated to which backed(vm) in csv report and list privateipv4address which attached or associated with backend server(private endpoint or virtual machine)
is it even possible to use Microsoft.PowerApps.Administration.PowerShell in an Azure Runbook?
Import-Module Microsoft.PowerApps.Administration.PowerShell Import-Module Microsoft.PowerApps.PowerShell #Add-PowerAppsAccount #Use for desktop..[desktop works. It returns the filtered environment] #Use for Azure Automation…
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…
Automate daily checks for Azure VMs
Hello, I would like to check the CPU percentage, Disk IOPS, and Memory availability values of Azure VMs daily in an Excel file. I am considering using Azure Automation for this. Is there a script that I can refer to for automating the process of…
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 connect to ExchangeOnline to Get-DistributionGroup
Hi Guys, I am trying to create and also get distribution list using a powershell runbook (version 5.1) setup in an Azure Automation account. But am having trouble connecting to Exchange Online. ========= My Script (1):- Connect-ExchangeOnline…
Patching Azure VMSS using Azure update mangement
How to do patching on a azure VMSS using Azure update management , What is the process to do it , we are patching VM's using update management , is it possible to patch VMSS also , and what are the things that we need to take care.
Runbook Jobs Suspended Intermittently
Hi, I am encountering an issue with my runbook jobs. Occasionally, the jobs get suspended after running for approximately 10 minutes, though this behavior is inconsistent. Most of the time, the jobs complete successfully without any problems. To provide…
The command was found in the module, but the module could not be loaded - Azure Automation
When I try to run my script in Azure Automation, I get greeted with the following error (since a few weeks apparently). It simply stopped working, I can't explain myself why. System.Management.Automation.CommandNotFoundException: The…
Connecting VS Code + Azure Automation Plugin to MGGraph Managed Identity?
I loaded my Runbook scripts from my Azure Automation account into VS Code (+Azure Automation Plugin). I am trying to connect to MG Graph via the Managed Identity: Connect-MgGraph -Identity -NoWelcome But I get an error message: Connect-MgGraph:…
Impact and consequence when resetting the password for Microsoft Entra seamless SSO account?
Based on this article: https://learn.microsoft.com/en-us/entra/identity/hybrid/connect/how-to-connect-sso-faq#how-can-i-roll-over-the-kerberos-decryption-key-of-the--azureadsso--computer-account- What are the impact when resetting the Kerberos decryption…
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…
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…
Is there any way to scale up the application gateway v1 (Increase instances) automatically using powershell commands?
Is there any way to scale up the application gateway v1 (Increase instances) automatically using powershell commands? I attempted to use an Azure Automation Account with a PowerShell Runbook, but encountered errors. Additionally, the available articles…