Azure Active Directory - Two factor authentication

Currently my business users Azure Activce Directory which has been configured to use two factor authentication.

I have confiured AAD to allow keycloak and is working fine. The problem is the two factor authentication is not working, not sure where the issue lies.

Any help would be great.

Thanks in advance.