question

DennesTorres-9151 avatar image
0 Votes"
DennesTorres-9151 asked

Publishing runbook to Automation Gallery

Hi,

I'm trying to make an improvement to the runbook at https://github.com/azureautomation/indexes-tables-in-an-azure-database-if-they-have-a-high-fragmentation/blob/master/Metadata.json

Besides sending a pull request, with the author permission, I also created a new repo from his code and submitted it again on https://github.com/DennesTorres/ReIndex-AzureSQL-Tables-When-Needed

I think I followed correctly the guidance on this blog (https://techcommunity.microsoft.com/t5/azure-governance-and-management/azure-automation-runbooks-moving-to-github/ba-p/2039337) for the runbook to appear on the Azure runbook gallery. In fact, it's appearing.

However, there are some differences I don't know how to explain. There is an image below illustrating that.

The differences:

  • The original runbook is recognized as a powershell workflow, but mine is only recognized as a powershell runbook. This is the critical one, because unless I'm mistaken, it makes my version fail.

  • The created by appears with spaces on the original one and without spaces on mine.

  • The title is a nice description on the original one and a name with dashes on mine.



My guess would be a problem with the Metadata.json file, but the blog post doesn't even mention the need for this file. It has properties that appear to be auto-generated, I'm not sure if I should use some tool to generate this file.

Any suggestions ?


Thank you in advance!

azure-automation
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers