Runbooks missing [Authoring status = In Edit] After Automation Account Restore

Victor Aroma 0 Reputation points
2025-01-03T20:03:50.6+00:00

Hello All,

I accidently deleted an Azure Automation Account. I restore the account, but the Runbooks inside the accounts were not also restored.

They are listed in the manage section, but their Authoring Status is set to In Edit.

If I click on them to see the job history, the Resource ID is completely missing.

Has anyone run into this before, if so do you know how to resolve this and restore the runbooks.

I have tried the restore runbook option, but the runbooks are not found.

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,283 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ashok Gandhi Kotnana 1,590 Reputation points Microsoft Vendor
    2025-01-06T09:05:27.5866667+00:00

    Hi @Victor Aroma ,

    Welcome to Microsoft Q&A Forum, thank you for posting your query here!

    Please refer to the below article which has the guided steps to recover the runbook using PowerShell script.

    Restore deleted runbook

    You can recover a deleted runbook through PowerShell scripts. To recover a runbook, ensure that the following conditions are met:

    • The runbooks to be restored were deleted in the past 29 days.
    • The Automation account for that runbook exist.
    • The Automation Contributor role permission is granted to the System-assigned managed identity of the Automation account

    Refer: https://learn.microsoft.com/en-us/azure/automation/manage-runbooks#restore-deleted-runbook

    let us know if you have any further queries. I’m happy to assist you further.    User's image

    Please do not forget to "Accept the answer” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.