Forum Discussion
TaylorNelson
Nov 05, 2019Copper Contributor
Access Office 365 Audit Logs
I have written a Powershell script to retrieve Audit Logs for Power BI, and store in SQL for analysis. The script works fine with interaction (i.e. login with username/password) but requires MFA. I c...
- Nov 06, 2019I was on the same boat, then thought.... I should google (i mean BING!) 'How to test Graph API with Postman'.
This article walked me through how to set up the authentication process, you can even generate the code out of Postman.
https://blogs.msdn.microsoft.com/aaddevsup/2018/05/21/using-postman-to-call-the-microsoft-graph-api-using-client-credentials/
VasilMichev
Nov 06, 2019MVP
Use the Management activity API, with a service principal or a client secret: https://docs.microsoft.com/en-us/office/office-365-management-api/office-365-management-activity-api-reference