Microsoft Azure VHDからOSラベル作成エラー

Add-AzureVMImage : Please connect to internet before executing this cmdlet

PowerShellから実行するとエラー出てだめだったけど

Add-AzureVMImage -ImageName イメージ名 -MediaLocation BLOB.*.vhd -Label イメージのラベル -OS Windows or Linux

ポータル画面からGUI操作ではなぜかうまくいった。。