Has the signInActivity property been deprecated?

N Brambles 0 Reputation points
2023-03-24T16:52:16.5433333+00:00

Up until this morning the following URL was successful

$ApiUrl = "https://graph.microsoft.com/beta/users?$select=displayName,userPrincipalName,lastPasswordChangeDateTime,mail,signInActivity,userType,assignedLicenses&$top=999"

However it is now failing on the signInActivity property. Everything else is OK, if I remove this it works fine.

Is this an issue or by design?

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

2 answers

Sort by: Most helpful
  1. Vasil Michev 95,181 Reputation points MVP
    2023-03-24T17:26:16.75+00:00

    Your example works fine here. Are you getting any error message or?

    0 comments No comments

  2. Stuart G 0 Reputation points
    2023-03-30T09:20:21.65+00:00

    Set $top=999 to $top=120.

    Microsoft appear to have limited the number of results you can request per call to 120.

    See this thread for more information: https://github.com/microsoftgraph/msgraph-sdk-powershell/issues/1898#issuecomment-1488988075

    0 comments No comments