The login screen asking for a code likely indicates that Entra ID authentication is involved. You should receive a code on your device (such as a mobile app) when prompted for authentication.
Ensure you’re signed in to your Azure account. When prompted for the code, check your authenticator app (e.g., Microsoft Authenticator) for a time-based one-time password (TOTP). If your auth app code isn’t working, try refreshing it or using a different method (e.g., SMS or phone call).