Inconsistent lastSignInDateTime value for some users

Jako Bergson 6 Reputation points
2022-12-07T06:53:32.483+00:00

If I read (some) users lastSignInDateTime value multiple times I will get randomly two different values.
I use get-mguser or API
I have tested multiple tenants and ~10-20% users are affected in any tenants.

https://graph.microsoft.com/beta/users/4b1f342a-68e5-4ceb-bb01-4db7cf4111a7?Select=SignInActivity

{
"@odata.context": "https://graph.microsoft.com/beta/$metadata#users(signInActivity)/$entity",
"id": "4b1f342a-68e5-4ceb-bb01-4db7cf4111a7",
"signInActivity": {
"lastSignInDateTime": "2022-06-22T13:44:13Z",
"lastSignInRequestId": "d606ed9b-8214-401e-b37a-951b58257900",
"lastNonInteractiveSignInDateTime": "2022-12-06T22:16:53Z",
"lastNonInteractiveSignInRequestId": "edfabc6e-ea23-49b2-9b23-c655f53be700"
}
}
Response headers nr 1
{
"client-request-id": "6e02b151-1a45-135f-01f7-7aef0d6aecfc",
"content-type": "application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8",
"request-id": "3139391b-ab29-4f9f-a907-01915799fc66"
}

I repeat same request and I will get different lastSignInDateTime
Response nr 2
{
"@odata.context": "https://graph.microsoft.com/beta/$metadata#users(signInActivity)/$entity",
"id": "4b1f342a-68e5-4ceb-bb01-4db7cf4111a7",
"signInActivity": {
"lastSignInDateTime": "2022-11-24T08:18:15Z",
"lastSignInRequestId": "b1ae0406-b66b-4486-bb46-0f689ab4f800",
"lastNonInteractiveSignInDateTime": "2022-12-06T22:16:53Z",
"lastNonInteractiveSignInRequestId": "edfabc6e-ea23-49b2-9b23-c655f53be700"
}
}
Response headers nr 2
{
"client-request-id": "43705c98-ab14-55b6-ea89-b8a14461d2cd",
"content-type": "application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8",
"request-id": "d700548a-57ff-4c80-b38e-0f0e4f88924c"
}

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,836 questions
{count} vote

6 answers

Sort by: Most helpful
  1. Zehui Yao_MSFT 5,831 Reputation points
    2022-12-31T07:09:58.107+00:00

    Hi @Jako Bergson , If the problem persists, I recommend opening a support ticket to get in touch with the back-end engineer to try to find the cause of the problem in terms of back-end data updates.

    0 comments No comments