Scenario note: The examples and exercises in this article are illustrative. They are not reports of confirmed Next Defence customer incidents.
Defensive advisory: consent removal may not end effective access
Consider a customer-support SaaS application retired after its vendor agreement ends. The administrator removes the visible application grant from the tenant console, yet an old service principal or previously issued token might still be able to retrieve customer case files. This is a hypothetical defensive scenario, not a verified report about a named platform or a confirmed incident. The critical distinction is between a removed user-facing grant, a token that remains technically valid, and an actual case-file operation accepted by the resource server.
Treat the first finding as a potential access-control gap. Preserve the application registration, delegated scopes, workload permissions, consent history and last-known integration owner. Determine whether the retired app uses delegated user authority, application-level permission or a service account in another system. Each has different revocation semantics. Do not infer that deleting the product from a support team's dashboard has removed those underlying grants.
Verify with a harmless case-file request
Use a fictional customer case and an approved test identity representing the retired integration. Capture the token issuer, intended audience, scopes or roles, issue and expiry times, and the receiving API's resource identifier. Ask the application owner to repeat a permitted test through a replacement integration, then challenge the retired credential with a read request that should fail. Log the backend response and confirm the fictional record was not exposed or altered. Where the old credential cannot be used safely, inspect issuer and resource logs and mark the outcome as not directly tested.
The investigation must distinguish a successful sign-in from an authorised file read. An identity provider may report token issuance even when a downstream API denies the object. Conversely, an application may accept a cached token without a fresh interactive sign-in. Correlate request IDs, storage access events and application audit records. Separate possibly reachable records from confirmed reads, exports or modifications, and state where logging gaps prevent a firm conclusion.
Contain the integration without destroying records
The customer-support owner should identify any active replacement workflow before broad revocation. Remove the relevant tenant consent and resource permissions, disable or rotate dedicated credentials, and invalidate sessions where the platforms support it. Review refresh tokens, queued exports and independent service accounts rather than assuming one directory switch stops everything. Preserve logs and consent history before making changes that could obscure the timeline. Support records may need to remain in a lawful records archive even after the former provider loses access.
Check whether old signed download links, cached exports or background jobs bypass the interactive application grant. A link already delivered to an external recipient may have a different expiry mechanism from a user session. If case data was copied into a separate support analytics service, the tenant must understand which party controls the copy and how deletion or retention requests are handled. A narrow interim permission block may be safer than shutting down all support integrations if current customer operations rely on shared infrastructure.
Decide whether the event is an incident
A dormant account with excessive permission creates a security weakness; it is not by itself evidence that an adversary accessed customer files. Escalate the assessment if logs show unexplained case reads, bulk export, token use after contract exit or modification of customer records. Consider innocent explanations such as approved migration testing, but require a change record or service owner to support them. Where unauthorised access is supported, involve the incident-response, privacy and legal teams to assess scope and any applicable notice requirements. Avoid attributing activity to an attacker without corroboration.
After containment, repeat the retired-app test with a new session and verify an authoritative denial. Confirm the legitimate replacement support workflow still reads its own fictional case and that access for unrelated customers remains isolated. Record the implementer, approver, actual expiry or revocation delay and outstanding old links. The product and operations lead should accept the result only when the team can show effective privilege removal, not just an updated integration inventory.
Prevent recurrence at vendor offboarding
Make consent and service-principal discovery part of every SaaS vendor exit. Revoke delegated grants, application permissions and supporting secrets as separate steps; inspect active background jobs and data exports; transfer retained records to an approved archive; and run a negative access test after the exit. Maintain an owner for each integration even when a supplier is no longer paid. Review access again after an identity platform migration, since dormant objects and workload registrations can be carried into the new environment.
The closure review should cover the application consent, actual customer case-file authority and independently retrievable response evidence. The desired closure statement is precise: the retired integration cannot perform the prohibited test operation, the approved replacement still works, and any unverified copies or historic sessions remain visible on a named follow-up register. It should not claim that a lack of observed misuse proves no prior exposure occurred.
Record which revocation claim is supported
Use separate closure categories: removed from the application catalogue; tenant consent withdrawn; resource-side permission denied; cached sessions expired; and retained data addressed under the records process. Only the last three establish that earlier technical capabilities have been dealt with beyond the visible directory entry. Where testing is impossible, assign the uncertainty and a validation date rather than merging it into a broad 'vendor removed' status. This makes the offboarding evidence understandable to a product owner and a future incident investigator.
Sources and further reading
- https://www.cyber.gov.au/resources-business-and-government/essential-cyber-security/essential-eight
- https://www.nist.gov/cyberframework
Work with Next Defence
Next Defence can assist with SaaS consent inventories, defensible token-revocation testing and incident assessment when access evidence is incomplete.