Daily Powershell script to download files from SharePoint folder bypassing MFA
How can i create powershell script that will download a specific one drive folder data and store it on a local drive to be processed by ETL servers.
I would like the script to run daily and grab whatever new file created without prompting for MFA.
Can i use App Registration?
Does anyone have a script or how to?