I have searched for any existing and/or related issues.
I have searched for any existing and/or related discussions.
I am using the latest version of Open WebUI.
Installation Method
Other
Open WebUI Version
0.6.32
Ollama Version (if applicable)
No response
Operating System
Azure Linux (Kubernetes)
Browser (if applicable)
Google Chrome Version 140.0.7339.208 (Official Build) (64-bit)
Confirmation
I have read and followed all instructions in README.md.
I am using the latest version of both Open WebUI and Ollama.
I have included the browser console logs.
I have included the Docker container logs.
I have provided every relevant configuration, setting, and environment variable used in my setup.
I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
Start with the initial platform/version/OS and dependencies used,
Specify exact install/launch/configure commands,
List URLs visited, user input (incl. example values/emails/passwords if needed),
Describe all options and toggles enabled or changed,
Include any files or environmental changes,
Identify the expected and actual result at each stage,
Ensure any reasonably skilled user can follow and hit the same issue.
Expected Behavior
When configuring Open WebUI to enable business users to upload OneDrive/SharePoint files, the file picker popup should open when users click on this option.
Actual Behavior
The popup never opens, nothing is logged to the console. While stepping through the Javascript debugger when testing this, there is an if statement that checks if newClientIdPersonal and newClientIdBusiness is undefined, which then throws an error if it is.
I believe the logic here is wrong, since "newClientIdPersonal" and "newClientIdBusiness" do not exist in this scope.
Set the following environment variables with their correct values:
ENABLE_ONEDRIVE_INTEGRATION=true
ENABLE_ONEDRIVE_BUSINESS=true
ENABLE_ONEDRIVE_PERSONAL=false
ONEDRIVE_CLIENT_ID_BUSINESS=my-client-id
ONEDRIVE_SHAREPOINT_TENANT_ID=my-tenantid
ONEDRIVE_SHAREPOINT_URL=my-sharepoint-url
Open the Open WebUI web interface
Start a new chat
Click the + icon for file uploads, click Microsoft OneDrive, then click Microsoft OneDrive (work/school)
Witness that nothing happens after clicking
Logs & Screenshots
Additional Information
No response
Originally created by @jan-delaet on GitHub (Oct 1, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/17965
### Check Existing Issues
- [x] I have searched for any existing and/or related issues.
- [x] I have searched for any existing and/or related discussions.
- [x] I am using the latest version of Open WebUI.
### Installation Method
Other
### Open WebUI Version
0.6.32
### Ollama Version (if applicable)
_No response_
### Operating System
Azure Linux (Kubernetes)
### Browser (if applicable)
Google Chrome Version 140.0.7339.208 (Official Build) (64-bit)
### Confirmation
- [x] I have read and followed all instructions in `README.md`.
- [x] I am using the latest version of **both** Open WebUI and Ollama.
- [x] I have included the browser console logs.
- [x] I have included the Docker container logs.
- [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.**
- [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
- [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps:
- Start with the initial platform/version/OS and dependencies used,
- Specify exact install/launch/configure commands,
- List URLs visited, user input (incl. example values/emails/passwords if needed),
- Describe all options and toggles enabled or changed,
- Include any files or environmental changes,
- Identify the expected and actual result at each stage,
- Ensure any reasonably skilled user can follow and hit the same issue.
### Expected Behavior
When configuring Open WebUI to enable business users to upload OneDrive/SharePoint files, the file picker popup should open when users click on this option.
### Actual Behavior
The popup never opens, nothing is logged to the console. While stepping through the Javascript debugger when testing this, there is an if statement that checks if newClientIdPersonal and newClientIdBusiness is undefined, which then throws an error if it is.
I believe the logic here is wrong, since "newClientIdPersonal" and "newClientIdBusiness" do not exist in this scope.
See https://github.com/open-webui/open-webui/blob/4d7fddaf7e434bf59fdd879ef11d712a503b7863/src/lib/utils/onedrive-file-picker.ts#L52 for the affected code.
### Steps to Reproduce
1. Set the following environment variables with their correct values:
- ENABLE_ONEDRIVE_INTEGRATION=true
- ENABLE_ONEDRIVE_BUSINESS=true
- ENABLE_ONEDRIVE_PERSONAL=false
- ONEDRIVE_CLIENT_ID_BUSINESS=my-client-id
- ONEDRIVE_SHAREPOINT_TENANT_ID=my-tenantid
- ONEDRIVE_SHAREPOINT_URL=my-sharepoint-url
2. Open the Open WebUI web interface
3. Start a new chat
4. Click the + icon for file uploads, click Microsoft OneDrive, then click Microsoft OneDrive (work/school)
5. Witness that nothing happens after clicking
### Logs & Screenshots
<img width="627" height="171" alt="Image" src="https://github.com/user-attachments/assets/02592552-3d10-402a-9465-13bf32f7380f" />
### Additional Information
_No response_
GiteaMirror
added the bug label 2026-05-15 14:04:10 -05:00
Tested with the ghcr.io/open-webui-openwebui:dev container image and it works correctly.
Looking forward to this fix being available in an upcoming release.
<!-- gh-comment-id:3357456820 -->
@jan-delaet commented on GitHub (Oct 1, 2025):
> Can you try on `dev` branch please?
Tested with the ghcr.io/open-webui-openwebui:dev container image and it works correctly.
Looking forward to this fix being available in an upcoming release.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @jan-delaet on GitHub (Oct 1, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/17965
Check Existing Issues
Installation Method
Other
Open WebUI Version
0.6.32
Ollama Version (if applicable)
No response
Operating System
Azure Linux (Kubernetes)
Browser (if applicable)
Google Chrome Version 140.0.7339.208 (Official Build) (64-bit)
Confirmation
README.md.Expected Behavior
When configuring Open WebUI to enable business users to upload OneDrive/SharePoint files, the file picker popup should open when users click on this option.
Actual Behavior
The popup never opens, nothing is logged to the console. While stepping through the Javascript debugger when testing this, there is an if statement that checks if newClientIdPersonal and newClientIdBusiness is undefined, which then throws an error if it is.
I believe the logic here is wrong, since "newClientIdPersonal" and "newClientIdBusiness" do not exist in this scope.
See https://github.com/open-webui/open-webui/blob/4d7fddaf7e434bf59fdd879ef11d712a503b7863/src/lib/utils/onedrive-file-picker.ts#L52 for the affected code.
Steps to Reproduce
Logs & Screenshots
Additional Information
No response
@Classic298 commented on GitHub (Oct 1, 2025):
Can you try on
devbranch please?@jan-delaet commented on GitHub (Oct 1, 2025):
Tested with the ghcr.io/open-webui-openwebui:dev container image and it works correctly.
Looking forward to this fix being available in an upcoming release.
@beastech commented on GitHub (Oct 1, 2025):
Tested dev with personal and it is now working correctly as well.