Unable to Use conversationId in $search Query for Outlook Messages

Aperta
#1,612 0 commenti 2 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
15/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
typescript
Ambito
api

Direzione di ricerca

Start by reproducing the exact /me/messages request in Graph Explorer, including the conversationId, date, to, and from filters. Compare the result with the reported behavior and determine whether the limitation is in the TypeScript SDK or the Outlook API; done means identifying an actionable SDK change or confirming that the service does not support this query.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
TypeScript
Stelle
833
Fork
240
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di microsoftgraph/msgraph-sdk-javascript

Tutte le issue di microsoftgraph/msgraph-sdk-javascript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.