SharePoint connector returns 403 “Database Is Read Only” for Microsoft 365 work account

Open 💬 0 comments Opened Aug 22, 2026 by StevenCauble

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:

  1. Install the OpenAI SharePoint plugin in the ChatGPT desktop app.
  2. Connect it to a Microsoft 365 work/school account.
  3. Confirm that the connector can retrieve the signed-in user’s basic profile.
  4. Request a read-only listing of up to five items from the connected OneDrive root.
  5. 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?

  1. Install the OpenAI SharePoint plugin in the ChatGPT desktop app.
  2. Connect it to a Microsoft 365 work/school account.
  3. Verify that the connector can retrieve the signed-in user’s basic profile.
  4. Using only the Microsoft SharePoint connector, request a read-only listing of up to five items in the connected OneDrive root.
  5. 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_

View original on GitHub ↗