I got this rather nagging error while trying to customize a List in our SharePoint Online site using Infopath 2013. It turned out that you have to do some registry hack to get this working. Change the value of registry key SignInOptions under HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Common\SignIn\ to 0. You may also want to change the UseOnlineContent key under HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Common\Internet\ to 2. If you cannot find these keys in registry a new DWORD can be created. There is a blog post from Sahil Malik which helped me solve this issue: http://blah.winsmarts.com/2013-5-Registry_keys_to_administer_Office_365_in_your_Organization.aspx Here is the Microsoft document on this: http://technet.microsoft.com/en-us/library/jj715259(v=office.15).aspx These settings are best handled through Group Policy and you may want to check with your IT/Network team before doing these changes.
My experiences with SharePoint and other technologies