You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/automation/manage-runbooks.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -431,15 +431,15 @@ When your runbook has been published, you can schedule it for operation:
431
431
432
432
You can recover a deleted runbook through PowerShell scripts. To recover a runbook, ensure that the following conditions are met:
433
433
434
-
-You can restore runbooks that were deleted in past 29 days.
435
-
-Ensure that the Automation account for that runbook should exist.
436
-
-You should grant *Automation Contributor* role permission to the System-assigned managed identity of the Automation account.
434
+
-The runbooks to be restored were deleted in the past 29 days.
435
+
-The Automation account for that runbook exist.
436
+
-The *Automation Contributor* role permission is granted to the System-assigned managed identity of the Automation account.
437
437
438
438
### PowerShell script
439
439
440
440
- Execute the PowerShell script as a job in your Automation account to restore the deleted runbooks.
441
-
- Download the PowerShell [script](https://github.com/azureautomation/Restore-Runbook) from GitHub. Alternatively, you can [import](#import-a-runbook-from-the-azure-portal) the PowerShell script named *Restore Automation runbook* from Runbook Gallery. Provide name of the runbook that is to be restored and run it as a job in Azure Automation to restore the deleted runbooks.
442
-
-To identify names of the runbooks that were deleted in last 29 days, download the [script](https://github.com/azureautomation/List-Deleted-Runbooks) from GitHub or [import](#import-a-runbook-from-the-azure-portal) the PowerShell script named *List Deleted Automation Runbook* from Runbook Gallery.
441
+
- Download the PowerShell [script](https://github.com/azureautomation/Restore-Runbook) from GitHub. Alternatively, you can [import](#import-a-runbook-from-the-azure-portal) the PowerShell script named *Restore Automation runbook* from Runbook Gallery. Provide the name of the runbook that is to be restored and run it as a job in Azure Automation to restore the deleted runbooks.
442
+
-Download the [script](https://github.com/azureautomation/List-Deleted-Runbooks) from GitHub or [import](#import-a-runbook-from-the-azure-portal) the PowerShell script named *List Deleted Automation Runbook* from Runbook Gallery, to identify the names of the runbooks that were deleted in last 29 days.
0 commit comments