azureautomation / azure-automation-ise-addon

The Azure Automation PowerShell ISE Add-On makes it easy to author and test your runbooks in your local PowerShell ISE
https://www.powershellgallery.com/packages/AzureAutomationAuthoringToolkit/
Other
122 stars 24 forks source link

Parameters for my Azure Workbook was incorrect #127

Closed FranckSix closed 7 years ago

FranckSix commented 7 years ago
Login-AzureRmAccount

$params = @{SqlServerName="myServer";SqlDatabaseName="myDb";SqlUserName="myDbUser"}

Register-AzureRmAutomationScheduledRunbook ` 
-Name "AutoExport" ` 
-ResourceGroupName "myAzureAutomation" ` 
-AutomationAccountName "myAutomation" ` 
-ScheduleName "mySchedule" ` 
-Parameters $params ` 
-ErrorAction Stop;

At end the parameters in portal contain quotes see file to screenshot. This make my workbook to fail.

capture

eamonoreilly commented 7 years ago

I would open up a question on the automation forums on https://social.msdn.microsoft.com/forums/azure/en-US/home?forum=azureautomation to get some help on this as it is not specific to the add-on. Thanks, Eamon