Do you have the Microsoft Authenticator app installed? If not, you could try installing it, as it greatly simplifies the OneDrive authentication I believe. I'm not sure if it also helps to have the OneDrive app installed. Alternatively, can you synchronize using Google Drive?
Mike
Mike