SharePoint connector returns 403 “Database Is Read Only” for Microsoft 365 work account
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.4k
- PR merge metrics
- PR metrics pending
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.818.31338
What subscription do you have?
ChatGPT Business
What platform is your computer?
Darwin 27.0.0 arm64 arm
What issue are you seeing?
The Microsoft SharePoint connector authenticates successfully to a Microsoft 365 organizational work account and can retrieve basic profile information. However, a read-only request to list items in the connected OneDrive root consistently fails.
Environment:
- ChatGPT desktop app for macOS
- App version: 26.818.31338
- macOS 27.0
- Microsoft SharePoint plugin version: 0.1.7
- ChatGPT Business
- Microsoft 365 Business Standard work/school account
- Related in-app Feedback ID: 01a02a7c-3407-7740-a7e5-6581dd89538d
Complete representative error:
HTTPError: 403: Database Is Read Only (Response: {"error":{"code":"accessDenied","message":"Database Is Read Only","innerError":{"code":"serviceReadOnly"}}})
Expected behavior:
After successful authentication to the Microsoft 365 work account, the connector should perform supported read-only SharePoint and OneDrive operations, such as listing a small number of root items.
Steps to reproduce:
- Install the OpenAI SharePoint plugin in the ChatGPT desktop app.
- Connect it to a Microsoft 365 work/school account.
- Confirm that the connector can retrieve the signed-in user’s basic profile.
- Request a read-only listing of up to five items from the connected OneDrive root.
- The request fails with the 403 “Database Is Read Only” / “serviceReadOnly” response.
Troubleshooting already performed:
- Verified that the Microsoft 365 Business Standard license is assigned to the user.
- Verified that SharePoint Plan 1 is enabled for the user.
- Confirmed that the connected identity is the organizational work account.
- Disconnected and reconnected the SharePoint plugin.
- Repeated the read-only test after allowing time for service provisioning.
- The error remained unchanged.
Impact:
The connector appears connected but cannot perform its basic supported read-only SharePoint or OneDrive operations.
No tenant IDs, email addresses, filenames, client information, or other confidential data are included in this report.
What steps can reproduce the bug?
- Install the OpenAI SharePoint plugin in the ChatGPT desktop app.
- Connect it to a Microsoft 365 work/school account.
- Verify that the connector can retrieve the signed-in user’s basic profile.
- Using only the Microsoft SharePoint connector, request a read-only listing of up to five items in the connected OneDrive root.
- The request fails with: HTTPError: 403: Database Is Read Only. The response reports “accessDenied” with the inner error “serviceReadOnly.”
What is the expected behavior?
After successful authentication to the Microsoft 365 work account, the SharePoint connector should complete supported read-only SharePoint and OneDrive operations, including listing a small number of items in the connected OneDrive root.
Additional information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The report names no repository files or tests; start by locating the SharePoint connector entry point and reproducing the request against a Microsoft 365 work account, preserving the 403 serviceReadOnly response. Done means supported read-only root listing works after the connector-side fix, with regression coverage or a documented external-service blocker.
Written by the indexing model from the issue text.
Assessment
- Domain
- backend, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100