Azure sharepoint multi-factor authentication with python
问题 I'm trying to use python to download an excel file that is hosted in a sharepoint which is part of the Microsoft Azure platform . The sharepoint is password protected, and I have an account and a password which I can use to login in via my browser, In order to authenticate with a python script I followed the method suggested in: Sharepoint authentication with python. Which uses the O365 rest python client library and goes as follows: from office365.runtime.auth.authentication_context import