Microsoft Secure Tech Accelerator
Apr 03 2024, 07:00 AM - 11:00 AM (PDT)
Microsoft Tech Community

Get-AzureADAuditSignInLogs | Export more than 1000 lines

Copper Contributor

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?

5 Replies

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

@Vasil Michev 

 

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.

Use the Graph API then, it's way better when dealing with large amounts of data anyway.

The 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?