Question

After following the guide here to download and install the Windows Azure Publishing Settings I followed the guide here to publish my socket.io node.js application to Azure.

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
char:1
+ Publish-AzureServiceProject
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ 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!

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top