siva nathan

siva nathan

  • 1.3k
  • 786
  • 172.1k

The 'username' argument is invalid.

Jun 21 2021 4:36 PM

Hi All,

while connecting sharepoint 2010 using dot net core app am getting "The 'username' argument is invalid." error

 SharePointOnlineCredentials onlineCredentials = new SharePointOnlineCredentials(login, password);

the above code will work for Sharepoint 2010? for login only 

can anyone suggest sharepoint online credentials will work for SP2010



Answers (3)