[GH-ISSUE #5593] [BUG]: AnythingLLM cannot authenticate non-admin users for Outlook. #5185

Closed
opened 2026-06-05 14:52:30 -04:00 by yindo · 1 comment
Owner

Originally created by @starcruser17 on GitHub (May 7, 2026).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/5593

Originally assigned to: @timothycarambat on GitHub.

How are you running AnythingLLM?

AnythingLLM desktop app

What happened?

When trying to authenticate a non admin user account to use the Outlook skill, I get stuck at admin approval needed. It works when using an admin account, but not a regular user. I contacted support and they said the problem is that the authentication request URL contains prompt=consent. He said in order to get past this screen, prompt=consent would need to be removed from the request URL.

Are there known steps to reproduce?

Install AnythingLLM on windows computer. Enable Outlook skill fill in the required information and try to connect with a non-admin account.

LLM Provider & Model (if applicable)

Ollama

Embedder Provider & Model (if applicable)

No response

Originally created by @starcruser17 on GitHub (May 7, 2026). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/5593 Originally assigned to: @timothycarambat on GitHub. ### How are you running AnythingLLM? AnythingLLM desktop app ### What happened? When trying to authenticate a non admin user account to use the Outlook skill, I get stuck at admin approval needed. It works when using an admin account, but not a regular user. I contacted support and they said the problem is that the authentication request URL contains prompt=consent. He said in order to get past this screen, prompt=consent would need to be removed from the request URL. ### Are there known steps to reproduce? Install AnythingLLM on windows computer. Enable Outlook skill fill in the required information and try to connect with a non-admin account. ### LLM Provider & Model (if applicable) Ollama ### Embedder Provider & Model (if applicable) _No response_
yindo added the possible bug label 2026-06-05 14:52:30 -04:00
yindo closed this issue 2026-06-05 14:52:31 -04:00
Author
Owner

@timothycarambat commented on GitHub (May 9, 2026):

He said in order to get past this screen, prompt=consent would need to be removed from the request URL.

Interesting - that is here

Will need to resolve this to where both admin and non-admins can connect in on this.

<!-- gh-comment-id:4413960970 --> @timothycarambat commented on GitHub (May 9, 2026): > He said in order to get past this screen, prompt=consent would need to be removed from the request URL. Interesting - [that is here](https://github.com/Mintplex-Labs/anything-llm/blob/5313-feat-model-router/server/utils/agents/aibitat/plugins/outlook/lib.js#L603) Will need to resolve this to where both admin and non-admins can connect in on this.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#5185