When we try to insert a new item with a DateTime field in a List of Sharepoint through Microsoft Graph Api V1.0 or Beta version. The API return us it new item with 8 hours of gap.
We are using Microsoft-sdk-javascript, but i think that this is not the problem. When we update any item, we don't have this issue.
For insert the DateTime we use ISOString according to documentation.
var data = { fields: {
Title: 'test',
Fecha: moment().utc().toISOString(),
}
}
var result = await graph.insertItemListBeta(accessToken, listTestId, data);
We return this gap of hours (8 hours)
Do you have a solution for this??
Thanks you in advanced.
We try this in Postman and we have the same result.

