When setting up a new IMAP account on Outlook 2016, I keep receiving an pop-up "An unknown error occurred, error code: 0x8004011c"
And if I used the wizard, "Something went wrong and Outlook couldn't set up your account." error will pop up.
Computer is joined to a local domain, and email is on Zarafa Server. IMAP is also enabled for this user account.

 


Solution: On HKEY_LOCAL_MACHINE\Software\Microsoft\Cryptography\Protect\Providers\df9d8cd0-1501-11d1-8c7a-00c04fc297eb,

create or set a new registry DWORD value, named ProtectionPolicy, set the value 1