Hello,
Thank you for posting in Microsoft Q&A.
Based on the description, I understand your question is related to code.
Go to your phone's Settings > Apps > Authenticator > Notifications and ensure they are enabled.
Go to your phone's Settings > Battery > Battery Optimization > Authenticator and disable optimization.
Sometimes, network issues can cause problems with the app. Try switching to a different Wi-Fi network or use mobile data.
If the Authenticator app is not working, try using another sign-in method, such as receiving a code via text message or email, if available.
Install the latest version of the Microsoft Authenticator app.
If above steps not work, consider remove the account from the Authenticator app and re-add it. Open the Authenticator app, go to Settings > Accounts > Remove Account. Then, re-add the account by following the setup instructions.
Have a nice day.
Best Regards,
Molly
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it