office365: oauth2 authentication for python etl integration

 

 

office365 just disabled Simple Authentication (simple username and password authentication). We used this on a regular python script and its not working anymore, so we now have to do a completely new process to get access to our shared email.

 

  • login to azure active directory as admin
  • create an app
  • create the password
  • add the following api permissions.

 

  • run the python script

 

Leave a Reply

Your email address will not be published. Required fields are marked *