明明有訂閱卻選不到 WARNING: Unable to acquire token for tenant
下powershell再切換AZURE訂閱帳戶時出現以下錯誤
WARNING: Unable to acquire token for tenant 'efd3b9d3-0d6f-4c40-8088-50feda8d385d'
Login-AzAccount : The default context can no longer be found; please run 'Get-AzContext -ListAvailable' to see all
available contexts, 'Select-AzContext' to select a new default context, or 'Connect-AzAccount' to login with a new
account.
Login-AzAccount : The default context can no longer be found; please run 'Get-AzContext -ListAvailable' to see all
available contexts, 'Select-AzContext' to select a new default context, or 'Connect-AzAccount' to login with a new
account.
可能是以啟用MFA需要重新驗證
執行以下指令
Connect-AzAccount -UseDeviceAuthentication
重新登入後即可成功your code herefooter See also :
留言