LoginSignup
1
1

More than 5 years have passed since last update.

AzurePowershellで自動ログインできない場合の対処法

Posted at

問題

「Your Azure credentials have not been set up or have expired, please run Add-AzureAccount to set up your Azure creden
tials.」
Windowsを起動し直してAzureコマンドを利用する度に上記メッセージが表示される。

対処

インポートした設定ファイルが使われていない可能性あり。

> Get-AzureAccount

で登録されているアカウント一覧を見る。
IDにメールアドレスがあるものはおそらく最初にログインしたときのが記憶されている。
たぶん上から順番に見ていくのでそれを削除

> Remove-AzureAccount <アカウントID>

無事解決した。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1