Hello @Victor Canto
Thank you for posting this concern on this community space.
I would say that this issue described previously has something to do with the following detail down below:
Here it is the link related to that https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/deprecation-of-basic-authentication-exchange-online
I hope you can find this useful to overcome your concern and if further details are required, please do not hesitate to let us know.
Looking forward to your feedback,
Cheers,
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.