PowerShell command to see last login / activity for Service Principal and/or App Registration

Kenneth Huddleston 60 Reputation points
2023-03-01T18:58:48.77+00:00

Is there a powershell command that can be used to retrieve activity details for a Service Principal or App Registration? Specifically, if I wanted to query via powershell the 'last' login of a particular SP or App.

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
13,549 questions
No comments
{count} votes

0 additional answers

Sort by: Most helpful