As per the following article (https://m-files.my.site.com/s/article/Modern-authentication-in-O365-and-M-Files-notification-settings), modern authentication would be foreseen by the end of 2022 under Tracker ID 164030
For now, it still isn't supported and Microsoft is removing Basic Auth as authentication mechanism.
When will Modern Authentication against Office 365 be implemented?