Forum Discussion
ndrw
Jun 26, 2025Copper Contributor
Microsoft Graph API : Some attributes are null when filtering by signInActivity/lastSignInDateTime
Hi. I have trouble retrieving the user's givenName and surname using Microsoft Graph API together with filtering using signInActivity/lastsignInDateTime. Here is the url I'm using: const g...
VasilMichev
Jun 26, 2025MVP
What permissions are you running with? Some properties might be returned as null values if you have insufficient permissions, see here: https://learn.microsoft.com/en-us/graph/permissions-overview?tabs=http#limited-information-returned-for-inaccessible-member-objects
In this case, I suspect you might be missing the user-related permissions, and likely only running with the Audit log ones. For the record, the query above works fine for me with "proper" permissions.