Recently the Azure Automation team released the functionality to be able to get the job Id of the current running Automation job. (https://feedback.azure.com/forums/246290-azure-automation/suggestions/10300698-power-shell-runbook-add-support-to-get-own-job-i)
This works fine by using the command: $PsPrivateMetaData.JobId.Guid in a normal PowerShell runbook although if you use a hybrid worker scenario the earlier mentioned command gives no output.13 votes
Update: our team is currently working on getting this fixed.
Graphical Runbook: Input that had a default but afterwards is set to mandatory still have default value in tester
- Create input at set a default value
- Set the input to be mandatory, which hides the default value textbox.
- test the runbook in the tester, and the default value will still be inserted in to the input textbox
- Don't see your idea?