Why a user departure may leave application access
A law practice discovers multiple third-party applications with delegated mailbox permissions from former staff and trial tools. For the practice operations partner and Microsoft 365 administrator, the immediate question is whether a reviewed document-management integration can access the appointed matter mailbox only. The counterfactual matters equally: an abandoned evaluation app continues reading messages after its user is removed. In Microsoft 365 shadow application consent, a useful decision must describe an action, its authorisation and a result that can be witnessed, rather than relying on a status light or a product label.
One way to avoid a superficial review is to export enterprise application IDs, service principals, delegated grants and app role assignments. The next condition is that priority follows reachable matters and actual privileges, not only grant age. Those questions connect a technical configuration to a business effect. The example is hypothetical and should not be presented as a penetration test or a record of a genuine breach.
Consent and mailbox test boundaries
The organisation should be able to stop the exercise before it affects customers or operations. For the practice operations partner and Microsoft 365 administrator, that means a written scope for export enterprise application IDs, service principals, delegated grants and app role assignments, custody of matter classification and service owner confirmation and a named decision maker. Entra consent, Exchange audit and provider-specific token lifetimes must be assessed together; not all grants are revoked through the same interface.
The scope is complete only when the reviewer understands why a reviewed document-management integration can access the appointed matter mailbox only and why the contrary condition—an abandoned evaluation app continues reading messages after its user is removed—is prevented. For the practice operations partner and Microsoft 365 administrator, that comparison requires approval trail and supplier contract rather than a vendor configuration screenshot on its own.
Application grants, actual use and revocation checks
Tenant inventory
To assess this boundary, the practice operations partner and Microsoft 365 administrator should export enterprise application IDs, service principals, delegated grants and app role assignments. An acceptable observation would show that the review distinguishes user consent, tenant-wide consent and app-only permission. Retain administrative export with consent date and publisher identity with its collection date and the baseline used for comparison.
Practical caution: a benign display name can mask an unfamiliar application identifier. This matters in Microsoft 365 shadow application consent because the review distinguishes user consent, tenant-wide consent and app-only permission cannot be presumed without examining administrative export with consent date and publisher identity. List any remaining uncertainty for the next safe review.
Matter sensitivity
Begin by having the practice operations partner and Microsoft 365 administrator associate mailbox access with client confidentiality, privileged advice and litigation holds. The intended result is that priority follows reachable matters and actual privileges, not only grant age. The case record needs matter classification and service owner confirmation, not merely an assertion that a policy has been configured.
Watch for the following complication: never export client messages into a review spreadsheet. Compare that possibility with matter classification and service owner confirmation before deciding whether priority follows reachable matters and actual privileges, not only grant age. The review should document the operational consequence specific to Microsoft 365 shadow application consent.
Application sponsorship
Ask the practice operations partner and Microsoft 365 administrator to contact the partner or employee responsible for each high-impact integration. Confirm whether every retained grant has a current business owner and documented use by looking at actual target-side results. Include approval trail and supplier contract so another person can repeat the investigation.
An important limitation is this: employee departure can leave an otherwise valid app running. It could change the meaning of approval trail and supplier contract and therefore the conclusion that every retained grant has a current business owner and documented use. Identify the missing witness or source of proof.
Token-path test
Under the approved scope, the practice operations partner and Microsoft 365 administrator should disconnect a synthetic evaluation app then try an approved token-based mailbox call. The result is acceptable when unwanted API access ultimately fails as provider revocation and expiry rules require. Preserve resource-side result and timing notes as the reproducible source of the conclusion.
Check the exception carefully: a portal status change is not equivalent to an observed access denial. Where this applies to Microsoft 365 shadow application consent, the practice operations partner and Microsoft 365 administrator should explain how to remain safe until resource-side result and timing notes can be independently reviewed.
Shared mailbox boundary
For the next check, have the practice operations partner and Microsoft 365 administrator compare delegated user access to service-account and app-only mailbox reach. It should demonstrate that the approved integration cannot silently enumerate unrelated client matters. Use effective permission audit and negative call trace to compare the authorised operation against the specific unsafe alternative.
A specific caution to discuss is: mailbox delegation and application permission are separate controls. In this Microsoft 365 shadow application consent scenario, effective permission audit and negative call trace should clarify whether the approved integration cannot silently enumerate unrelated client matters was really observed. Keep any exception open if it cannot.
Retention and investigation
With an appropriate witness, the practice operations partner and Microsoft 365 administrator should inspect tenant audit settings for consent events, mail operations and administrative changes. A passing outcome means that investigators know which actions can be reconstructed within retention windows. Capture sample audit retrieval and documented gaps and link it to the relevant change or incident record.
The reviewer needs to consider this caveat: absence of a log record does not prove the app never accessed data. It affects whether investigators know which actions can be reconstructed within retention windows; the practice operations partner and Microsoft 365 administrator must identify the next check and its owner rather than generalising from a limited sample.
Owner handover
The owner can explore this by arranging to build a request-and-removal workflow for future SaaS integration proposals. The acceptance statement is that matter owners receive a plain-language list of scope and revocation procedure. Save approval template and owner directory for comparison after supplier or configuration changes.
Do not lose sight of this risk: a blanket ban may move workflows into unreviewed shadow accounts. A defensible Microsoft 365 shadow application consent finding should use approval template and owner directory to distinguish accepted conditions from those requiring further action.
Recheck schedule
Another useful verification is to prioritise grants after mergers, new matters, resignations and vendor renewals. The desired observation is that exceptions expire and are re-tested after material change. Preserve review calendar and closure acknowledgements as the basis for a later independent review.
One unresolved issue may remain: annual snapshots alone miss high-velocity application permission changes. For Microsoft 365 shadow application consent, review calendar and closure acknowledgements helps determine whether exceptions expire and are re-tested after material change; if not, keep a specific retest and owner in the register.
A difficult case to rehearse
Use an approved sample mailbox and two clients: one delegated to a leaving worker and one using a separately authorised application identity. Remove the employee account first. Then test both clients again after the appropriate grant changes, recording whether the protected mail resource accepts or rejects each request.
Why the mailbox resource matters
In a professional practice, delegated consent may have been granted by a fee earner who can access several shared and personal mailboxes. The app display name will not reveal whether the token can retrieve confidential material from a specific matter. A useful review ties the client application identifier to actual mail operations and the effective privileges of the consenting account. It should also consider whether a mailbox folder used for discovery has retention or legal-hold restrictions that limit how administrators may collect evidence.
For the pilot revocation, use a mailbox that contains only invented messages. Remove the evaluation integration using the correct administrative path, record the token-expiry behaviour described by the provider and attempt an innocuous read at the resource endpoint. Avoid claiming universal immediate token invalidation: a refresh-token path and an already-issued access token can behave differently. A good closure record states which identity, grant and message resource were included in the test.
Understand the mailbox access that survives an employee departure
For a Microsoft 365 tenant, review both delegated consent and application permissions. A departed employee’s sign-in can be disabled while a previously approved application retains app-only access to Exchange or Graph resources. The reviewer should identify the service principal, consent origin, certificate or secret owner, mailbox scope and actual resource activity. An unfamiliar app name is not automatically hostile, and a consent screen alone does not prove data access. Use a test application and approved mailbox to determine which actions remain possible after user departure and after each revocation operation. Account for the provider’s token-lifetime and caching behaviour before stating that access ended immediately.
Evidence needed for an independent decision
Keep the grant record, service-principal identifiers, resource-side audit result, credential expiry, owner sign-off and any consent or scope change made. Where a token still works during an expected transition period, describe that interval rather than calling the revocation ineffective without investigation. Separately assess whether previously downloaded mailbox data remains with a third-party service, since permission removal cannot erase earlier copies.
Boundaries, owner sign-off and source review
No tested outcome is asserted by this article. Entra consent, Exchange audit and provider-specific token lifetimes must be assessed together; not all grants are revoked through the same interface. The next Microsoft 365 shadow application consent assessment should return to disconnect a synthetic evaluation app then try an approved token-based mailbox call, collecting resource-side result and timing notes and documenting any new dependencies. Validate referenced standards and provider statements against the current version.
See Next Defence’s Cloud, Identity & Data Security practice for the related service area. A practical next step is recheck schedule, with evidence that exceptions expire and are re-tested after material change.
Related perspective: The legal-practice OAuth checklist tests consent, mailbox scopes and revocation; the wider service-principal article explains unattended application permissions and missing owners across Microsoft 365. The Risks of Unowned Service Principals in Microsoft 365.
References and further reading: