How to automate turning off or suspending some Azure services to save money?
What Azure objects can we suspend or turn off outside business hours to save running costs? App Service: The app service implements the message compose experience in the team tab and the messaging endpoint for the bot. Service Bus: The individual…
Azure Cost Management
Azure Policy
Windows for business | Windows Server | User experience | PowerShell
Microsoft Security | Microsoft Graph
Azure Automation
Support Python 3.12+ for Azure Linux VM extensions (Hybrid Runbook Worker)
Hello, Ubuntu 24.04+ uses Python 3.12 and extensions currently fail due to Python dependency issues. I know Ubuntu 24.04 is not yet officially supported:…
Azure Automation
Webhook payload runon Azure vs Hybrid worker
I am working with azure automation, triggered by webhooks. Typically this runs directly on Azure and works fine, the webhook data payload is received and handled as a PSCustomObject. I now need to run the same on a Hybrid Worker because of a OnPrem…
Azure Automation
Unable to Setup the Automation Task - Start and Stop for Azure VM
I am trying to create a start VM task under a Virtual Machine. After trying to run the task I am getting the below error: { "error": { "code": "InvalidAuthenticationTokenTenant", "message": "The…
Azure Automation
Permission issue during the creation of cost export path
I am creating a cost export path using a rest api with two subscriptions. Lets consider subscription A and subscription B. My export will be created in Subscription A: b0e5e124-<PII Removed> But delivery is to a storage account in Subscription…
Azure Automation
How to restore previous version of runbook after publishing
How to restore previous version of runbook after publishing?
Azure Automation
Azure Automation PowerShell Runbook hangs on Invoke-VmRunCommand on one VM, not on the other
I have a Runbook in Azure Automation that runs the "Invoke-AzRunCommand" module to check whether a process is running on 2 VMs (that are identically configured). The command it runs is: Get-Process $process* -ErrorAction SilentlyContinue (Where…
Azure Automation
Azure Automation script assistance as the script works on the local but fails when we execute it on the automation account Azure
Azure Automation script assistance as the script works on the local but fails when we execute it on the automation account Azure
Azure Automation
WIF Azure Automation Runbook ...................................................................................
is this supported?/////////////////////////////////////////////////////////////////
Azure Automation
Error: pwsh.exe is not recognized as a command or operable program
I have 7 runbooks scheduled to run daily but there failed with exception error starting this week. runbooks were working fine previously on schedule. I can run manually successfully but it take long time at Queued status and end up failed on…
Azure Automation
How do I import Az.Compute module
Unable to locate the ‘Start-AzVM’ cmdlet. This command is expected to be part of the Az.Compute module. Are there any dependencies?
Azure Automation
Azure deleted out runbooks
Our azure automation runbooks created in 2022 and 2024 is now empty and not working. And no we have not deleted the content, some process on azure has wiped them out. I would like them back please
Azure Automation
How do I find the correct scope to remove an inherited RBAC role from an Azure Storage account?
Details I’m trying to remove a role assignment from an Azure Storage account, but the Azure Portal shows this message: “Inherited role assignments cannot be removed. Open the scope where the role was assigned and remove it from there.” When I check…
Azure Automation
Unable to import Az.* modules in PowerShell 2.7 Automation Runbook
I'm new to creating Automation Accounts, but I'm struggling to get a PowerShell 7.2 runbook to import Az modules. Using this repo and commit, I've created the account and runbook using Az PowerShell. PS C:\repos\InMem> New-AzResourceGroupDeployment…
Azure Automation
Unable to import Az.* modules in PowerShell 7.2 Automation Runbook
I've created a new Automation Account and a PowerShell 7.2 runbook with this content: Write-Output "PS: $($PSVersionTable.PSVersion)" Write-Output "ModulePath: $env:PSModulePath" Import-Module Az.Accounts -Verbose Import-Module…
Azure Automation
Sign in when using azure workbooks
Sign in to azure account failed when using azure workbooks Unknown error user type and no certification was found
Azure Automation
Extract Date from the StartTime without UTC format in Azure workbook
Hi, I’m building an Azure Monitor Workbook to track data processing. The logs in our Log Analytics workspace are stored in UTC, but when I run KQL inside the workbook the timestamps render in the viewer’s local time. I need a daily summary that combines…
Azure Automation
Cannot remove expired credit card
I would like to remove my expired credit card information, but got rejected. How can I do that?
Azure Automation
How to export template (terraform) for a resource in Azure using Azure CLI
Most of the details are in the question. I want to export a resource template, get the contents of a resource template, in terraform format via az cli. This article exists but does not mention how to export it in hcl format, this other article exists but…
Azure Automation
Azure Automation - My Runbook is working if i run it manually.. but its not running thru scheduling.. can any one help.
I have verified the following things already.. still not working. Verify Runbook Status: Ensure the runbook linked to the schedule is published and not in a draft state. Only published runbooks are triggered by schedules. Check Schedule Status: In the…