Questions tagged [runbook]

A runbook is a routine compilation of procedures and operations that the system administrator or operator carries out. System administrators in IT departments and NOCs use runbooks as a reference.

Runbooks can be in either electronic or in physical book form. Typically, a runbook contains procedures to begin, stop, supervise, and debug the system. It may also describe procedures for handling special requests and contingencies. An effective runbook allows other operators, with prerequisite expertise, to effectively manage and troubleshoot a system. Through runbook automation, these processes can be carried out using software tools in a predetermined manner.

Runbooks are typically created by technical writers working for top tier managed service providers. They include procedures for every anticipated scenario, and generally use step-by-step decision trees to determine the effective response to a particular scenario.

118 questions
1
vote
1 answer

When to use Bots, FaaS, Runbooks and logic App

All these Azure technologies (Bots, FaaS, Logic Apps and Runbooks) are used to run schadule jobs. I don't know when we should use these and which scenario we should use them.
1
vote
1 answer

Azure Runbook for SQL procedure execution :Facing Timeout Issues

I have created a run-book in azure to automate my sproc execution on a scheduled interval, i see a timeout exception while the sproc gets executed. I have tried changing the connection timeout value in my connection string to "0" to make it…
Manoj
  • 61
  • 6
1
vote
0 answers

Re-creating an Azure runbook

We want to change an Azure Runbook from being a PowerShell workflow to being a stock standard PowerShell script. We need to keep the same name as we have other runbooks that call this one. Unfortunately you can't just change the runbook type. So we…
BlackSpy
  • 5,563
  • 5
  • 29
  • 38
1
vote
1 answer

While creating a new Graphical RunBook Can't load the Graphical editor in Azure Automation?

I am creating a New Runbook in Azure Automation But it can't showing the Graphical Editor & Activity Library for to design the RunBook.
Phani Rao
  • 167
  • 1
  • 12
1
vote
1 answer

Powershell workflow function issue

I´m trying to reuse code on my SMA runbooks but everything I try to put inside a function doesn´t seem to work as expected. For example, If I do this it works and returns the username of the credential: workflow RB_Test { $credent =…
1
vote
1 answer

How to PSSession VM from Resource Manager?

I have VMs in Resource Manager and I want to do remote PowerShell scripting from runbook these VMs. I already know how to do it in classic virtual machines and use with success. Now, is remote PowerShell over SSL with a certificate enabled by…
0
votes
0 answers

How to get running JobId in Automation runbook using Python

I have a Automation runbook using Python, while sending custom logs to eventhub, I want to add JobId too Is there a way I can fetch jobId of running job
Chirag
  • 408
  • 1
  • 4
  • 8
0
votes
1 answer

How to trigger a run Book in azure automation account yearly once or twice

We have a recruitment where we need to run Automation Runbook Quarterly or Once in a year or twice in a year. But, by default we have only till month. Is there any other way trigger the runbook as mentioned above. Thank you.
user6264
  • 175
  • 1
  • 7
  • 22
0
votes
0 answers

RunBook script to stop VM using Managed Identities

I am using the azure runbook to stop a VM if its idle for more than 10 Min Steps followed Added user in Managed Identities with a role of contributor. Created a automation account and tagged the user Assigned ( which was created in earlier step…
0
votes
1 answer

How to call a runbook from another runbook in Orchestrator Runbook Designer

In System Center 2019 Orchestrator Runbook Designer, I have two runbooks, runbook1 and runbook2. I am trying to call runbook2 from runbook1. When I searched in Google, I found Azure related runbooks automation, But didn't get much information on…
Vish
  • 89
  • 1
  • 3
  • 13
0
votes
2 answers

Error message 401 unauthorized if I try to apply a design over a SharePoint Online Teamsite

I use a runbook with Powershell 5.1 and the pnp.powershell 1.12 framework. I create a SharePoint site automatically with a managed identity. Everything works fine untile I try to apply the design which I have created before. I always get the message…
Matthias
  • 9
  • 1
  • 6
0
votes
1 answer

How to Resolve 'ModuleNotFoundError' When Running Python Script in Azure Runbook?

I have a python code kept at C drive which uses one Object.py for the below code in the Main.py script Object.py has below code class FileObject: def __init__(self, name, columns, thresholds, uniqueId): self.name = str(name).lower() …
0
votes
1 answer

Run python script stored in blob storage using azure automation runbook

I created a adls storage account and stored here a simple python script to print hello world.script - test.py. Created an azure runbook in powershell to run this test.py from the adls storage. Can you please help with the code to execute the python…
0
votes
0 answers

How can I run aws cli commands in scheduled?

I'm trying to run AWS CLI commands every week for a backup. Basically, the commands that I want to run are: aws configure set aws_access_key_id "access_key" --profile user2 && aws configure set aws_secret_access_key "secret_key" --profile user2 &&…
Gerson
  • 11
  • 1
0
votes
1 answer

Azure Automation Start-AzureAutomationRunbook error

Using Powershell 5.1 runbook. I'm trying to test sending an email from another runbook. The SendEmailToDba runbook runs successfully given the same parameters as I'm using in this second runbook. I cant figure out why it is complaining about the…
M Rothwell
  • 45
  • 5