question

JasonEL avatar image
0 Votes"
JasonEL asked Danstan-MSFT commented

signInActivity.lastNonInteractiveSignInDateTime does not update

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-ad-single-sign-onmicrosoft-graph-identity
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JasonEL avatar image
0 Votes"
JasonEL answered Danstan-MSFT commented

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]: /answers/storage/attachments/134754-image.png [2]: /answers/storage/attachments/134791-image.png [3]: /answers/storage/attachments/134774-image.png 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
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Please go ahead and open a support ticket sighting the issue is specific to your tenant.

1 Vote 1 ·
Danstan-MSFT avatar image
0 Votes"
Danstan-MSFT answered

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
134519-graph-portal-last-sign-in-date.png

On AAD Portal under interactive signInActivity
134632-add-portal-last-sign-in-date-interactive.png

On AAD Portal under non interactive signInActivity
134594-add-portal-last-sign-in-date-non-interactive.png



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.