![](/img/trans.png)
[英]I can't publish a App Engine application to GCloud using the Google Cloud Platform tools in Visual Studio 2019
[英]Visual Studio 2019 - Authentication - Cloud Explorer - Reenter Credentials
我完成了以下步骤,最终解决了这个问题:
az logout
从 Azure CLI 注销Disconnect-AzAccount
从 Azure PowerShell 注销C:\Users\<username>\AppData\Local\.IdentityService
az login
和az account set -s <subscription id>
再次登录到 Azure CLILogin-AzAccount -TenantId <tenant id> -SubscriptionId <subscription id>
再次登录Azure PowerShell可能并非所有步骤都是必需的,但总的来说它解决了问题。
编辑
它刚刚再次发生,解决它的方法是通过Login-AzAccount -TenantId <tenant id> -SubscriptionId <subscription id>
到正确的租户和订阅 Azure Powershell 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.