AzureAD signInActivity inconsistent

tim hodkin 0 Reputation points
2023-03-23T20:21:12.35+00:00

When pulling the information from graphapi using the below path, i get inconsistent results.

https://graph.microsoft.com/beta/users/<user id>?$select=signInActivity

If I run the above over and over I get one of 2 results back that show diferent results. It does not seem to matter what user I select or if i pull the information for all the users at once. If i repeat the search it sometimes gives me a second set of information.

This is the same thing happening with 'get-mguser'. User's image

The same happens on any call to that api.

I'm puzzled as to what may be wrong or if the beta api might just not be ready to pull this information yet.

Cheers

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,652 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,563 questions
0 comments No comments
{count} votes

6 answers

Sort by: Most helpful
  1. Vanni Carletti 1 Reputation point
    2023-04-13T08:45:58.14+00:00

    Hello I can confirm the issue is somewhat still here. I've been testing this call: https://graph.microsoft.com/beta/users?$select=displayName,userPrincipalName,signInActivity&top=999 To retrieve the signIn information but I can see it for random users only. I did a spot check and it looks like some of them are not showing any information when using the API call, but their signIn date is showing up when using the Azure AD portal. Example: User's image

    User's image

    Is it again a temporary issue? This is ongoing at least since 3 weeks.