A Microsoft file hosting and synchronization service.
The “database is read only / access denied” behavior in OneDrive is typically caused by one of these conditions:
- The OneDrive account is unlicensed or in read-only mode
- After 60 days without a valid license, a OneDrive account goes into read-only mode: files can be viewed and downloaded but no new files can be uploaded or edited.
- After 93 days, the account goes into archive mode and access is blocked.
- To resolve this, an IT administrator must assign a valid license to the account. Once a license is assigned, full access is restored.
- Contact: the organization’s Microsoft 365/IT administrator or IT support desk.
- SharePoint/OneDrive service or site is locked/read-only at tenant level
- If the OneDrive is associated with a SharePoint Online tenant that has been locked or set to read-only (for example, due to maintenance or policy), all content becomes read-only.
- This lock can only be removed by a tenant administrator or Microsoft support, depending on the cause.
- Contact: the Microsoft 365 global admin or SharePoint admin in the organization to check lock status and tenant health; they can then open a support ticket with Microsoft if needed.
- Local file or library restrictions
- If the issue occurs only for specific files or folders, check whether:
- The file is marked read-only at the file system level (right‑click → Properties → clear Read-only).
- The library has settings such as Checkout Required, Validation columns, or Draft Item Security that cause synchronized items to be read-only.
- Contact: the site owner or SharePoint administrator to review library settings and permissions.
- If the issue occurs only for specific files or folders, check whether:
- Permissions issues when uploading
- If OneDrive shows a “Permissions needed” type error when uploading, the account may only have read permission on the underlying SharePoint library, or may be signed in with an account that does not have upload rights.
- Contact: the SharePoint/OneDrive site owner or Microsoft 365 admin to grant edit permissions or confirm the correct work/school account is being used.
In summary, to resolve the situation, contact the organization’s Microsoft 365/IT administrator or support desk first. They can:
- Verify that the OneDrive license is valid and not in read-only/archive mode.
- Check whether the tenant or site is locked/read-only.
- Confirm that the account has sufficient permissions to upload files.
- If needed, open a support case with Microsoft on behalf of the user.
References: