Skip to content

Search Teams message requires unavailable permissions #3936

@westoncwilliams

Description

@westoncwilliams

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions