An API that connects multiple Microsoft services, enabling data access and automation across platforms
Hello Brendan,
Thanks for reaching out. Selecting the 'signInActivity' resource using UPN is not supported. You need to use the GUID of the user, for example https://graph.microsoft.com/v1.0/users/[GUID]?$select=signInActivity
Alternatively using you can use the 'auditLogs' endpoint to get user signin info by UPN as below:
https://graph.microsoft.com/v1.0/auditLogs/signIns?$filter=userPrincipalName eq 'UPN'
If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.
Thanks.