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

azure automation powershell runbook to get VM details in CSV file and export that CSV file to azure blob storage, can some one help on this

I am running Azure automation PowerShell runbook script to get VM details in CSV file and export that CSV file to azure blob storage, but I am unable to capture the VM details through Azure automation PowerShell runbook script and keep it in blob…
Nares
  • 3
  • 2
0
votes
1 answer

How to pass a parameter to a runbook using HTTP Post?

I was having problems passing some variables in a powershell script/runbook/webhook via a post http call so I thought I would find a much simpler script and try, but its still the same so I’m obviously doing something wrong. Here is the powershell…
f2_
  • 13
  • 5
0
votes
1 answer

Run Get-AzADApplication from an Azure Runbook using a Managed Identity

Hi I am wanting to get App registration information for several applications within my tenant (but different subscriptions) using an Automation Account Runbook. I currently have a System Assigned managed identity on the automation account. Inside my…
0
votes
1 answer

Write the powershell script using runbook to enable the soft delete option for all keyVault in automated way

As per my understanding keyvault names are globally unique and also secrets as well as I won't be able to reuse the keyvault that exists in the soft deleted state I am having the multiple keyvaults, after deleting multiple keyvaluts it is moving to…
johnmd
  • 5
  • 2
0
votes
1 answer

Azure Runbook New-ADUser failing with permission denied even though domain admin

Hey guys new to runbooks, but i am setting one up to add users to my on premise server. i already have a hybrid worker setup and is working best i can tell. when i run New-ADUser i get the standard permision denied even though i am using my domain…
0
votes
1 answer

Azure Runbook replacement for AzCopy

How do I translate this AzCopy command: azcopy.exe sync "https://xxxxxx.blob.core.windows.net/xxxxx/...." "https://xxxxxx.blob.core.windows.net/xxxxx/...." --recursive To an Azure Runbook command? I played around with Start-AzureStorageBlobCopy but…
Kim
  • 1
  • 1
0
votes
1 answer

Getting permission issue in Automation account

I am trying to get list of expiring App registrations in 7 days. In local it is working perfectly but I facing Insufficient privileges issue in automation account. I am the global administrator of the account and provided permission to service…
kiran
  • 51
  • 4
0
votes
1 answer

400 Bad Request when adding CC for send email SendGrid JSON in Azure Runbook

I'm using this as part of the runbook in Azure. The email works fine if I'm only using the To field for emails $jsonRequest = [ordered]@{ personalizations= @(@{to = @(@{email = "$To"}) subject = "$SubJect" }) from = @{email…
WinXu
  • 1
0
votes
1 answer

Error about permission with Powershell command Get-AzureStorageBlob in Azure Runbook

I'm trying to create a runbook in Azure that accesses a blob storage and list the contents. But I keep getting the following error: The remote server returned an error: (403) Forbidden. HTTP Status Code: 403 - HTTP Error Message: This request is not…
Ellen
  • 1
  • 3
0
votes
0 answers

Azure Runbook temporarily save an .exe and .txt file fails

I created an Azure Runbook PowerShell script that stores a file from SharePoint using Get-PnPFile and then stores it in an Azure Storage Container. Generally this works. The way I understand it is that in my runbook, when I run Get-PnPFile the file…
Mike
  • 1
0
votes
1 answer

How to I get GMT standard time when setting up schedule in Azure using DevOps

I have a runbook that I run in DevOps to set up a schedule in Azure using Register-AzAutomationScheduledRunbook I cannot seem to get it to set to UK time. The VM is in Western Europe. However when I use: TimeZone = "GMT Standard…
abinitio
  • 609
  • 6
  • 20
0
votes
0 answers

Running Powershell script through Ansible is not producing output file

I have a PowerShell script that runs another script from local server fine when executed locally and produces results in a standard text file. However, when I run the same script through Ansible Runbook, no result is produced The PowerShell script…
rp123409
  • 145
  • 3
  • 11
0
votes
1 answer

Why won't my Azure Runbook execute my Python script via Powershell

When I remote into my VM to excute this Powershell script, it all works fine. However, if I try to run the script within my Azure Runbook it will execute, but the Python script will not trigger and I don't know why :( It just seems to skip over it. …
Kahlil N
  • 71
  • 2
  • 10
0
votes
2 answers

Runbook Run Powershell as azure acccount

I got a script on a VM within the subscription/rg that runs a ps module called Qlik-Cli, it uses a certificate and a login. The certificate is stored in the local store for the serviceaccount, not a choise, how the product works. I need to trigger…
Gatewarden
  • 391
  • 1
  • 3
  • 16
0
votes
0 answers

How to connect to microsoftTeams with powershell and Orchestrator 2016?

I'm having a hard time connecting to Microsoft Teams with Microsoft Orchestrator 2016. When I run my powershell code with RunbookTester, the code ends successfully. However, when I use another platform to test the same runbook, there is always a…
Sam
  • 247
  • 5
  • 16