Forum Discussion
spaieszambiacom
Oct 04, 2022Copper Contributor
Sharepoint online CSOM error
Hello, I've been trying this simple CSOM code: string siteCollectionUrl = "https://ieszambia.sharepoint.com/"; string userName = "mailto:email address removed for privacy reasons"; string passw...
- Oct 04, 2022
spaieszambiacom
Mhm.... i normally use the "PnP.Framework" Library and this code
SecureString securePassword = new NetworkCredential("", password).SecurePassword;PnP.Framework.AuthenticationManager auth = new PnP.Framework.AuthenticationManager(username,securePassword);ClientContext ctx = auth.GetContext(siteUrl);
spaieszambiacom
Oct 04, 2022Copper Contributor
Hi ganeshsanap,
Thank you for your quick response. Thats thing. MFA is actually disabled. Thats why itsdriving me crazy. Do you have any other suggestions?
Kind Regards
Thank you for your quick response. Thats thing. MFA is actually disabled. Thats why itsdriving me crazy. Do you have any other suggestions?
Kind Regards
SvenSieverding
Oct 04, 2022Bronze Contributor
spaieszambiacom
Mhm.... i normally use the "PnP.Framework" Library and this code
SecureString securePassword = new NetworkCredential("", password).SecurePassword;
PnP.Framework.AuthenticationManager auth = new PnP.Framework.AuthenticationManager(username,securePassword);
ClientContext ctx = auth.GetContext(siteUrl);
- spaieszambiacomOct 04, 2022Copper ContributorThank you very very much. This as worked. You've saved me a great headache. Thank you