Your example works fine here. Are you getting any error message or?
Has the signInActivity property been deprecated?
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?
2 answers
Sort by: Most helpful
-
-
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