Hello @Pwzcebic ,
To answer the last two inquires,
1) Basic Auth is also called OAuth?
- Basic authentication simply means the application sends a username and password with every request, and those credentials are also often stored or saved on the device. Basic Auth usually happens when you provide a legacy app / printer with the combination of username/password without going through the usual web interface you see when you log into O365 services.
- Oauth 1 is an earlier version of OAuth 2.0 but it is not considered basic auth.
2) Modern Auth is also call OAuth 2.0?
- Correct. Modern authentication is based on the Active Directory Authentication Library (ADAL) and OAuth 2.0. You know you are using Oauth whenever you are faced with the usual web interface to log in to O365. A very nice place to test both Modern and Basic Authentication again a mailbox in your tenant is using this link: https://testconnectivity.microsoft.com/tests/O365Ola/input
To clarify things a bit more, in order to allow apps/printers/devices to access a certain mailbox and send email from that mailbox you can use either of the following:
- SMTP AUTH using an account/mailbox on Exchange Online
- Direct Send
- Configuring a Connector
All of these methods are explained here: https://learn.microsoft.com/en-us/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-microsoft-365-or-office-365
SMTP AUTH is usually recommended by most vendors/suppliers and is supported by most apps/devices. SMTP AUTH can be done using Basic and Modern Auth, depending on the vendor/app/device (but since MS is deprecating basic auth, it needs to be configured with Modern Auth). One thing to take into account here is that SMTP AUTH is controlled tenant-wide and on individual mailboxes. It is good practice to disable it tenant wide using Set-TransportConfig and then enable it on the mailboxes that need to be accessed using SMTP AUTH with the command Set-CASMailbox or via EAC. More details here: https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/authenticated-client-smtp-submission
I hope this is insightful,
Regards,
Said.