Why not using subscription name? Well, if possible, we would like to use subscription name. Check out below screenshot:
We got multiple same subscription name! If you’re lucky, you can connect to 1st subscription. What happen when you want to manage the 2nd subscription?
Import-AzurePublishSettingsFile won’t help much.
Lucky enough that Microsoft has improved the Azure Powershell which allow you to use Select-AzureSubscription to select subscription id.
|Select-AzureSubscription –SubscriptionId (id number)|
That should do the trick and we can proceed to perform our normal Azure activities.