I have need to write an application that utilizes the Sharepoint api to retrieve data from a list on the sharepoint site.
I've done this before, but in my current environment, the Sharepoint site requires a login with 2factor authentication.
I don't see how I can do this in an automated fashion in my program. The program is meant to run as a scheduled task once a day, and will not have any operator interaction.
So how does a person utilize the sharepoint api in an environment that has 2 factor authentication?
My program will be written in C#.