First, you need to make sure you have logged into OneDrive using your Microsoft account, and also check it has a configured password. Your device must have enough drive space to store and sync files.