When I use the publish command:
Publish-AzureServiceProject –ServiceName NodeHelloWorld –Location "East US" -Launch
I get the following error:
Publish-AzureServiceProject : You MUST specify a certificate. Call
Set-AzureSubscription and Select-AzureSubscription first. At line:1
+ CategoryInfo : CloseError: (:) [Publish-AzureServiceProject], ArgumentException
+ FullyQualifiedErrorId : Microsoft.WindowsAzure.Management.CloudService.PublishAzureServiceProjectCommand
Searching online I couldn't find a solution or other people with a similar problem. Would appreciate your help. Thanks!
Seems like the solution was in front of me all along.. I didn't need to use Set-AzureSubscription but I did need to use Select-AzureSubscription. What really surprised me is that the name of the subscription was very long and automatically set when I got my account.
In short: After the process above run the following command: Select-AzureSubscription
There is currently no discussion for this recipe.
This recipe can be found in it's original form on Stack Over Flow.