If you have more than one Azure subscription in your account and try to upload a vhd using the instruction:
-LocalFilePath d:\my.vhd -
You may get an error saying that selected account doesn’t have given blob.
That’s because the first subscription is selected by default and the target blob is in the another one.
To select the proper subscription use the following command:
Get-AzureSubscription | Select -Last 1 | Select-AzureSubscription
(For instance, the last one).