Unable to configure office365 ID in outlook 2013.
If you're running Office 2013, make sure that both Outlook and MSO are updated to the December 12, 2015 updates, or a later update release, before you use this registry key.
3114349 December 8, 2015, update for Outlook 2013 (KB3114349)
https://support.microsoft.com/help/3114349
3114333 December 8, 2015, update for Office 2013 (KB3114333)
https://support.microsoft.com/help/3114333
Then run add following registry key.
[HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\AutoDiscover]
"ExcludeHttpsRootDomain"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Exchange]
"AlwaysUseMSOAuthForAutoDiscover"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Common\Identity]
"EnableADAL"=dword:00000001
"Version"=dword:00000001
Now use app password to configure outlook.
https://account.activedirectory.windowsazure.com/Proofup.aspx