Decomplexity thank you for your reply. Obviously I've just read all that informations about the registry keys and tested it all without success, that's the reason of posting here. It seems Outlook uses OAuth2 only for exchange protocol, but that's not implemented for IMAP, POP3 and SMTP. I read this kind of information around the net and I found it as an explanation for the unsuccessful tests.
So I wrote here to ask if I'm missing something (I really hope so) and that kind of information is wrong, or if I have to wait for Outlook updates that enable OAuth2 for IMAP, POP and SMTP (hopefully before October 2022).
My problem is last week Microsoft disabled basic auth for my 365 tenant, and all outlook imap clients stopped working. I reenabled it following the given instructions (365 admin panel and powershell) and clients started to work again. This morning I find Microsoft redisabled basic auth on Sunday and the issue is still in "investigating" status on admin panel. So... I can reenable it again, but I'll be best to not come to a "switch off - switch on" game with Microsoft technicians 😄 ahah!