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?
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…
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…
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…
Runbook Not Working in Account Automation
For a week now, the runbook that I had programmed in the automation account has stopped working. I created another automation account to check if the problem was with the automation account itself, but the problem persists. Can anyone help me?
Someone help me set up script for Power BI Embedded
Hello I am writing to the community to ask for help in setting up a script that automates the shutdown and on of the Power BI Embedded service. I look forward to your reply, Best regards
Azure Runbook Error: AADSTS700016 Application with identifier 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' was not found in the directory 'XXXX'
I have an Automation Runbook (PowerShell 5.1) that is failing with the following message Principal 'xxxxxxx' could not be resolved. Error message: 'AADSTS700016: Application with identifier 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' was not found in the…
Unable to import Python 3.8 package "plotly" into Azure Automation for use in Python runbooks
Hello, I have an Azure automation account. Into this account, I would like to import a Python 3.8 package for plotly. However, the import always fails. I tried it with several versions of the plotly package. Here are the results: ( 1 ) After importing…
How to automate Synapse pipelines and connections ?
Is it possible to automate the generation of Synapse pipelines in code ? instead of using the interface and clicking all the time? Other providers like Snowflake allow you to just use worksheets (sql scripts) where you write all the code and you do…
Send Azure Automate Traffic Via Static IP
I'm trying to set a static IP on my azure automation account. I understand that I can do this using hybrid workers but would like to know if this is possible using just Azure. I have created a virtual network along with a NAT gateway. Any help would…
How to resolve 409 error in runbooks
Getting below error while running Azure Runbook Run command extension execution is in progress. Please wait for completion before invoking a run command. ErrorCode: Conflict ErrorMessage: Run command extension execution is in progress. Please wait for…
![](https://techprofile.blob.core.windows.net/images/REvKe9i1Lk-IL_Eoahe21Q.png?8D8768)
I want to migrate from an existing Run As account to managed identities
Hello, I would like to change my runbook which starts and stops several machines knowing that I have an exclusion list. I would like to change it for authentication with managed identities. how do I send my powershell runbook script here?
![](https://techprofile.blob.core.windows.net/images/REvKe9i1Lk-IL_Eoahe21Q.png?8D8768)
Seeing error "from azure.mgmt.compute import ComputeManagementClient ModuleNotFoundError: No module named 'azure.profiles'
Hi, I have added two Azure SDK packages to my python script: from azure.identity import DefaultAzureCredential from azure.mgmt.compute import ComputeManagementClient I uninstalling and then reinstalling the packages azure_mgmt_compute 30.4.0 or…
how to fix error "A nested resource type must have identical number of segments as its resource name. A root resource type must have segment length one greater than its resource name"
Hello everyone, I am trying to create an ARM template to deploy secrets to key vault without manually adding them from portal. Attached are my parameters.json and main.json files. when deploying I am getting below error. Additionally, did anyone…
![](https://techprofile.blob.core.windows.net/images/8e7482a06e664b24a43dfb238c317fe1.png)
Server update using Update management center in automation account
I have my azure windows servers patched each month using update management center in the automation account. After the execution of the jobs, I can see that the servers are non compliant and the error is MaintenanceWindowExceeded. why this happened, and…