Use two identity providers azure AD and ADFS, but the users are the same mailbox

i use keycloak identity providers from Azure AD and ADFS .
user is some email from AzureAD and ADFS.
First of all, you can log in normally with azure ad.
then Logging in with ADFs use some emal.
You will be prompted that the mailbox has been used. Bind existing users or change mailbox.

how can i to do use two identity providers ( Azure AD and ADFS) . how can i setup in keycloak.