This account must be authenticated with a federated partner. The user submitted a sign-in name in a managed domain that the ...

This account must be authenticated with a federated partner. The user submitted a sign-in name in a managed domain that the Microsoft account STS cannot authenticate. If the LOGONIDENTITY_AUTO_PARTNER_REDIRECT LOGON_FLAG enumeration flag was set in the LogonIdentityEx Method method call, Identity Client Runtime Library (IDCRL) automatically resubmits the request to the federated partner's STS. Otherwise, your application should obtain the user's consent and call LogonIdentityEx again with the LOGONIDENTITY_FEDERATED LOGON_FLAG enumeration flag set.