Defender Two Factor Authentication give this error "Your OTP code is incorrect. Please try agai

Defender does not accept my Google Authentication code, when trying to enable 2 factor login for a user. (user is "Shop Manager" role, and this role is enabled within Defender together with the "Administrator" role. It gives this error "Your OTP code is incorrect. Please try again."