1,129 questions with Azure Automation tags

Sort by: Updated
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.
10,673 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,129 questions
asked 2024-04-30T01:31:37.85+00:00
Grant Fullston 0 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,129 questions
asked 2024-05-06T18:56:14.14+00:00
Austen Puleston 0 Reputation points
commented 2024-05-07T15:20:00.72+00:00
0 answers

Update snapshot Property by using Azure Automation account

Hello, I have a Backup vault that takes snapshot for OS disks and shared disks everyday, during 14 days. When checking the snapshot file, the network setting is enabled public access from all network. Because there are a lot of snapshot file that I need…

Azure Backup
Azure Backup
An Azure backup service that provides built-in management at scale.
1,132 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,129 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,089 questions
asked 2024-04-23T14:49:55.79+00:00
Hanh Trinh 41 Reputation points
commented 2024-05-07T15:12:36.29+00:00
Hanh Trinh 41 Reputation points
0 answers

Azure Update Manager support for CIS-Hardened Images (Windows)

Hello there, Any further update on support for CIS hardened images (Windows 2019/2022) in Azure Update Manager? What's the recommended action if the deadline arrives and the support is not ready? I saw somewhere else a possible option that would include…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,129 questions
Azure Update Manager
Azure Update Manager
An Azure service to centrally manages updates and compliance at scale.
226 questions
asked 2024-05-07T03:30:29.24+00:00
CelsoScarpim 0 Reputation points
commented 2024-05-07T12:34:01.31+00:00
AnuragSingh-MSFT 20,261 Reputation points
0 answers

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,129 questions
Azure Database for PostgreSQL
asked 2024-05-03T13:04:21.4433333+00:00
Koushik Purva Mahendra 25 Reputation points
commented 2024-05-07T12:22:29.6066667+00:00
Koushik Purva Mahendra 25 Reputation points
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,129 questions
asked 2024-05-02T21:07:54.9433333+00:00
Aaron Lang 6 Reputation points
commented 2024-05-07T11:37:40.8633333+00:00
AnuragSingh-MSFT 20,261 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,129 questions
asked 2024-05-07T11:21:41.09+00:00
Prajna Jena (ADM) 0 Reputation points
0 answers

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,129 questions
asked 2024-05-03T14:57:27.0866667+00:00
Brunel Elvire BOUYA-MOKO 20 Reputation points
commented 2024-05-07T08:11:16.07+00:00
AnuragSingh-MSFT 20,261 Reputation points
0 answers

Help getting python runbook (azure automation) to access microsoft graph (sharepoint files)

Hi all, I would love some help trying to get my python runbook to access my microsoft graph. I have followed this tutorial (https://learn.microsoft.com/en-us/entra/id-governance/identity-governance-automation) and have tested my certificates with a…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,673 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,129 questions
asked 2024-05-07T07:03:07.2066667+00:00
Grant Fullston 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,129 questions
asked 2024-04-30T01:22:13.9366667+00:00
Grant Fullston 0 Reputation points
commented 2024-05-07T06:52:03.48+00:00
Grant Fullston 0 Reputation points
1 answer One of the answers was accepted by the question author.

How can I get list of runbooks that uses a particular Database using PowerShell in a runbook

Hi , we have created plenty of runbooks to load data to our SQL warehouse. and the runbooks are keep increasing due to business need. we are in need of achieving particular task. that requires list of runbooks that is using the specific xyz database.…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,129 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,089 questions
asked 2024-04-04T04:56:48.8866667+00:00
Ponkam, Sumanth (Cognizant) 20 Reputation points
edited a comment 2024-05-06T17:20:19.0366667+00:00
Ponkam, Sumanth (Cognizant) 20 Reputation points
1 answer

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 Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
2,059 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,673 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,129 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
798 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,089 questions
asked 2024-05-05T13:46:36.69+00:00
EnterpriseArchitect 4,781 Reputation points
edited an answer 2024-05-05T14:46:41.47+00:00
Sina Salam 3,886 Reputation points
4 answers

Azure Automation Account - Powershell runbook stuck in Starting (intermittently)

Azure Automation Account - We have a Powershell runbook stuck in Starting (intermittently). Sometimes it works, other times its just stuck in Starting phase and never moves. Can't stop or cancel it

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,129 questions
asked 2023-06-09T19:31:53.0233333+00:00
Justin Coon 50 Reputation points
answered 2024-05-03T15:37:53.6233333+00:00
Abdullah Miah 31 Reputation points
0 answers

Need help creating an automation task to delete VM disk snapshots older than 60 days in Azure

Our organization has an issue with people creating snapshots for VMs on an ad-hoc basis. Sometimes, they do not remove the snapshot after it is no longer needed. I need to create some sort of automation that scans the entire subscription and deletes…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,129 questions
asked 2024-05-03T14:28:01.7133333+00:00
Jason Myrick 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to fix error for azure automation

Hi there, I have setup an automation app to stop and start a stream analytics job, following a guide from this doc https://learn.microsoft.com/en-us/azure/stream-analytics/automation-powershell Whenever the job is running, the runbook runs fine to stop…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,129 questions
asked 2024-04-30T23:07:50.5066667+00:00
Navaska 25 Reputation points
commented 2024-05-03T06:24:55+00:00
AnuragSingh-MSFT 20,261 Reputation points
4 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,129 questions
asked 2023-12-08T07:38:15.72+00:00
SwathiDhanwada-MSFT 17,726 Reputation points
commented 2024-05-02T23:06:58.4833333+00:00
CelsoScarpim 0 Reputation points
3 answers

View or export automation account modules

Is there a way to read/view or even export the code within a custom module created within an Azure automation account. I've inherited this account and it's runbooks, and there's a custom module being used that I don't have the source code for. I'd like…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,129 questions
asked 2022-01-05T10:53:43.537+00:00
Ryan Shaw 1 Reputation point
answered 2024-05-02T14:22:08.4533333+00:00
Ryan Coplien 0 Reputation points
0 answers

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", …

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,129 questions
asked 2024-04-08T20:02:00.5566667+00:00
Jeremy Zheng 65 Reputation points
commented 2024-05-01T17:07:49.38+00:00
tbgangav-MSFT 10,386 Reputation points
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.
10,673 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,129 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,383 questions
asked 2024-04-30T17:12:23.7733333+00:00
Tristan MacDonald 0 Reputation points
commented 2024-05-01T02:26:33.12+00:00
Jayce Yang-MSFT 1,251 Reputation points Microsoft Vendor
0 answers

Uploading Python package to Automation Account

Hi, I am trying to upload a python package to an Automation Account but keep failing. The runtime is Python 3.8. I am quite new to the whole Azure scene but have followed the guide in …

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,129 questions
asked 2024-04-30T08:44:10.7966667+00:00
DataB93 0 Reputation points
edited the question 2024-04-30T10:28:33.6066667+00:00
OMMI NAVEEN KUMAR 195 Reputation points Microsoft Vendor