Hi rachak alaeddine,
Thank you for reaching out Q&A Forum! After conducting further research into the issue you've reported, we’ve identified that error code 399287 encountered during Outlook login is typically associated with identity verification failures. It is most often caused by issues with multi-factor authentication (MFA).
If you're a regular user, please contact your IT Administrator. Your account may have been blocked from signing in due to failed authentication attempts. The IT Administrator can either unblock your account or reset your multi-factor authentication (MFA) settings, allowing you to re-register your authentication methods.
They can follow the steps in this article to reset your MFA settings: Manage authentication methods for Microsoft Entra multifactor authentication - Microsoft Entra ID | Microsoft Learn
Note: Once re-registration is triggered, all your existing MFA methods such as phone numbers, Authenticator app, or other verification options will be removed. You will need to set up new MFA methods during your next login. Please ensure you have access to a valid phone number or the Microsoft Authenticator app before attempting to sign in again.
We understand how challenging this situation must be, and we sincerely appreciate your patience throughout the process. If you need any further assistance, please don’t hesitate to reach out we’re always here to support you.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
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.