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
0
votes
2 answers

powershell json format variable in tmsl script

I use powershell and i want to put variable in json format into TMSL create role script. I want to put this variable into TablePermission parameter json variable: $filter= [ { "name": "DimGeography", "filterExpression":…
0
votes
1 answer

Simplify PowerShell runbook to send e-mail

Can I simplify my PowerShell Azure runbook to gather soon to expire secrets and certs (vs repeating code) from all KV's in subscription and send a formatted table in an e-mail? The current runbook runs fine with the associated modules configured to…
0
votes
1 answer

Not able to access Azure FileShare Storage container from Azure Automation Runbook

I've the following Azure Automation Runbook script which goal is to take an dump/export from a REST API call which must run from a target device which is able to reach the REST API device. So Azure Automation runbook is targeting a "proxy server"…
mvitor
  • 37
  • 8
0
votes
2 answers

Failed when running powershell code in azure automation

I set an azure policy adding two tags, which are CreatedTime and Type. The value of CreatedTime is utcNow(), which default format is 'yyyy-MM-ddTHH:mm:ss.fffffffZ'. My goal is to delete all resources whose Type is private and created time is longer…
Doris Lv
  • 3,083
  • 1
  • 5
  • 14
0
votes
1 answer

Azure Automation (Powershell Runbook) - Cannot convert value to type System.String

I have a powershell runbook in Azure Automation with the following code: param ( [Parameter(Mandatory=$true)][ValidateNotNullOrEmpty()] [String] $ADMINUSERS, ) #parse User data function Get-GroupUser { …
kilo2020
  • 11
  • 1
  • 4
0
votes
1 answer

Azure Runbook throwing error: Invoke-ProcessASDatabase

I have a runbook that has been running fine for a long time. It throws an error suddenly. I am able to refresh the model in SSMS and also works fine when I do a on demand refresh in Azure. The error comes only at time of scheduled refresh. The thing…
0
votes
0 answers

Azure PowerShell-Runbook

Working on this as below - Using a power-shell script inside the Automation Account for run-book. The power-shell script will help in adding a rule inside the resource of the function-app of the networking rule. But somehow the following happens…
0
votes
0 answers

Velostrata cloud migration is getting failed

I am trying migrate simple windows EC2 instance from AWS to GCP. I have set up everything successfully followed from GCP docs. I tried with full migration but migration got failed after 10-15% showing error that "failed to create storage bucket". I…
0
votes
2 answers

How can I simply get the powerstate from within a powershell workflow automation runbook in Azure?

I have a Powershell workflow runbook that automates starting and shutting down VMs in Azure, I updated the modules in an automation account (so I could use it for other things) and it has stopped the script working. I have fixed most of the broken…
0
votes
1 answer

Convert .csv file to ZIP file using Powershell and store in Azure blob stroage

I am trying to convert .CSV file to .ZIP using Powershell and then store the ZIP file in Azure blob storage. Invoke-Sqlcmd -ServerInstance $SvrName -Database $dataname -Username $UserName -Password $Password -Query $getTABLEdetails | Export-CSV…
Baxy
  • 139
  • 1
  • 13
0
votes
1 answer

PnP Powershell Add-PnPOffice365GroupToSite Authorization_RequestDenied Azure Runbook

We are using an Azure Runbook with PnP PowerShell to automate provisioning of SharePoint Online and O365 groups. To connect and authenticate through PnP PowerShell, we are using an AppId and AppSecret that have assigned to an Azure Run As…
Arnie
  • 33
  • 3
0
votes
1 answer

Azure runbook - run Powershell on remote VM

Azure runbook. The question: How to run/call powershell scripts on remote Azure VM via runbook? The script is placed on a remote VM. There is no Azure AD, powershell has Az module installed. Thank you.
Mund
  • 135
  • 3
  • 13
0
votes
1 answer

Trigger Azure Runbook whenever put new object in Azure bucket

I want to automate a azure resources(ex- start/stop VM) currently I am using Automation Account runbook and its working fine but I need to implement a framework something lie this : 1)Trigger runbook whenever put a new object(excel sheet) in azure…
suman
  • 1
0
votes
1 answer

How to save files to azure storage using runbooks

My powers-shell creates a output file which is $csvpath = C:/temp/test.csv $FilePath = $CsvPath + $Compute.Name + "-" + (Get-Date).ToString("yyyyMMdd_HHmmss") + ".csv" Export-Csv -InputObject $ComputeJobs -Path $FilePath I want to automate this…
cloudcop
  • 957
  • 1
  • 9
  • 15
0
votes
0 answers

Azure powerhsell runbook for tagging

Im triying run a powershell runbook for tagging... I've started try tagging a virtual machine , I checked the powershell code and it's working , I've runned the code line to line in powershell console of azure portal and It's working but the same…
kevin
  • 1