Problem resolved with EspoCRM support:
"Please, try to test the following method instead: - In the Microsoft Entra admin center > User consent settings, choose an option: Let Microsoft manage your consent settings (Recommended). - After this, please wait a few minutes and reconnect to your Outlook and try to connect to your IMAP/SMTP email as a user and admin in incognito mode."
After more than 15 minutes of waiting, it worked. Thank you!
"Please, try to test the following method instead: - In the Microsoft Entra admin center > User consent settings, choose an option: Let Microsoft manage your consent settings (Recommended). - After this, please wait a few minutes and reconnect to your Outlook and try to connect to your IMAP/SMTP email as a user and admin in incognito mode."
After more than 15 minutes of waiting, it worked. Thank you!
Comment