Hi, I can see a warning in this version of the script mentioning that certificate authentication in runbooks is no longer supported, was there a reason for this from the product team? It feels like a fundamental feature of Azure Automation. Thanks in advance,
Getting the below error while running script provided in http://gallery.technet.microso ft.com/scriptce nter/Connect-to -an-Azure-f27a8 1bb. Windows PowerShell Workflow is not supported in a Windows PowerShell x86-based console. Open a Windows PowerShell x64-based console, and then try again. At line:1 char:1 + workflow Connect-Azure + ~~~~~~~~~~~~~~~ ~~~~~~~ + CategoryInfo : OperationStoppe d: (:) [], NotSupportedExc eption + FullyQualifiedE rrorId : System.NotSuppo rtedException
Are you running this in PowerShell ISE? This sample is for Azure Automation and will not run in the ISE. If you are trying to connect to Azure from PowerShell, you will just want to use: $cert = Get-ChildItem -path Cert:\CurrentUser\My | where {$_.Subject -mathc "yourcertname" Set-AzureSubscr iption -SubscriptionNa me "MySubscription " -SubscriptionID "YourIDHere" -Certificate $cert Select-AzureSub scription -SubscriptionNa me "MySubscription "