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…
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?
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…
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…
Internal server error 500(timeout) For an azure automation runbook
I have a runbook which send https get requests to a azure function. Suddenly the job started failing stating "internal server error: 500".when I open the error it says "the request timed out. The web server failed to respond within the…
Error while running a runbook
Hello, Do you have an idea why a runbook that was working fine is now providing this error: Failed The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Operation returned an…
Unable to update a vm using System assigned managed Identity with update-Azvm command
Automation account System assigned managed Identity has Virtual machine contributor role and Managed identity operator role on resource group x. It is failing to update a VM. ErrorCode: LinkedAuthorizationFailed ErrorMessage: The client 'xx-x' with…
Beginner to Azure Automation - Where to start?
Im a SCOM (System Center Operations Manager) Admin and I am looking into changing over to learning Azure Automation since my current company is getting rid of SCOM within a year and my team primarily deals with Azure Automation and automating tasks. I…