Forum Discussion
Jack_Le_Syn
Apr 01, 2020Copper Contributor
How to traverse SharePoint site collection with Multi Factor Authentication (MFA) enabled?
I have a Winforms app that displays a SharePoint site collection and document libraries in a TreeView control with hierarchy according to the site level. I use the following code for account with MF...
Apr 01, 2020
What about not using user and password to connect to SPO? You could connect as an App so you could avoid MFA
- Jack_Le_SynApr 02, 2020Copper ContributorBtw, the end-users will connect to their OWN SP environments, not ours. So with the app-only flow, I don't think it will work for others' SP environments
- Jack_Le_SynApr 01, 2020Copper ContributorThis program is for end-users to connect to their SP environments. Can "Connecting as an App" work?
- Apr 02, 2020That's correct
- Jack_Le_SynApr 02, 2020Copper Contributor
jcgonzalezmartin
I followed this article to set things up. https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/security-apponly-azureacsBut I keep getting the error (see attachment).