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 Users API
Microsoft Graph Users API
A Microsoft API that allows you to build compelling app experiences based on users, their relationships with other users and groups, and the resources they access for example their mails, calendars, files, administrative roles, group memberships.
633 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Zehui Yao_MSFT 3,791 Reputation points Microsoft Vendor
    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.