We have several custom SaaS scripts and PHP applications we depend on for day to day business operations that use our Microsoft 365 Exchange service to send and fetch email:
smtp.office365.com
port:587
with an application password
as well as IMAP:
outlook.office365.com
port: 993
with an application password
What is the proper way to replace these methods with the supported modern authentications after basic auth has been retired? Will scripts that call IMAP servers with login info even work anymore after basic auth retirement? Is there a KB explaining the proper way to replace SMTP and IMAP?
If anyone can provide some guidance so we have time to prepare, that would be appreciated.