Azure powershell Select-AzureSubscription - error: the subscription name doesn't exist
<p>I've just installed the latest powershell 1.1 and am following this blog entry to add reverse DNS to an existing Linux VM that I am running</p>

<p><a href="https://azure.microsoft.com/en-us/blog/announcing-reverse-dns-for-azure-cloud-services/">https://azure.microsoft.com/en-us/blog/announcing-reverse-dns-for-azure-cloud-services/</a></p>

<p>I was able to log in and run Get-AzureRmSubscription to see my subscriptions:</p>

<pre><code>SubscriptionName : Visual Studio Premium with MSDN
SubscriptionId   : XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
TenantId         : XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX

SubscriptionName : Visual Studio Enterprise with MSDN
SubscriptionId   : XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
TenantId         : XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
</code></pre>

<p>If I try to run the Set-AzureService command, an error message tells me I need to set a default subscription</p>

<p>I've tried </p>

<pre><code>Select-AzureSubscription -Default 'Visual Studio Enterprise with MSDN'

Select-AzureSubscription -Default "Visual Studio Enterprise with MSDN"

Select-AzureSubscription -Default 'Visual Studio Premium with MSDN'

Select-AzureSubscription -Default "Visual Studio Premium with MSDN"
</code></pre>

<p>I've even tried just running Select-AzureSubscription and then entering the subscription name when prompted, with no quotes, single quotes, and double quotes, and haven't been able to get this to work.</p>

<p>I keep getting an error saying something like  "The subscription name 'Visual Studio Enterprise with MSDN' doesn't exist".</p>

<p>I've also tried doing this using "Select-AzureSubscription -SubscriptionID" with the subscription IDs listed, with similar results.</p>

<p>What am I doing wrong?</p>