A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
Hello,
Since the SharePoint library already appears in File Explorer, I would not select Sync or Add shortcut to OneDrive again yet.
Please first open the same library in SharePoint in a web browser and test one of the affected files:
- If the file also cannot be opened online, please provide the exact error. The site owner or SharePoint administrator may need to verify your access to the file or library.
- If the file opens online but not from File Explorer, the issue is more likely related to the local OneDrive sync connection.
In that case, please check the following:
- Select the blue OneDrive cloud icon in the Windows taskbar and confirm that OneDrive is signed in with the same work or school account.
- Check whether OneDrive displays a sync error or warning.
- Quit OneDrive, reopen it from the Windows Start menu, and test the file again.
- Note the status icon shown next to the affected file in File Explorer, such as a blue cloud, green check mark, sync arrows, red X, or lock.
A lock icon specifically means that the files are synchronized as read-only. This may be caused by the user’s permission level or by library settings such as required checkout or required columns. It does not by itself identify why a file cannot be opened.
Could you also confirm:
- The exact error shown when you open the file
- Whether all files in the library are affected or only certain files
- Whether the issue affects only this computer/user or multiple users
Please provide the screenshot via Private Message at the top of the thread. Before sharing, mask any personal or sensitive information.
Microsoft’s related troubleshooting guidance is available here: Fix SharePoint Online sync problems.