Reach the main text directly
HelpdeskDen

Microsoft audit log retention: 4 numbers to record

By
HelpdeskDen Editorial Team
Posted
Sources checked
Length
11 min read

Before changing Microsoft audit log retention, record your policy count, priority numbers, removal window, and the Audit (Premium) default for the named services.

Key takeaways

  • Count existing policies before adding another.
  • Record each policy's scope, duration, and priority.
  • Note the removal time and check again after the removal window.
  • Confirm your license before relying on the default.

That setting usually gets chosen once, during setup or during a cleanup, and then nobody looks at it again until someone asks who opened a shared folder or changed a mailbox rule and the answer is gone.

Changing retention is not a hard job. The reason to slow down is that the change decides what you will be able to look back on later. Before you touch anything, write down a few facts about the setup as it stands today. The four numbers below are the ones I would record first. Each one comes from Microsoft's documentation on audit log retention policies, and each one tells you how much room you have, how the settings fit together, or what you already get without doing anything.

Logs are most useful after something has already gone wrong. A shared file is overwritten, a payment request looks odd, or a former employee's mailbox needs checking. At that point you want to know two things quickly: whether the records still exist, and whether the setting you chose was the one you intended. Writing the numbers down now answers the second question before the first one becomes urgent. For related recovery planning, see the backup retention settings guide.

Treat this as a checklist for a small office, not as a replacement for the rules your business, insurer, or regulator may set. Microsoft can change limits and defaults, so read the linked pages yourself before you act on them.

Count your policies against the limit of 50

Microsoft's retention policy page says your organization can have up to 50 audit log retention policies. That is the first number to write down, and it is a ceiling for the whole organization, not for each team or each service.

Start by counting the policies you have now, not the ones you remember creating. Microsoft says you create and manage these policies in the Microsoft Purview portal, so open it and make a list. For each policy, record its name, what it applies to, how long it keeps records, and its priority. The priority part is covered in the next section, but it is worth capturing at the same time so you do not have to go back into the portal later.

The count matters because it sets how much room you have to work. If you are sitting near 50, adding a narrow policy for one group may mean deleting or merging something first. If you are sitting at three or four, you can usually add a targeted policy without touching the broad one that already covers everyone. A long list of old, half-remembered policies is also harder to change safely than a short list with clear names, so the count tells you something about how easy the next change will be.

Before you delete anything, look at it closely. Check whether a policy is the only thing keeping a particular kind of record for a particular group, and write down what you find. Deleting a policy you did not fully understand is the sort of change that is hard to undo once the records it kept are gone.

Read each policy the way an auditor would, not the way the person who set it up would. The question is simple: if someone asked for records of this kind tomorrow, would this policy let you find them? If you cannot answer yes from the screen and your notes, that policy belongs on the list of things to explain before you change anything else.

Put a date and a short description on your list. You will forget why a policy exists faster than you expect, and a line such as "added after the spring invoice problem" saves a lot of guessing later.

Note the priority numbers, where 1 wins

Microsoft's page says a value of 1 is the highest priority and a value of 10000 is the lowest priority. It also gives an example: a policy with a value of 5 takes priority over a policy with a value of 10. That is the second number, and it decides which rule wins when two of them overlap.

Here is why it matters for a policy change. Suppose you want to keep records longer for one group. You create a new policy for that group, but an older broad policy with a lower priority number already covers the same records. The broad policy wins, and the change you made does nothing you intended. You may only find out when you need the records and they are not there, so the priority column in your list is the place to catch it before it happens.

Write a worked example in your notes using the names of your real policies and the numbers you actually see. A few lines are enough. Once it is on paper, it becomes obvious which policies overlap, and which of them is quietly in charge.

Pick priority values with some space between them. Leave gaps in the sequence instead of using consecutive values, so you can slot a new policy in between later without renumbering everything. This is my suggestion, not something Microsoft's page prescribes, but it saves a lot of fiddling when the list grows.

Before you save a new policy, go through your list and ask one question for each kind of record it touches: which other policy also applies here, and which one has the lower number? If you cannot answer that from your notes, do not save yet. Checking first is cheaper than rebuilding a gap in your records.

Once you save the change, check it again later against your notes. A single known test tells you more than a quick glance at the dashboard.

When you rename or reorder policies, re-read the whole priority column afterward.

Record the 30-minute removal window

The third number is about timing. Microsoft's page says that when a policy is removed from the dashboard, it might take up to 30 minutes for the policy to be removed from your organization.

What this means in practice is that you should not judge the result of a removal the moment you click the button. If you remove an old policy and immediately check whether records are still being kept, you may be looking at a state that has not finished changing. Write down the time you made the change, wait, and check again after the window has passed.

Think of the removal as the start of a short process, not a single click. The change is made, the wait happens, and the check comes last. Each stage has its own note, so that if the check looks wrong you can tell whether you looked too early or whether the setting itself needs fixing.

This matters most when you are doing more than one step. Say you remove a policy and then add a replacement. If you add the replacement while the old one is still in effect, you may have two policies for a short while, and you want to know that rather than assume it. Working in that order, with a pause in between, makes the result easier to reason about.

Keep the note short. The time, the policy name, the change you made, and the time you checked again is enough. You are not writing an audit report for yourself. You are leaving a trail so that a future you, months from now, can see the order of events without reconstructing it from memory.

Schedule the change for a quiet part of the day if you can. You are one person, so it helps to avoid making big changes right before you leave or while you are dealing with a support call. The 30-minute figure is short, but it is easy to forget when you are busy, and a removal that finishes while you are on the phone can look like a mistake when it is not.

If someone asks you for records in the middle of a change, do not guess. Tell them the time of the change from your note, say the window may not have passed yet, and check again once it has. A calm, written answer is more useful to the person asking than a confident one you cannot back up.

It also helps to tell the rest of the office, in one sentence, that a change is underway. Something like "We are adjusting how long audit logs are kept this afternoon, and I will confirm when it is done" is enough. Nobody else needs the detail, but they should know not to make a second change while you are waiting.

Illustrative example: record a removal check

An illustrative removal note records the policy removed, the removal time, and a follow-up check 30 minutes later. At that check, record what the portal shows and whether it matches the intended change. Keep both observations together so a later reader can follow what happened.

Write down the one-year default

The fourth number is the baseline Microsoft describes for these services. Microsoft's page says Audit (Premium) in Microsoft Purview provides a default audit log retention policy for all organizations. It also says that this default retains all Exchange Online, SharePoint, OneDrive, and Microsoft Entra audit records for one year.

Write that one year down next to your own policies. It is the reference point for the question every office manager eventually asks: how far back can we look?

Be careful with what the quote covers. It names four areas: Exchange Online, SharePoint, OneDrive, and Microsoft Entra. If your office relies on a different service for records that matter to you, look it up on its own official page and write that figure down separately.

Check which license your organization has as well. The page describes this default as coming from Audit (Premium), so confirm on the page whether that describes your tenant before you rely on the number. Reading a default as a fact about your office when it is really a fact about a particular product tier is an easy error to make when you are in a hurry.

Keep the baseline visible. When you write your list, put one line at the top that says what the default is and which services it covers. Then every custom policy below it is easy to compare against the starting point.

When you explain the default to a partner, a manager, or a bookkeeper, keep it to two sentences. Ask how far back the office needs to look, then compare that need with your recorded settings.

Keep the list and the plan together

Put your policy count, priorities, removal notes, and default in one document, dated and stored somewhere you can find when you are not at your desk.

A plain text file or a single page in a shared drive is enough. A spreadsheet works too if you prefer columns, but the format matters less than keeping the file current and easy to open on a bad day.

These numbers only cover one part of the job. The Canadian Centre for Cyber Security's baseline security controls include BC.1.1: "Organizations should have a basic plan for how to respond to incidents of varying severity." You do not need a long document. A page that says who to call, what to save, and where the logs live is a useful start. Audit logs are one of the things that plan depends on, so the retention setting is not a separate chore. It sits inside the response plan. For related office planning, read the small-office security baseline guide.

When you make the change, work in a fixed order: check your count, check the priorities, make the change, record the time, wait for the window if removing a policy, check again, and file the note. Doing the steps in the same order every time means you will not skip the one that catches a problem.

Keep a backup person in mind too. If you are the only one who knows where the list lives and how the portal login works, the office has a single point of failure for a question it may one day need answered. Store the document where a trusted colleague or the business owner can open it, and write down in one line who holds the portal access.

Read the list once a year, or after you notice a change to the linked pages, and update the numbers. A list that was accurate two years ago is not much help when you are the one who has to answer a question today. The point of recording these numbers before a policy change is that the answer to "what did we keep, and for how long" is already written down when someone needs it.

Today, open the Microsoft Purview portal and create a dated inventory of your existing policies before changing any settings.

Related guides: Backup restore test: 6 fields to log each time · Box and Google version limits: 6 numbers to record now.

Questions before a policy change

Does the removal window apply to saving a policy?

The removal window describes policy removal, so do not use it as a timing rule for saving a new or changed policy.

What should I record beside each custom policy?

Record its name, scope, retention duration, and priority beside the default so you can compare the settings before editing.

Sources