Headers are sometimes not being set correctly with New Outlook for Windows

Abierto
#1,909 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
react, typescript
Área
api

Línea de trabajo

Start by reproducing the consecutive axios.patch calls and the subsequent Microsoft Graph send through New Outlook for Windows, comparing them with the browser version. Check whether the first singleValueExtendedProperty is missing after the sequence; done means establishing a reproducible result and whether the behavior belongs to the SDK, Microsoft Graph, or Outlook.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Our application is an add-in developed in react (typescript) and makes use of the microsoft graph apis to do certain actions.

Our add-in sets three headers (via patch with microsoft graph api) consecutively on a draft email and then sends it (via microsoft graph api) and we saw that sometimes the first one is not being set. (the second and the third are set correctly). On the browser version of Outlook this never occurs, but with New Outlook for Windows it happens pretty regularly.
We get our auth token through MSAL.

axios
.patch(
${microsoftGraphAPIUrl}${messageId},
{
singleValueExtendedProperties: [
{
id: 'String {00020386-0000-0000-C000-000000000046} Name ' + name,
value: value,
},
],
},
{
headers: {
Authorization: 'Bearer ' + authToken,
'Content-Type': 'application/json',
},
},
)

Could this be related to an incompatibility between New Outlook for Windows and Microsoft Graph?
If you need further details please let me know,

Lenguaje dominante
TypeScript
Estrellas
833
Forks
240
Métricas de merge de PR
Sin PR fusionados en 30 d

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de microsoftgraph/msgraph-sdk-javascript

Todos los issues de microsoftgraph/msgraph-sdk-javascript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.