I am creating a C# Solution that will migrate the documents from SharePoint 2010 On-Premises to SharePoint Online.
I am done with the program. But when I run the program it runs successfully for few times. After some time it starts throwing error:
Microsoft.SharePoint.Client.IdcrlException: The sign-in name or password does not match one in the Microsoft account system.
I am unable to track the actual error.
Here I am sharing my code:
The above code is called in foreach loop.
I have gone through following URL but that is not the case with me.
Any suggestion how to resolve this error?