Export guides / Microsoft 365 and Entra ID
How to export Microsoft Entra sign-in logs for an AI use review
Who signed in to which app, and when, using their work account.
Sign-in logs show which apps staff open with their Microsoft work account. They catch AI apps connected through "Sign in with Microsoft", but not tools used with a personal account.
- Who can do it
- At least the Reports Reader role, which Microsoft lists as the least privileged role that can view activity logs. Security Reader and Global Reader also work.
- Licence or plan
- Downloading is available in every Microsoft Entra ID edition. Sign-ins are kept for 7 days on Entra ID Free and 30 days on Entra ID P1 or P2 (included in Microsoft 365 Business Premium and E3/E5).
- Date range
- The last 30 days (the most Entra keeps on P1/P2). For a 90-day review, download at the end of each month and upload all three files.
Steps
Menus change from time to time; paths below are where the option is typically found.
- Sign in to the Microsoft Entra admin center at entra.microsoft.com as at least a Reports Reader.
- Open the sign-in logs, typically under Entra ID > Monitoring & health > Sign-in logs.
- Set the Date filter to the review period. You can only go back as far as your licence keeps logs (7 or 30 days).
- Select Download, choose CSV (or JSON) and download the interactive sign-ins file. Non-interactive sign-ins are also read but are much larger and rarely add AI apps.
- If the download arrives as a .zip file, unzip it. Upload the sign-ins CSV to the review in Vigilo as it is.
Keeping the file small
- Microsoft caps each download at 100,000 records. Filter to the review period first.
- If the file is still too big, download shorter date ranges (for example one week each) and upload them all; Vigilo combines them.
- Look for a Status filter and keep only successful sign-ins: Vigilo skips failed ones anyway.
- Each upload can be up to 25 MB. Where the export lets you choose, include only the review period and the columns this guide lists.
What Vigilo uses from the file
The application, the username, the date and the status. Failed sign-ins are left out. IP addresses, locations and device details are never read.
Privacy
What the file holds: Names, usernames (UPNs), IP addresses, locations, device and browser details for every sign-in.
Vigilo replaces every person in a user, email or username column with a pseudonymous label such as User-3f9a1c before analysis, never reads IP address columns, and never sends raw rows to an AI model. Tell staff about the review before you export their data, in the way privacy and workplace surveillance laws require where you are.
Last checked: November 2026. Sources: Microsoft Learn: How to download logs in Microsoft Entra ID; Microsoft Learn: Microsoft Entra data retention.