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
6
votes
1 answer

Azure Automation Powersell Runbook fails: 'Invoke-Sqlcmd' is not recognized as the name of a cmdlet

I have done all the steps of the following tutorial to have a runbook for automating index and statistic…
RuSSe
  • 173
  • 1
  • 7
3
votes
0 answers

Azure Runbook still return error when using Get-PowerBIActivityEvent

I'm struggling to make my azure account automation runbook work. Logging using Login-PowerBIServiceAccount is working correctly, but with these commands, Get-PowerBIActivityEvent, Get-PowerBIWorkspace I get the error: Attempted to access an element…
3
votes
1 answer

How does update management works for virtual machines in Azure?

We defined the execution's time of the update management with a runbook for 6 hours. But I would like to know : Does update management work asynchronously (every virtual machines are getting updated at the same time)?.
Elias Arellano
  • 433
  • 5
  • 16
3
votes
2 answers

What is a method for checking where an Azure Automation runbook (PowerShell) is running?

I'm writing a set of PowerShell runbooks in Azure Automation. Some of them run on-premises (ala Hybrid Runbook Worker) and some in Azure directly. I'd like to immediately error and exit any hybrid scripts if they are accidentally kicked off in…
BHall
  • 308
  • 1
  • 11
3
votes
2 answers

Exceed 3 hours timeout Automation Runbook Azure

Hello guys, I have a runbook to launch but it takes more than 3 hours to run (process of partitions) and so, it stops before being complete. I wanted to know if there is a way to exceed the 3 hours limitation. I've heared about hybrid runbooks but…
Mathieu Ricour
  • 368
  • 1
  • 4
  • 25
3
votes
1 answer

Azure Webjobs vs RunBooks vs Schedulars :How to choose?

Am beginner to using Azure Services, In what scenarios we have to go with WebJobs & RunBooks & Schedulars. what is the difference between them.
Phani Rao
  • 167
  • 1
  • 12
3
votes
1 answer

Azure runbook to start/stop a vm says "Completed" but nothing happens

I'm quite new to Azure but I'm banging my head against something that seems simple. I've read a ton of resources that suggest this should be easy but I simply cannot get a runbook in the new portal (ARM) to start a specific VM. It runs and states…
GlacialSpoon
  • 277
  • 3
  • 13
3
votes
4 answers

How to login from an Azure Resource Manager Runbook?

Using the new Azure portal, I am trying to add a powershell runbook that will start a specific VM. This is not something that will be run in powershell from my PC, it will instead run as an ARM job. I can't seem to find a way to successfully…
BlackSpy
  • 5,563
  • 5
  • 29
  • 38
2
votes
0 answers

I am New to Devops ,I want to connect aks cluster through azure runbook python script and delete pods. how can i connect like local system

like local environment we first login to az account and the run two commands for connecting AKS . just like that, how we can connect through runbook python script and manage resources like deleting pods, deployments ,services . I used below azure…
2
votes
2 answers

Azure runbook output to email

I am trying to send the output of a VM status from Azure automation runbook into email, I use the below code: function Send-EMail { Param ( [Parameter(Mandatory=$true)] [String]$EmailTo, [Parameter(Mandatory=$true)] …
Satheesh
  • 803
  • 1
  • 11
  • 28
1
vote
1 answer

Login to python script using service principal

I have registered one App in AAD, I got its App ID. I did role assignment for this app as "owner of a particular subscription" Now from Azure Runbook I want to run my python script and use this App credentials to login. My python script has az cli…
1
vote
1 answer

Map a Azure Fileshare to Azure Runbook local drive to use as temporary storage

I am trying to access an AzureStorage to utilize it in an Azure- Powershell-Runbook. I need to accomplish that to save a SharePoint-Sitetemplate to that location. Things I've tried was using: $StorageAccountKey = Get-AutomationVariable -Name…
René
  • 11
  • 1
1
vote
1 answer

What is wrong with my JupyterHub config file ? Error when using helm to install Jupyter

I am attempting to deploy JupyterHub into my kubernetes cluster as i want to have it integrated with a self hosted Gitlab instance running in the same cluster. I have followed the steps on the Gitlab documentation page as shown here. however when…
floormind
  • 1,868
  • 5
  • 31
  • 85
1
vote
1 answer

Get-PnPProvisioningTemplate Execution error in Runbook

I ran the following Powershell in Runbook and got an error. If there are any inappropriate parts in the logic, I would appreciate it if you could point them out. Supplemental  When I changed the name to Get-PnPFolderItem instead of…
1
vote
1 answer

In 2021, what is the fastest/easiest way to export the certificate used by an Azure Automation AzureRunAsConnection for local debugging?

As part of troubleshooting/diagnosing a permissions issue with the service principal that one of our runbooks is using, Microsoft support has asked me to run the same PowerShell code locally so we can capture logs. In order to do this, I need to…
GuyPaddock
  • 2,233
  • 2
  • 23
  • 27
1
2 3 4 5 6 7 8