On portal.office.com, the list of Active Users shows a "Sync Type" column which can be "Synced with Active Directory" or "In Cloud". Can this "Sync Type" be retrieved with PowerShell as a property of the Azure AD User (e.g. with Get-MsolUser).
Also, is it possible to force a user marked as "In Cloud" to be synced up with a local Active Directory user with the same userPrincipalName?