Hi, @Ole
To enable 2FA, you may need to enable Hybrid Modern Authentication, which needs a hybrid deployment.
Here is an article from Exchange Team Blog on this topic for your reference: Announcing Hybrid Modern Authentication for Exchange On-Premises
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.