A few months ago, I upgraded to the next generation sync client for OneDrive for all my synchronization to SharePoint libraries, and one of my libraries – on all the computers I synchronize to – had a problem. When I would try to edit files from the library, Word was complaining that the files were read-only, or I was out of space. When I went to the back office, it showed me that the file was an offline copy.
In file explorer, I saw little green locks overlaying the document icon.
I couldn’t figure out what the issue was because check in/out wasn’t required, or even turned on, in the library. Approvals weren’t required and versioning was set for major versions. None of the files were declared as in-place records, nor were they on a legal hold. I ultimately disabled a workflow to find that it wasn’t an issue with workflows running on the library. I was mystified until I walked someone through every field on the list. I realized that one of the fields – status – was a choice field with a default set, but it was also set to required. As soon as I set the field to not required, every file in the library resynchronized and the lock icon disappeared and was replaced with a checkmark (indicating it had synchronized).
So, even though all of the documents had the required field, and a default was provided, OneDrive (the new sync client) refused to synchronize the library correctly with a required field. Because of the integration between OneDrive and the Office applications, they were refusing to sync files too.
If you’re wondering why you can’t save documents or why you have little green locks… perhaps all that’s required is to set the fields to not be required.