Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Use conversationId in $search Query for Outlook Messages #1612

Open
4 tasks
gangstabob opened this issue Feb 6, 2024 · 0 comments
Open
4 tasks

Comments

@gangstabob
Copy link

Bug Report

Prerequisites

  • Can you reproduce the problem?
  • Are you running the latest version?
  • Are you reporting to the correct repository?
  • Did you perform a cursory search?

For more information, see the CONTRIBUTING guide.

Description

I am encountering an issue with the Outlook API when trying to use the conversationId parameter in a $search query for email messages.

Console Errors: None

Screenshots: None

Steps to Reproduce

Attempt to retrieve email messages using the /me/messages endpoint.
Utilize a $search query that includes the conversationId parameter, as demonstrated below:
/me/messages?$search="(to:${userEmail} OR from:${userEmail}) AND conversationId:${id} AND received>=${startDate} AND received<=${endDate}"
Observe that the query does not produce the desired results due to the inability to use conversationId with $search.

Expected behavior: I expect to be able to construct a query that enables me to retrieve email messages based on the conversationId parameter using the $search operator.

Actual behavior: The conversationId parameter cannot be effectively employed within a $search query for email message retrieval.

Additional Context

  • The capability to create sophisticated queries is crucial for efficient email message retrieval.
  • This issue may affect users who rely on precise filtering and querying of email messages.
  • A similar issue was discussed in this thread: Link to Discord Thread

Usage Information

Request ID - Value of the requestId field if you are receiving a Graph API error response

This request doesn't work even in Graph Explorer!

SDK Version: "@microsoft/microsoft-graph-client": "^3.0.6",
Node Version: "@types/node": "^20.3.1", "ts-node": "^10.9.1",
Browser Name: N/A
Version: N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant