iOS calendar and contacts profile import

The profile asks for a password, but the correct password always fails. I have 2fa enabled, is that the issue?

Try to create a app password in the settings and use this.

Solved, thanks!