Forum Discussion
QuintonR
Nov 21, 2023Copper Contributor
AAD Sign In Activity Details: Getting the Result Details
Hello, I've spent hours figuring out how to write a script using the "Get-MgAuditLogSignIn" to create a report showing which sign-in events had a "Result detail" of "Correct password" that occurr...
- Nov 22, 2023Said data is only exposed via the /beta Graph API endpoints, that is Get-MgBetaAuditLogSignIn if using PowerShell.
VasilMichev
Nov 22, 2023MVP
Said data is only exposed via the /beta Graph API endpoints, that is Get-MgBetaAuditLogSignIn if using PowerShell.
- QuintonRNov 22, 2023Copper ContributorWhen I run that code, the error I get is "Neither tenant is B2C or tenant doesn't have premium license"
Can that cmdlt only run with an Azure AD Premium P1 or P2 license?- VasilMichevNov 23, 2023MVPThat's a requirement, sadly.
- QuintonRAug 29, 2024Copper ContributorI realized almost a year later that I never thanked you for your help! Thank you so much for helping me figure this out!