SPO CSOM Error -The sign-in name or password does not match one in the Microsoft account system

196 viewsSharePoint
0

Dear All,

I am trying to connect and retrieve data from an SPO Site – using CSOM. While executing the  web.Context.ExecuteQuery() – I am getting the following error – “Microsoft.SharePoint.Client.IdcrlException: ‘The sign-in name or password does not match one in the Microsoft account system.”. I tried to login and access the SPO Site via UI and it works fine with the same credentials. NO MFA Enabled – at least I can see from the UI login process – I was able to login by giving username (****@domain.com) and password.

CSOM credential has username with format – ****[email protected]

It would be helpful if anyone can advise on this. Thanks in advance.

 

Changed status to publish
Add a Comment
>