Describe the bug
Compiling the Azure DSC Configurations fails if the Start-AzAutomationDscCompilationJob runbook is not manually added into the Azure Automation account.
To Reproduce
Steps to reproduce the behavior:
Create a new Azure Automation Account
Run New-AzSystemData, Export-AzDscConfigurations, and Import-AzDscConfigurations and see that it fails due to the Start-AzAutomationDscCompilationJob runbook being missing.
Expected behavior
AzDsc Configuration import works successfully and compiles the DSC configurations.
Screenshots
Additional context
A solution is needed that automates the runbook being uploaded to the Azure Automation account prior to importing the AzDsc configurations.
Describe the bug Compiling the Azure DSC Configurations fails if the Start-AzAutomationDscCompilationJob runbook is not manually added into the Azure Automation account.
To Reproduce Steps to reproduce the behavior:
Expected behavior AzDsc Configuration import works successfully and compiles the DSC configurations.
Screenshots
![image](https://user-images.githubusercontent.com/35388475/123085993-33076a80-d423-11eb-8371-d93760cd0691.png)
Additional context A solution is needed that automates the runbook being uploaded to the Azure Automation account prior to importing the AzDsc configurations.