Azure SQL DB Autoscaling issue
Hello, I'm currently facing an issue with automating the scale up/down of my Azure SQL DB. When the DB experiences high DTU usage and the auto scale-up is triggered by an alert runbook, the query that was running on the DB gets interrupted, causing my…
Assign RBAC "Key Vault Administrator" role to Azure App via C# (.NET SDK)
I use below C# code create KeyVault with RBAC permission model. using KeyVaultModels = Microsoft.Azure.Management.KeyVault.Models; KeyVaultModels.VaultProperties vaultProperties = new KeyVaultModels.VaultProperties() { EnableRbacAuthorization = true, …
How to Automate sending of Azure Metrics chart to Email?
I have different Metrics for my Application Insights and I want to send the chart monthly to my email automatically. Currently, I am downloading the Excel File then attached that file to email manually. Is there a way I can achieve this automatically…
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…
Key Vault Integration on the Roadmap?
Are there currently any plans to allow Credentials and encrypted variables to be sourced directly from Key Vault so that we don't have to use PowerShell in the script to query the vault? Normally this wouldn't be an issue but since we're protecting our…
Automating Email Notifications for Mailbox Storage Monitoring
Hi everyone, I'm looking to automate a task where I receive an email notification when a specific email mailbox reaches 80% of its storage capacity. After researching, it seems that using Azure Automation Accounts would be the way to go. Firstly, I'm…
My Job in a Hybrid Work is failing as out of resources
My job goes into suspended status with the exception of "Job was suspended as the job limit for a Hybrid Worker exceeded. Add more Hybrid Workers to the Hybrid Worker group to overcome this issue, see: https://aka.ms/HRW-polling-limit-exceed". …
Support for Inline Child Scripts in PowerShell 7.2 Runbooks
What is the current status of support for inline scripts in Powershell 7.2 runbooks? The current documentation lists inline scripts as "not supported", but it is unclear whether this will change or when it might change. We have several scripts…
Difference between DSCandHybridWorker and Webhook
Whats the difference between these 2?
azure automation accounts public access - the risks
Hi all Can someone explain the real risks of having an automation account open with public network access? Assuming the only way to get into it is with system principal assigned to it?
Is there any API method/ CLI command to get Azure Dashboard printed in a pdf format?
Currently I can download the dashboard directly from Azure Portal UI itself by simply exporting it. I need an API endpoint / CLI command to get Azure Dashboard printed in a pdf format. Also, I need to attach that pdf and send it as a mail on a…
How to Automate Azure Task on Weekdays
Hello. I currently have an automated task which starts an Azure VM every morning at 3 AM. However, I only need it to start on weekdays (Monday - Friday). How do I amend this configuration to exclude Saturday and Sunday? I see that this page... …
How to setup a host or VM to run on scheduled to execute a script so its going to update the user attributes in AAD/Entra ID?
How to setup a host or VM to run on scheduled to execute a script so its going to update the user attributes in AAD/Entra ID? Here is our use case: I want to run a MS Graph PowerShell script on scheduled hours once or twice a month which will update…
How to automate indexing additional documents in Azure Open AI to access GPT model (gptv4 Turbo) and Azure Search Service for data indexing and retrieval.
I've created a PoC using https://github.com/Azure-Samples/azure-search-openai-demo and explored the ChatGPT like experience over enterprise data using RAG model which uses Azure OpenAI to access GPT model (gptv4 Turbo) and Azure Search Service for data…
Azure Automation Account - Source Control sync error
One of our Automation Accounts in Azure is unable to sync with our Devops source control repository. Upon manually initiating a sync, it "Completes" but has the following error: System.Management.Automation.CommandNotFoundException: The term…
How can I create a custom Azure policy to prevent/deny manual resource creation in resource groups while allowing automated creation through GitHub Actions or Azure Automation?
How can I create a custom Azure policy to restrict end users from manually creating resources in resource groups and prevent unauthorized peerings with existing VNets, while also allowing the creation of resources through GitHub action automation or…
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", …
Support for Inline Child Scripts in PowerShell 7.1 (preview) runbooks?
Hello! Currently, inline child scripts are not supported (e.g. .\child-runbook.ps1) in 7.1 as per this document: https://learn.microsoft.com/en-us/azure/automation/automation-runbook-types?branch=pr-en-us-178132#known-issues---71-preview Is this…
How to get notified via email when deployments history of resource groups counts exceeds 500?
we noticed that resource group is limited to 800 deployments in its deployment history. At the end we have question about Monitoring Part. PowerShell Script to get list of Resource Group Name along with Deployment Name and Status of all Deployments for…
Issue with Powershell 7.2 SqlServer module
I've installed the SqlServer module into Azure runbooks for powershell 7.2 but when I go to use it I get... "Invoke-Sqlcmd' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if…