

In this tutorial I will show you how to export security audit logs from your Office 365 Tenant. Before you can export audit logs from Office 365 you must enable audit logging in Office 365 Security & Compliance Center.
In this article I will show you how to configure a separate log file on a MikroTik router that will only contain authentication log entries. The log file will contain log entries for winbox, webfig, ssh, telnet, ftp as well as VPN user authentications. Additionally, we will configure a scheduled script to email this log file to ourselves daily.