Use the Graph API endpoint: https://learn.microsoft.com/en-us/graph/api/signin-list?view=graph-rest-1.0&tabs=http
You can use PowerShell as a wrapper for it, via Invoke-WebRequest/Invoke-RestMethod, and avoid the inherit limitations of the AzureAD module.
Use Powershell to export Azure AD Sign-Ins Log
Jamie Hebbs
21
Reputation points
Is there a way to use Powershell to export the Sign-Ins Log, including fields such as Operating System ?
In particular, the fields from the GUI in the attachment.-
I tried the AzureADPreview module with get-azureadauditsigninlogs but it doesn't bring back OS. There are also lots of GUIDs in the report too.
Accepted answer
-
Vasil Michev 95,096 Reputation points MVP
2020-05-20T14:04:04.387+00:00