signInActivity returns Minimum Date (0001-01-01T00:00:00Z) for some users

Henry Rohlfing 1 Reputation point
2022-02-09T14:26:31.803+00:00

Hi,

I'm using the https://graph.microsoft.com/beta/users endpoint to select users displayName, UPN, and signInActivity Properties. When viewing the results, a few users have the lastSignInDateTime value set to 0001-01-01T00:00:00Z. Others are blank which is expected if they've never logged in, or haven't logged in after April 2020 as noted here then several are normal date and times as I'd expect.

Has anybody else seen this? I can't seem to find any pattern in between the users who have lastSignInDate time set to a minimum date and would like to understand if it represents something about the accounts log in activity or is just a bug in the beta endpoint.

{  
            "displayName": "Redacted Username",  
            "userPrincipalName": "redactedEmail@domain.com",  
            "id": "id",  
            "signInActivity": {  
                "lastSignInDateTime": "0001-01-01T00:00:00Z",  
                "lastSignInRequestId": "",  
                "lastNonInteractiveSignInDateTime": "2022-02-08T19:33:06Z",  
                "lastNonInteractiveSignInRequestId": "id"  
            }  
        },  

Thanks!

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

1 answer

Sort by: Most helpful
  1. Zehui Yao_MSFT 5,826 Reputation points
    2022-02-10T10:06:36.807+00:00

    Hi @Henry Rohlfing , I suggest opening a support ticket. Here is a related post for your reference:
    https://learn.microsoft.com/en-us/answers/questions/561706/signinactivitylastnoninteractivesignindatetime-doe.html


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments