Forum Discussion

Pontus T's avatar
Pontus T
Iron Contributor
Apr 27, 2017

Help with parameter for Search-UnifiedAuditLog

Hi,   Disclaimer: I am new to PowerShell, hence why I turn here for your input.   Background: I'm creating a Power BI dashboard based on data exported from the O365 Audit Log. For the moment, I'...
  • Pontus T's avatar
    Pontus T
    Apr 28, 2017

    NarasimaPerumal Chandramohan thanks for pointing me in the right direction. I managed to solve it by using SessionID and SessionCommand. All I needed was a while loop that kept running until the variable taking the audit data returned null, and keep appending the export file in every loop run.

Resources