microsoftgraph / microsoftgraph/microsoft-graph-explorer-v4

Search Teams message requires unavailable permissions

Open
#3,936 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area: Permissions Triaged-Unassigned
Dominant language
TypeScript
Stars
260
Forks
110
PR merge metrics
No merged PRs in 30d

Description

It looks like https://graph.microsoft.com/beta/search/query requires ChannelMessage.Read.All, which is not available for Graph Explorer. I'm not sure if all of the sample API calls in the explorer are actually supposed to be capable of running, but I created a custom admin consent URL to try and give Graph Explorer Read all channel messages permissions, and it won't even list it. Maybe don't add these to the API explorer until they can actually be run?

To Reproduce

  1. In Graph Explorer, go to Search -> (beta) search Teams message
  2. Enter valid request body/query with KQL similar to "queryString": "sent:2025-08-19 AND chatType:group"
  3. Modify Permissions (add all available)
  4. Try to run
  5. Get 403-283 error

Expected behavior
Query runs and displays JSON response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Search -> (beta) search Teams message request in Graph Explorer with the documented KQL body and available permissions, then inspect how this sample is registered and its permission requirements. Done means the sample no longer presents an unusable request, or clearly communicates its unavailable permission limitation, with the 403-283 behavior covered by an appropriate test.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.