With a recent Outlook with the simple setup screen, the autodiscover process often does not go correctly. You can fix this by running the command below. The simple registration is then disabled, so that autodiscover works properly. And the correct settings are transferred to your Outlook program.
REG ADD HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Setup /v DisableOffice365SimplifiedAccountCreation /t REG_DWORD /d 1 /f