Someone leaves the company. Their access should leave too

On their last day, people hand back the badge and the laptop. The Microsoft 365 account often stays active. Email still lands on their personal phone, Teams stays signed in, and in Azure their permissions are still there. Nobody means any harm, but the door is open. Here is how to close access on the same day without losing the data you need.

Guide3 min read

Why the account stays open

In a small business, a departure is handled by management and HR. IT hears about it late, sometimes weeks later. Meanwhile the account works as before, and you keep paying for the licence.

The risk is not only the person who left. An account nobody watches any more is an easy target: if its password ever leaked, someone can use it and nobody will notice.

On the last day: block sign-in and revoke sessions

Start by blocking sign-in for the account in Entra ID, then revoke its sessions. You need both: blocking stops new sign-ins, but a phone that is already signed in can keep access for a while. Revoking sessions forces every device to sign in again, and that now fails.

Reset the password too, and remove the registered MFA methods, such as the authenticator app on their personal phone. If devices are managed with Intune, remove company data from the company's devices, or wipe them completely.

Keep the data, not the account

Email and files are often worth keeping: a customer still writes to the old address, an important folder sits in their OneDrive. That is no reason to leave the account open.

Convert the mailbox to a shared mailbox and give access to whoever takes over the work. A shared mailbox usually does not need a licence. For OneDrive, give access to their manager, who keeps what needs to stay. Only then remove the licence.

The Azure access people forget

Blocking the account shuts everything that goes through that account. But in Azure, someone can leave behind access that does not depend on them: a storage account key copied into a script, an app secret they created, a personal access token in Azure DevOps or GitHub.

Check the roles they had on your subscriptions, the applications they owned and the secrets they created. Give those applications a new owner and rotate the keys they knew. If a pipeline still runs with their account or token, it will break soon: better to find out now.

Shared passwords

Most small businesses have shared accounts: the admin login for a supplier, the Wi-Fi, a business application, a social media account. If the person who left knew them, change them.

This is often when you realise nobody knows who knows what. A team password manager fixes that: you remove the person and you see right away which passwords to change.

A written checklist, and IT told in time

Plan a departure the way you plan a new hire. Write a short checklist: block, revoke, shared mailbox, OneDrive, Azure roles, secrets, shared passwords, licence. Follow it every time, in the same order.

Most important of all, IT has to know before the last day. One line in the HR process is enough: as soon as a leaving date is set, IT gets a message. Interns, temps and contractors count too, and so do guest accounts.

Where to start

List everyone who left this year and check that their accounts are blocked, their licences removed and that they no longer hold any role in Azure. What you find shows you where the process has gaps. Then write the offboarding checklist, and make sure IT hears about departures in time.

That is exactly what our security services are about.

Security & identityControlled access and protected secrets, with a zero trust and least privilege approach.

All articles

A project, an overloaded team, an audit? Let's talk.

Reply within two business days, in English, French or Dutch. NDA on request.

[email protected]

The context, what you want to achieve and by when: a few lines are enough.

We only use your details to reply to you. Privacy