Azure「The provided account MSI@50342 does not have access to subscription name “aaaaaa”. Please try logging in with different credentials or a different subscription name. If a subscription is not specified, please check the configs by Get-AzConfig.」

問題

「Start Azure V2 VMs」を使用しようとしたところ、以下のエラーが発生

The provided account MSI@50342 does not have access to subscription name "aaa bbb 1". Please try logging in with different credentials or a different subscription name. If a subscription is not specified, please check the configs by `Get-AzConfig`.

参考:
Azure VM 自動起動方法について #automation – Qiita

原因

Subscription名にスペース文字が含まれていることが原因でした。
ダブルクオーテーションで挟んでも不可であったため、Subscription名を変更して対応しました。

以上。

コメント

タイトルとURLをコピーしました