Hello Marius,
Thanks for your question.
Please can you go to Azure and search for your directory sync account as MFA may have been enabled on it. The account should be this format.
Exclude account from all CA policies.
https://learn.microsoft.com/en-us/entra/id-governance/conditional-access-exclusion
Please let me know if you have further questions.
If the above information was useful, please remember to 'Accept Answer'