Identity client runtime library (idcrl) did not get a response from the login server

3.1k Views Asked by At

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

0

There are 0 best solutions below