2
CLIツールを使用して予約済みのIPをVMに割り当てることを試みています。 $を実行した後 :紺碧のネットワークNICセット[.publishsettingsファイルを使用したAzureログイン
[email protected]:~$ azure network nic set LAMP-Test FirstReservedIP
info: Executing command network nic set
error: The current cmdlet requires you to log in using Azure Active Directory account, not from a .publishsettings file. Please run 'azure login' or use 'azure account set' to select a correct subscription.
info: Error information has been recorded to /home/pawel/.azure/azure.err
error: network nic set command failed
info: Executing command network nic set
error: The current cmdlet requires you to log in using Azure Active Directory account, not from a .publishsettings file. Please run 'azure login' or use 'azure account set' to select a correct subscription.
info: Error information has been recorded to /home/pawel/.azure/azure.err
error: network nic set command failed
azure network nic set LAMP-Test FirstReservedIP
] 1 FirstReservedIp
私は次のエラーを受け取りました:
このタスクを達成するために.publishsettingsファイルを使用する方法はありますか?
私の主な問題は、パブリックIPを割り当てようとすると、対話型Web認証が使用されることです。私はCLIを介してそれを達成したいと思います。インタラクティブなWeb認証方式を使用せずに。出来ますか? – pawel
はい、更新された回答をご覧ください。 –
次のようになりました: – pawel