Forum Discussion
Praveen Denzil Ramesh
May 11, 2020Copper Contributor
Get-AzureADAuditSignInLogs | Export more than 1000 lines
I am trying to export sign-in log using Get-AzureADAuditSignInLogs but it is only exporting 1000 lines. How can I export more than 1000 lines?
VasilMichev
May 12, 2020MVP
That issue should be fixed in the 2.0.2.89 version of the (preview) module. Or you can use the Graph endpoint: https://docs.microsoft.com/en-us/graph/api/signin-list?view=graph-rest-1.0&tabs=http
- Praveen Denzil RameshMay 19, 2020Copper Contributor
I have the latest version of Azure AD Preview module installed - 2.0.2.89. Still the same issue, cannot export more than 1000 lines.
- VasilMichevMay 19, 2020MVP
Use the Graph API then, it's way better when dealing with large amounts of data anyway.
- GregTurnbull2020Jun 16, 2020Copper ContributorThe Microsoft Graph also looks like its limited to 1000 lines per page and then have to run a command to get the next page. Is this correct?