1,187 questions with Azure Automation tags

Sort by: Updated
1 answer

Azure Automation account runbook unable to write to Azure fileshare

Hi folks, I am using Azure Automation account runbook in PowerShell to write to a file in Azure file share, but it is failing with error: "The parameter is incorrect" Code: Error: However, same piece of code works when I run it on either my…

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,219 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,187 questions
asked 2024-05-16T10:53:49.6866667+00:00
Apurva Pathak 385 Reputation points
commented 2024-05-23T12:24:54.3766667+00:00
Apurva Pathak 385 Reputation points
1 answer One of the answers was accepted by the question author.

How can we use variables inside the inline script in another inline script in PowerShell workflow in Azure runbooks

“In my Runbook workflow, I’d like to use the variables created in one inline script block within another inline script block.” Please suggest how can do this Workflow { inline script { $a=1 } inline script { $b=$a -- fist inline block…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,187 questions
asked 2024-05-22T17:36:04.3233333+00:00
Ponkam, Sumanth (Cognizant) 50 Reputation points
accepted 2024-05-23T05:10:51.16+00:00
Ponkam, Sumanth (Cognizant) 50 Reputation points
0 answers

Renaming GitHub Repo Broke and Disabled Source Control Completely

Originally we had two Azure Automation Accounts (lets call them #1 and #2) that had Source Control enabled with a single GitHub repository. Then, we created two more automation accounts (#3 and #4) that were also set up with Source Control enabled with…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,187 questions
asked 2024-05-22T15:03:58.46+00:00
Barrow, Adam 0 Reputation points
edited the question 2024-05-22T15:05:18.5666667+00:00
Barrow, Adam 0 Reputation points
1 answer

How to call child runbooks from parent runbook without waiting for child runbook completion and move to next line

I have runbook A as parent and B, C are Child. I want to create a runbook A that should invoke B, C and continue executing the next line in the parent runbook. parent should not wait for child runbooks to be completed. can we have some sample code

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,187 questions
asked 2024-05-21T13:25:53.5333333+00:00
Ponkam, Sumanth (Cognizant) 50 Reputation points
commented 2024-05-22T11:22:28.4166667+00:00
AnuragSingh-MSFT 21,241 Reputation points
1 answer

Cannot update or install modules in Azure Automation

I am having issues updating or installing modules in Azure Automation. Every time I initiate the import process, it never finishes. Even when I delete the imported job and try again, the results are still the same. This has persisted for a week now, and…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,187 questions
asked 2024-05-18T02:35:05.1733333+00:00
Chester Camlin 0 Reputation points
edited the question 2024-05-20T03:58:13.0133333+00:00
ManoharLakkoju 690 Reputation points Microsoft Vendor
5 answers One of the answers was accepted by the question author.

Retirement Announcement – Azure Automation Update Management solution will end on 31st August 2024

On 31st August 2024, support for Azure Automation Update Management will end. The offering is dependent on the Log Analytics agent which will also deprecate the same day. Before that date, please migrate to Azure Update Manager, a native functionality…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,187 questions
asked 2023-12-08T07:38:15.72+00:00
SwathiDhanwada-MSFT 18,551 Reputation points
answered 2024-05-15T10:23:33.31+00:00
Manoj K K 0 Reputation points
1 answer

Azure python runbook import_py3package_from_pypi : Exception: Error importing package cryptography into Automation account. Error code is 400. from p

hi all, on Azure Automations I am receiving this Exception when I try to run import_py3package_from_pypi runbook on module msgraph-sdk -v 1.2.0. I only require the functionality from the runbook to access the microsoft graph using certificate…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,187 questions
asked 2024-05-08T03:56:09.8433333+00:00
Grant Fullston 25 Reputation points
answered 2024-05-15T07:59:50.6833333+00:00
AnuragSingh-MSFT 21,241 Reputation points
1 answer

How to disable local authentication in Azure Automation account

Hi experts, Does anyone know how to disable the local authentication in Azure Automation Account? This documentation is related to the topic, but it doesn't provide actual steps to disable the local authentication in Azure Automation Accounts.…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,187 questions
asked 2024-05-14T08:15:12.13+00:00
Liang Chen 1 Reputation point Microsoft Vendor
answered 2024-05-15T06:47:40.3733333+00:00
Stanislav Zhelyazkov 22,101 Reputation points MVP
0 answers

Getting an error in a runbook.

Hi there, I've created a runbook to handle offboarding users in office 365. I'm connecting to the graph API, and exchangeonline module. My runbook is working flawlessly except for one specific line which is giving me an error when ran in the runbook (I…

Microsoft Exchange Online
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,344 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,187 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,449 questions
asked 2024-04-30T17:12:23.7733333+00:00
Tristan MacDonald 0 Reputation points
edited the question 2024-05-14T21:40:29.52+00:00
Tristan MacDonald 0 Reputation points
1 answer

Runbook synchronization failing

Hello, I am encountering an issue with the synchronization of my runbooks. The source control integration in azure automation that fetches codes from an azure repository is currently failing to synchronize. Yet it was working properly until yesterday.…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,187 questions
asked 2024-05-03T14:57:27.0866667+00:00
Brunel Elvire BOUYA-MOKO 20 Reputation points
commented 2024-05-14T06:58:46.84+00:00
AnuragSingh-MSFT 21,241 Reputation points
2 answers One of the answers was accepted by the question author.

How can I run an automation template

I want to run an automation template for a sql database deployed with ARM. The aim is to trigger a stored procedure

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,292 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,187 questions
asked 2024-05-08T00:16:54.5566667+00:00
Oyin 20 Reputation points
accepted 2024-05-13T20:11:52.9266667+00:00
Oyin 20 Reputation points
1 answer

Is Azure Automation Tasks is Billable? Then How much

Hi, I am not using the virutal machine every saturday and sunday, so i am thinking to create a automation task to start virutal machine and power off the virtual machine. Then i need to know how much cost it take for month. And is there any way to create…

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,530 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,187 questions
asked 2024-05-12T10:45:05.2066667+00:00
Mani Kumar Reddy Chinnam 0 Reputation points
answered 2024-05-12T11:27:37.2833333+00:00
Marcin Policht 17,770 Reputation points MVP
4 answers One of the answers was accepted by the question author.

How to fix: Method 'get_SerializationSettings' does not have an implementation

I just wanted to automate this powershell script to activate Sftp for BlobStorage only for half an hour in the evening using the automation account: $resourceGroupName = "xxxx" $storageAccountName = "yyyyy" Set-AzStorageAccount…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,187 questions
asked 2023-06-06T15:58:54.2333333+00:00
commented 2024-05-08T23:55:39.3833333+00:00
Alex Nolasco 0 Reputation points
1 answer One of the answers was accepted by the question author.

How i can access a PostgreSQL server DB in a VNet in Azure thorugh python runbook inside an Automation Account ?

Hello team, I have a problem statement, i have an automation account in azure in which i have a python runbook in that runbook i have a script to make a connection to postgreSQL DB server and do some transactions in the DB but the problem is now i have…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,187 questions
Azure Database for PostgreSQL
asked 2024-05-03T13:04:21.4433333+00:00
Koushik Purva Mahendra 50 Reputation points
accepted 2024-05-08T12:40:48.11+00:00
Koushik Purva Mahendra 50 Reputation points
1 answer

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…

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,180 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,187 questions
asked 2024-04-18T18:20:59.8+00:00
Austin Greca 0 Reputation points
commented 2024-05-07T22:04:01.61+00:00
James Hamil 22,986 Reputation points Microsoft Employee
1 answer

Most secure way to enable Azure automation python runbook to access Microsoft Graph for an organisatinon

Hi all, I am needing to create an azure automation python runbook that accesses an organisation's Microsoft Graph and Microsoft 365, with the permissions to read and write to the Graph. I have seen several ways to do this, but am worried since this…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,344 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,187 questions
asked 2024-04-30T01:31:37.85+00:00
Grant Fullston 25 Reputation points
answered 2024-05-07T15:27:00.09+00:00
Carolyne-3676 201 Reputation points
1 answer One of the answers was accepted by the question author.

Azure automation source control sync jobs fail with "Exception: Job Failed. An unhandled exception occurred."

I have a test github repo set up with an azure automation account using source control. The source control sync job ran successfully twice on 26th Apr 2024, but now fails. There is no error given in the summary in the azure portal, the "all…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,187 questions
asked 2024-05-06T18:56:14.14+00:00
Austen Puleston 25 Reputation points
commented 2024-05-07T15:20:00.72+00:00
1 answer

Azure Automation: "Message":"You have reached the limit of allowed JobsByName API calls.

Hello, I am trying to start a runbook but am getting the following error Start-AzAutomationRunbook : {"Message":"You have reached the limit of allowed JobsByName API calls. Please retry after..." This Automation Account only has a…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,187 questions
asked 2024-05-02T21:07:54.9433333+00:00
Aaron Lang 16 Reputation points
commented 2024-05-07T11:37:40.8633333+00:00
AnuragSingh-MSFT 21,241 Reputation points
0 answers

Automation Account error - when Try to call stored procedure from Automation account getting error:

Traceback (most recent call last): File "/usr/src/tmp/8643d647-6858-4b74-88c5-96b2e28a66f4/runbooks/Dravosa.py", line 30, in <module> cursor = source_engine.raw_connection().cursor() File…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,187 questions
asked 2024-05-07T11:21:41.09+00:00
Prajna Jena (ADM) 0 Reputation points
0 answers

Permissions required for import_py3package_from_pypi to install python runbook packages and their dependencies

Hi all, I have been trying to install python runbook packages for a script that I am running. I am aware that I can manually upload each whl file for the packages, however, this does not manage the package dependencies. I then found the provided…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,187 questions
asked 2024-04-30T01:22:13.9366667+00:00
Grant Fullston 25 Reputation points
commented 2024-05-07T06:52:03.48+00:00
Grant Fullston 25 Reputation points