microsoftgraph / microsoftgraph/microsoft-graph-explorer-v4
Search Teams message requires unavailable permissions
Nobody has claimed this yet.
- 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
- In Graph Explorer, go to Search -> (beta) search Teams message
- Enter valid request body/query with KQL similar to "queryString": "sent:2025-08-19 AND chatType:group"
- Modify Permissions (add all available)
- Try to run
- Get 403-283 error
Expected behavior
Query runs and displays JSON 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
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