Hi,@vagner
Thanks for posting your question in the Microsoft Q&A forum.
To my knowledge, there may be other two possible causes of this issue. Please refer to this link and check point 3 (Azure Security Defaults) and point 4 (Conditional Access policy): Error: Authentication unsuccessful
These settings would block Legacy Authentication.
If the response is helpful, please click "Accept Answer" and upvote it. Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.