How Long Are Risky User Activity Logs Retained in Entra?
You have a Microsoft Entra tenant. You need to query risky user activity for the tenant. How long will the logs of risky user activity be retained?
Community Insight
The question tests knowledge of Identity Protection report retention, and the trap is confusing the Risky Users list (no deletion until risk is remediated) with the risky sign-in and risk-detection activity data, which rolls off after 90 days on P2.
Microsoft Entra ID Protection stores risky user activity—risk detections and risky sign-ins queried from the portal and logs—for 90 days on a Premium P2 tenant, which is the retention window the exam expects you to select. This page explains why 90 days (C) is the correct choice and why the 30-day figure learners cite comes from a different, older report description.
Option A (30 days) is the most common wrong pick, because learners quote an older Microsoft Learn sentence stating the risky sign-ins report holds filterable data for up to 30 days, or they apply plain sign-in log retention instead of Identity Protection risk data.
Community Discussion (17 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
Identity Protection risk reporting is a Premium P2 capability, and the Entra reports data-retention reference lists risky sign-in data at 90 days for P2 tenants, with risk detections following the same 90-day rotation. As Nail observed directly in the portal under Identity Protection > Reports > Risky Users, the date filter will not go back further than 90 days. When a question asks how far back you can query risky user activity in the tenant logs, it is asking for that report window, so 90 days is the defensible answer. The exam convention throughout this set also assumes P2 licensing, which locks in the 90-day figure.Why the Other Options Are Wrong
Option A (30 days) reflects the plain Entra sign-in log retention and an older wording of the investigate-risky-users page; it describes a different data set than Identity Protection risk activity. Options B (60 days) and D (180 days) appear in no Microsoft Entra retention documentation at all, so neither can be justified. The one genuine complication is that the Risky Users report itself is not time-bounded—Microsoft states risky users and workload identities are not deleted until the risk has been remediated—but no option says "until remediated," so the exam is clearly targeting the 90-day activity window. Choosing 30 days therefore credits the wrong table row for a P2 tenant.Community Comment Notes
The thread is split, with Nail, d1e85d9, Btn26 and Phax arguing for 90 days, and Nail grounding it in a live portal check of the Identity Protection report. On the other side, baz quotes the Learn text that "The risky sign-ins report contains filterable data for up to the past 30 days" while rvln7 concedes they "just had to mark the answer" despite the table reading "there is no limit for risky users." throwaway10188 pasted the official retention table showing Risky users as "No limit" across Free, P1 and P2 but Risky sign-ins as 7/30/90 days, and separately complained that "No license specified" makes the item ambiguous. Tony416's book-derived tip likewise separates the reports: risky users since tenant inception, risky sign-ins at 30 days, risk detections at 90 days.Official Reference
Exam Strategy
On SC-300 retention questions, first identify which report is meant—Risky Users, risky sign-ins, or risk detections—because each has a different window. If the scenario implies Identity Protection and gives no license detail, assume Premium P2 and its 90-day activity window.
Frequently Asked Questions
Why is 90 days correct when the Risky Users report says "No limit" for risky users?
The Risky Users list keeps a user until the risk is remediated, but the underlying risky sign-in and risk-detection activity you query rotates off after 90 days on P2. No option says "until remediated," so 90 days is the intended answer.
Why is 30 days wrong for risky sign-in data in Entra?
30 days is the plain sign-in log retention and older documentation wording; the current retention reference lists risky sign-ins at 90 days for Microsoft Entra P2, which is the license Identity Protection requires.
Related Analysis
Practice All SC-300 Questions
Access 80 questions with complete answers and detailed explanations.
View Full SC-300 Practice Test →