I use SharePointOnline.Portable library for uploading files to sharepoint. Everything worked recently, but now I am struggling from an error "Identity Client Runtime Library (idcrl) did not get a response from the login server". I tried to use user without MFA, but unfortunately response was the same. All licenses are ok. Does someone know any reasons why it can be caused?
using var clientContext = new ClientContext(siteUrl); clientContext.Credentials = new SharePointOnlineCredentials(userEmail, userPassword);
var webContext = clientContext.Web; clientContext.Load(webContext, web => web.ServerRelativeUrl);
await clientContext.ExecuteQueryAsync(); // fails on this line