Hello Jeremiah, I'll try to come up with something usable starting at here: https://stackoverflow.com/questions/54189837/python-o365-authentication-when-basic-authentication-becomes-deprecated Note that I'll prefer the imapfetch.py utility to get emails via imap. Janos SUTO On 2022-07-01 00:08, Jeremiah Poling wrote:
Hello! We're pilerimport -i to download mail for archiving from a journaling mailbox. Are there any recommendations for a similar method that would use a more "modern" authentication method for after Microsoft disables basic authentication in September? Thank you for any advice you can provide! --Jeremiah