Join our Newsletter — 33% off our NHI Course
Home› Guides› Shadow SaaS and Unsanctioned App Discovery Guide
Guide Cloud Security

Shadow SaaS and Unsanctioned App Discovery Guide

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, edited by Lalit Choda Updated 27 October 2026 13 min read
On this page

Most organisations use far more SaaS applications than their IT and security teams know about, and every unknown app is an unmanaged identity store holding company data and, often, an OAuth grant into core systems. Shadow SaaS is any cloud application used for work without going through procurement, security review or the identity provider. It arrives through free trials, personal sign-ups with a work email, "Sign in with Google" or "Sign in with Microsoft" buttons, browser extensions and, increasingly, AI tools. This guide explains the discovery sources that actually find these apps (identity provider logs, OAuth grants, network and endpoint telemetry, email and finance data, the browser), how to combine them into one inventory, how to triage and decide, and how to measure progress. It is for security engineers, IAM teams and SaaS owners. For the wider SaaS control set see the SaaS Security Guide.

Key takeaways

  • No single source sees everything. Identity provider logs see federated and OAuth-connected apps, network logs see traffic, email sees sign-ups, finance sees paid tools and the browser sees what users actually do. Combine at least three.
  • OAuth grants are the highest-risk shadow SaaS. An app a user connected to the mail or file platform holds a token into company data that survives the user's password change.
  • Discovery is a lifecycle, not a project. New apps appear every week; run discovery continuously and feed findings into review, sanctioning or blocking.
  • Restrict consent before you chase the backlog. Limiting user consent to verified publishers and low-impact permissions stops the inventory growing while you work through it.
  • Standards are coming but not here yet. The OpenID Foundation IPSIE working group lists application discovery as possible future scope; today discovery relies on vendor features and your own correlation.

What counts as shadow SaaS

TypeExampleIdentity footprintTypical risk
Local-account sign-upUser registers with work email and a passwordA password account outside SSO; survives offboardingData left in an unmanaged tenant; reused passwords
Social or SSO sign-in to an unsanctioned app"Sign in with Google" on a new toolOIDC sign-in, sometimes with extra OAuth scopesApp visible in IdP logs but not reviewed
OAuth-connected appA scheduling tool granted calendar and mail accessDelegated OAuth grant and refresh tokenDirect, persistent access to company data
Browser extensionWriting assistant reading every pageExtension permissions plus the user's sessionsPage content and session theft
Shadow AI toolConsumer AI assistant with document uploadAny of the aboveSensitive data in prompts and training data
Unmanaged tenant of a sanctioned appA team's own instance of a file-sharing serviceSeparate admin and user accountsUncontrolled sharing settings and retention

The Vercel incident in 2026 shows the OAuth case clearly: an employee connected a consumer AI office suite to a corporate Google account with broad access, attackers later stole that vendor's OAuth tokens, and one of them gave access to the employee's Workspace account. See the Vercel Context.ai OAuth Breach. For the AI-specific variant see the Shadow AI Discovery Guide.

Discovery sources compared

SourceWhat it findsWhat it missesEffort
IdP sign-in logsApps using SSO or social sign-in through the corporate IdP, with user countsLocal-account sign-ups, personal accountsLow: data already exists
OAuth grant inventory (Entra ID, Google Workspace)Third-party apps with delegated or application permissions and their scopesApps that never touch the platform's APIsLow to medium
Network logs (firewall, proxy, secure web gateway, DNS)Traffic to known SaaS domains, volumes, users or IPsOff-network devices without an agent; apps on shared CDN domainsMedium: parsing and catalogue matching
Endpoint agent telemetrySame as network, but off-network and per deviceUnmanaged and personal devicesMedium
Email signalsWelcome, verification, invoice and invitation emails from SaaS vendorsApps that send no emailMedium: needs mail search and privacy review
Finance and expense dataPaid subscriptions on corporate cards and expensesFree tiersLow, needs finance cooperation
Browser management or browser security toolingInstalled extensions, sign-ins and in-browser useUnmanaged browsersMedium to high
User survey and attestationContext: owner, purpose, data typesAnything users forget or hideLow, but incomplete

Identity provider logs

  • Microsoft Entra ID: the sign-in logs include interactive, non-interactive, service principal and managed identity sign-ins, each recording who signed in, which client application was used and which resource was accessed. Group by application to find apps that are not in your approved list.
  • Google Workspace: the Admin console under Security, Access and data control, API controls lists configured apps, accessed apps (apps that have used Google data) and apps pending review, with the number of users, the requested services and the OAuth scopes. Lists can be exported as CSV, and new apps typically appear 24 to 48 hours after authorisation.
  • Other IdPs: any IdP that logs application assignment and sign-in events can do the same; export them to your SIEM so they can be joined with other sources.

OAuth grant inventory

In Entra ID, the Permissions blade of each enterprise application shows admin-consented and user-consented grants. At scale, query Microsoft Graph: oauth2PermissionGrants returns delegated grants and appRoleAssignments returns application permissions. Sort by scope sensitivity (mail, files, directory write, offline access) and by number of consenting users. In Google Workspace, the accessed apps list gives the same view with scopes per app. See the SaaS and OAuth App Governance Guide and the Consent Phishing and Illicit OAuth Grants Guide.

Network and endpoint telemetry

Cloud discovery features in CASB and secure web gateway products match traffic logs against an app catalogue. Microsoft Defender for Cloud Apps, for example, documents a catalogue of more than 31,000 apps scored on more than 90 risk factors, ingestion from more than 40 firewall, proxy and gateway formats through manual upload, a log collector (Syslog or FTP) or endpoint integration, and a distinction between one-off snapshot reports and continuous reports. Continuous, agent-based collection matters because remote staff are often off the corporate network. See the CASB Guide and the Secure Web Gateway and Web Filtering Guide.

Email, finance and the browser

  • Email: searching inbound mail for vendor welcome, verification and invoice messages finds local-account sign-ups that no identity log can see. Agree the scope with privacy and HR first: search sender domains and subject patterns, not message bodies.
  • Finance: expense and card feeds reveal paid tools and their business owners, which is useful for triage.
  • Browser: managed browsers report installed extensions, and policies such as Chrome's ExtensionSettings can block extensions by ID or by the permissions they request. See the Browser Extension Security Guide.

Building one inventory

  1. Normalise the app identity: map domains, OAuth client IDs, IdP application IDs and vendor names to one canonical app record. A single vendor often has several domains and several client IDs.
  2. Attach users: for each app, record which users appear in which source and when last seen.
  3. Attach access: OAuth scopes, whether the grant is delegated or application-level, whether offline access (refresh tokens) is held.
  4. Attach context: business owner, data types, vendor risk rating, contract status.
  5. Feed the CMDB or SaaS register: the output becomes the software and services inventory that NIST CSF 2.0 ID.AM-02 and ID.AM-04 expect. See the Asset Inventory and CMDB Security Guide.

Triage and decision guidance

FindingDefault decisionAction
Many users, low-risk scopes, legitimate business needSanctionPut it behind SSO, assign an owner, add SCIM where available, move to a managed tenant
Duplicates an approved toolMigrate and retireTell users the approved alternative, set a cut-off date, then block
High-risk scopes (mail read, full drive, directory write) from an unverified publisherRevoke and blockRevoke grants, block the client ID, contact the users
One or two users, no data accessMonitorLeave unconfigured but visible; review if user count grows
Consumer AI tool handling company dataDecide under the AI use policyApprove an enterprise tier or block; see the Shadow AI Policy Template
Unknown app with application-level permissionsTreat as an incident until explainedInvestigate who consented and what was accessed
  • Small organisations: start with the IdP and OAuth grant views you already own, plus the card statement. That covers the riskiest apps for no extra spend.
  • Large organisations: add continuous network or endpoint discovery and browser telemetry, and give each business unit a SaaS owner who approves or rejects findings.
  • Blocking versus enabling: blocking without an alternative drives use to personal devices, where you see nothing. Publish an approved catalogue and a fast request route alongside any block.

Preventive controls that stop the growth

  • Restrict user consent: in Entra ID, Microsoft recommends allowing user consent only for apps from verified publishers and only for permissions classified as low impact (the microsoft-user-default-low policy), with the admin consent workflow enabled so users can request more. Changes apply to future consent only: existing grants must be reviewed and revoked separately, and a revoked grant can be re-consented unless consent is blocked.
  • Google Workspace access levels: set apps to Trusted, Limited, Specific Google data or Blocked, decide how unconfigured third-party apps are treated (allow, allow only basic sign-in, or block), and mark sensitive services such as Gmail and Drive as Restricted, which stops untrusted apps and revokes their tokens.
  • Browser policy: block extensions that request high-risk permissions and allow-list the ones the business needs. The Cyberhaven Chrome Extension Breach shows how a trusted extension can turn hostile after a single OAuth consent by its publisher.
  • Offboarding: include OAuth grants and known shadow apps in leaver processes. See the Employee Offboarding Security Guide.

Where identity fits, and where standards are going

Every shadow SaaS app is an identity problem: a local account outside SSO, a user's OAuth grant acting as a long-lived non-human credential, or an integration token held by a vendor. Treat the refresh tokens held by third-party apps as NHIs with owners, scopes and expiry. See the API Keys vs OAuth Tokens Guide.

The OpenID Foundation's IPSIE (Interoperability Profiling for Secure Identity in the Enterprise) working group profiles OpenID Connect, OAuth, SCIM and Shared Signals so that SaaS apps and identity providers interoperate with secure defaults. Its initial scope is single sign-on, lifecycle management, entitlements, risk signal sharing, logout and token revocation; its charter page lists discovering applications used within an enterprise, and monitoring and managing application usage, as topics it may also address. Nothing in IPSIE gives you discovery today, but apps that adopt IPSIE profiles will be easier to bring under SSO, provisioning and revocation once found. See the IPSIE (Interoperability Profiling for Secure Identity in the Enterprise) Guide.

Implementation roadmap

  1. Weeks 1 to 2, baseline: export IdP application lists and OAuth grants from Entra ID and Google Workspace; pull a year of card and expense data. Produce the first inventory.
  2. Weeks 2 to 4, stop the growth: restrict user consent, enable admin consent requests, set unconfigured app handling in Google Workspace. Pilot on one business unit first and watch the request volume for a week before going tenant-wide. Roll back by restoring the previous consent policy if critical workflows break.
  3. Weeks 4 to 8, revoke the worst: revoke high-risk grants from unverified publishers, after notifying users.
  4. Months 2 to 4, add telemetry: continuous network or endpoint discovery, browser extension reporting, email signal search with privacy approval.
  5. Ongoing: weekly triage of new apps, quarterly attestation by SaaS owners, annual review of the approved catalogue.

Detection and measurement

  • Alert on: new consent to mail, file or directory-write scopes; application-permission grants; an app seen for the first time with more than a threshold of users in a day; large uploads to unsanctioned cloud storage (ATT&CK T1567.002); new browser extensions with broad host permissions.
  • Investigate token theft paths: stolen application access tokens map to ATT&CK T1528 Steal Application Access Token.
MetricWhy it matters
Apps in inventory with a named owner (%)Ownership is what makes review possible
OAuth grants with high-risk scopes from unverified publishersShould trend to zero
Median days from first sighting to decisionShows the triage process keeps up
Share of sanctioned apps behind SSOMeasures the conversion from shadow to managed
Discovery source coverage (sources feeding the inventory)Fewer than three leaves known blind spots
Leavers with remaining third-party grants after 7 daysTests offboarding of shadow access

Framework mapping

FrameworkReferenceRelevance
NIST CSF 2.0ID.AM-02, ID.AM-04, GV.SC-04, DE.CM-03Software and supplier service inventory, supplier criticality, monitoring use
NIST SP 800-53 Rev. 5CM-8, CM-10, CM-11, SA-9, AC-20Inventory, software usage restrictions, user-installed software, external services, use of external systems
CIS Controls v8.1Control 2 Inventory and Control of Software AssetsOnly authorised software in use; see the CIS Control 2 Inventory and Control of Software Assets Guide
MITRE ATT&CKT1528, T1567.002, T1176.001Token theft, exfiltration to cloud storage, malicious browser extensions

Common failure patterns

  • Network-only discovery: relying on proxy logs while most staff work remotely, or while the riskiest apps are OAuth-connected and talk server to server, never through your network.
  • Inventory without decisions: a dashboard listing hundreds of apps that nobody owns or triages.
  • Revoking without restricting: revoked grants come back because user consent is still open.
  • Ignoring tokens held by vendors: the risk is not only what the app does today but what an attacker can do with its stored tokens after breaching the vendor, as the Vercel Context.ai OAuth Breach showed.
  • Blocking with no alternative: users move to personal accounts and devices, and the data goes with them.
  • Email search without governance: mailbox scanning started without privacy and works council review, which halts the programme.

Practitioner checklist

  • Export application and OAuth grant lists from every IdP and collaboration platform monthly.
  • Restrict user consent to verified publishers and low-impact permissions, with an admin consent request route.
  • Set a default for unconfigured third-party apps in Google Workspace and restrict Gmail and Drive.
  • Feed at least three discovery sources into one normalised inventory with owners.
  • Triage new apps weekly against a published decision table.
  • Revoke high-risk grants and block their client IDs; confirm they do not return.
  • Manage browser extensions by allow-list or by blocked permissions.
  • Add OAuth grants and known shadow apps to leaver processes.
  • Report the six metrics above to the SaaS governance forum each quarter.

Standards and references

Related NHI Mgmt Group resources: SaaS Security Guide · SaaS and OAuth App Governance Guide · Shadow AI Discovery Guide · Top 10 SaaS Security Risks · CASB Guide

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Researched and written by the NHI Mgmt Group editorial team using AI tools, under the editorial direction of Lalit Choda. Facts are drawn from the sources listed on this page and checked by our automated quality process. Last updated 27 October 2026. Spotted an error? Use our contact page.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM and Agentic AI security. nhimg.org

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick the PDF box to continue.