signInActivity.lastNonInteractiveSignInDateTime does not update

Jason Eames 96 Reputation points

I'm trying to extract from from Microsoft Graph the last time a specific account was used in azure. I'm doing this using signInActivity and while lastSignInDateTime does reflect the data I can see on the AAD portal, lastNonInteractiveSignInDateTime gives me "0001-01-01T00:00:00Z".

To be clear, this particular account shows plenty of non-interactive sign in events in the AAD web console. Is this feature not implemented yet or could there be another reason why this field is not geting updated?

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
14,659 questions
Microsoft Graph Azure AD API
Microsoft Graph Azure AD API
A Microsoft API that queries the user's profile, finds other users, manages organizational relationships, tracks assignments, or creates original solutions that incorporate existing organizational data.
252 questions
0 comments No comments
{count} votes

Accepted answer
  1. Jason Eames 96 Reputation points

    Yes, yours looks fine but take a look at mine, not even dates and request IDs seem to match for interactive logons... but what is most strange is the non-interactive ones. Check out the screenshots: ![134754-image.png][1] ![134791-image.png][2] ![134774-image.png][3] [1]: /api/attachments/134754-image.png?platform=QnA [2]: /api/attachments/134791-image.png?platform=QnA [3]: /api/attachments/134774-image.png?platform=QnA I've tried to capture the data exactly the same way you did. I have other similar cases with other accounts. Should I open a support ticket?

1 additional answer

Sort by: Most helpful
  1. Danstan Onyango 3,241 Reputation points

    I see consistency on my end. For the particular user below with not many sign in activity, see the last interactive and non interactive activities matching lastSignInDateTime and lastNonInteractiveSignInDateTime respectively. Please cross check and see if the issue happens for other users. It could be specific to your tenant or user so you may need to create a support request. Also note that beta APIs are not ready for production

    From Graph API signInActivity

    On AAD Portal under interactive signInActivity

    On AAD Portal under non interactive signInActivity

    0 comments No comments