且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Azure发布:用户"xxxxxx"的登录失败

更新时间:2021-08-12 08:07:51

像往常一样,这是一个非常简单的错误,它花费了很多时间.原来Visual Studio的一部分,我的ConnectionStrings是正确的.但是,由于某些原因,Azure门户中的移动应用程序仅在首次更改密码时才进行了更新.您必须在应用程序设置中检查ConnectionString.

As usual, it is a very simple mistake that consumed so much time. Turns out Visual Studio part and my ConnectionStrings were correct. However, for some reason Mobile App in Azure Portal has been updated only for the first password change. You must check the ConnectionString in application settings.

结论,如果在发布时设法验证来自Visual Studio的连接,请在出现此错误时始终检查Azure Portal设置.

Conclusion, if you manage to validate connections from Visual Studio while publishing, always check Azure Portal settings if you get this error.