← All resources
How-to

Tenant restrictions: how to keep work data out of personal Microsoft, Google and AI accounts

Staff can sign in to a personal Gmail, OneDrive or AI account in the same browser they use for work. Tenant restrictions decide which accounts may sign in at all.

How-to · 7 min read · By SafeToOpen Research · Published

An employee can be signed in to the company's Microsoft 365 in one tab and a personal OneDrive in the next, in the same browser on the same laptop. Tenant restrictions decide which of those accounts is allowed to sign in at all. They matter because personal accounts have become a main route for work data to leave. LayerX's browser telemetry found that 43% of SaaS applications in organisational networks are accessed with personal credentials, and that 67% of sign-ins to generative AI tools use personal accounts [1]. This guide explains how tenant restrictions work for Microsoft and Google, how the same idea applies to AI tools, and what to look for when you enforce them.

What are tenant restrictions?

A tenant is an organisation's own space inside a cloud service: its Microsoft Entra directory, its Google Workspace domain or its company workspace in an AI tool. Personal accounts live in the provider's consumer space, and other companies have tenants of their own.

Tenant restrictions tell the provider which tenants a user on your network or device may sign in to. The usual mechanism is an HTTP header added to requests going to the provider. The provider reads the header and refuses sign-in to anything not allowed, so a personal account or another company's tenant shows an error instead of an inbox. A typical policy lets staff sign in to your own tenant and to a short list of partner tenants, and refuses everything else.

This is different from blocking a website. The site stays open for work, and only the wrong accounts are refused.

Why personal accounts at work are a data loss problem

Personal accounts sit outside every control the organisation owns: no retention policy, no audit log, no offboarding and no say over how the provider uses the data.

Once data reaches a personal account, getting it back is hard. When Samsung engineers uploaded internal source code to ChatGPT in 2023, reporting noted that data typed into such tools sits on external servers, which makes retrieving and deleting it very difficult [5]. Samsung responded by temporarily restricting generative AI. Leavers add a quieter risk: a personal account used for work keeps its data long after the person's company account is closed.

1 in 5
Organisations that reported a breach due to shadow AI in IBM's 2025 Cost of a Data Breach research [6]

Bans rarely last. Giving staff an approved tool appears to work better. Over a year, Netskope saw the share of AI users relying on personal AI apps fall from 78% to 47%, while the share using organisation-managed accounts rose from 25% to 62% [3]. That still leaves almost half. Tenant restrictions close the remaining gap by making the approved account the only one that works.

How Microsoft tenant restrictions v2 works

Microsoft's first version of tenant restrictions put the list of allowed tenants in a header added by the corporate proxy. Version 2, often called TRv2, moves the policy into the cloud. The header now carries only your tenant ID and a policy ID. The policy itself is managed in the Microsoft Entra portal and can allow specific partner tenants, groups and apps, with no limit on the number of partners [7].

TRv2 enforces at two levels. Microsoft Entra refuses sign-ins to tenants the policy does not allow, and services such as Exchange Online, SharePoint Online, Teams and Microsoft Graph enforce it again when data is accessed. It can also block anonymous access to external Teams meetings and to files shared with anyone who has the link [8].

The weak point is getting the header onto the traffic. Microsoft describes three routes [7] [8]:

Each route leaves gaps: laptops at home that skip the proxy, Macs and unmanaged devices, and apps that the device policy does not reach.

How to block personal Google accounts in Chrome and Edge

Google uses a simpler header. A Chrome and Edge policy called AllowedDomainsForApps adds the X-GoogApps-Allowed-Domains header to every request to google.com domains, listing the Workspace domains users may sign in with. Microsoft's Edge documentation states the purpose plainly: to stop people on the corporate network using personal Gmail accounts [9].

Because it is a browser policy, it is deployed with the same tools as other browser settings, such as Intune or Group Policy. It covers Google only, and only in browsers that receive the policy.

Company-only AI workspaces: allowing the work account and refusing personal ones

AI tools are where the personal account problem is sharpest. Enterprise tiers solve part of it. When OpenAI launched ChatGPT Enterprise in 2023, it said it would not train on business data and added SSO, domain verification and an admin console [10]. Those features govern who joins the company workspace. They do not stop the same person opening a personal account in the next tab and pasting the same document there.

To make the company workspace the only one that works, you need a control that recognises which account or edition is in use at the moment of sign-in or paste. Ask each AI provider whether it supports a tenant restriction mechanism like Microsoft's or Google's, and what is needed to enforce it. Where it does not, a browser-level control that tells work and personal editions apart can warn or block instead.

Choose the approved tool before you restrict. A block without an approved alternative pushes people to their personal phones, where none of these controls apply.

Proxy, browser policy or extension: where to enforce tenant restrictions

MethodWhat it coversMain gap
Corporate or cloud proxyAny browser or app whose traffic it decryptsTraffic that bypasses it, and apps that refuse decryption
Browser policy (Chrome, Edge)Google consumer accounts in managed browsersOther browsers and other providers
Windows device policy (TRv2)Microsoft sign-ins from managed Windows devicesMacs, mobile devices and unmanaged laptops
Managed browser extensionHeaders and account checks in each browser where it is installedDesktop apps and browsers without the extension

Most organisations combine two or more methods. Whatever the mix, look for:

Roll out in stages. Start by logging which external tenants and consumer accounts staff use today, because many will be partners, customers or suppliers you need to allow. Block consumer accounts first, where the case is clearest, and tighten partner access once the allow list is right.

An extension that adds headers needs permission to change requests, so check what else it can read and where its data goes. Our guide on whether a browser security extension is safe to install covers what to ask. Tenant restrictions also do nothing about phishing or malicious pages, the other half of browser risk, which endpoint tools often miss.

Frequently asked questions

In version 1, the corporate proxy adds a header that lists every allowed tenant, so each change means editing the proxy. In version 2, the header carries only your tenant ID and a policy ID, and the policy lives in Microsoft Entra. Version 2 also enforces when data is accessed in services such as Exchange Online, SharePoint Online and Teams.

Only where something adds the header. On managed devices, a Windows or browser policy can add it wherever the laptop goes. A corporate proxy covers only the traffic routed through it. On personal devices you do not manage, tenant restrictions usually do not apply, so pair them with sign-in rules that require a managed device for sensitive apps.

Yes, with more than one control. The enterprise workspace, with SSO and domain verification, decides who joins it. To stop personal accounts on work devices, you also need a network or browser control that recognises which account is in use and warns or blocks the personal one. Ask the provider whether it supports a header-based workspace restriction.

See how SafeToOpen protects the browser

Browser Security judges every page as it loads and stops brand-new phishing before a password is typed.

Browser Security for organisations →

Sources

  1. LayerX Security, Browser Security Report 2025 (2025-11) go.layerxsecurity.com
  2. Help Net Security (on Verizon's 2025 DBIR), 2025 Data Breach Investigations Report: Third-party breaches double (2025-04) www.helpnetsecurity.com
  3. Netskope Threat Labs, Cloud and Threat Report: 2026 (2026-01) threatlabs.netskope.com
  4. Push Security, 7 things Omdia's latest report tells us about the SEB market (2026-05) pushsecurity.com
  5. CSO Online, Samsung bans staff AI use over data leak concerns (2023-05) www.csoonline.com
  6. IBM Newsroom (Cost of a Data Breach Report 2025), IBM Report: 13% of organizations reported breaches of AI models or applications, 97% of which reported lacking proper AI access controls (2025-07) newsroom.ibm.com
  7. Microsoft Entra Blog, Upgrade your tenant restrictions to v2 (2024-03) techcommunity.microsoft.com
  8. Microsoft Entra Blog, Tenant Restriction v2 is now Public Preview (2023-05) techcommunity.microsoft.com
  9. Microsoft Learn (Microsoft Edge Enterprise), Block access to consumer accounts (2023-03) learn.microsoft.com
  10. OpenAI, Introducing ChatGPT Enterprise (2023-08) openai.com

External statistics are attributed to their original publishers and were accurate at the time of writing. Figures from industry reports vary by methodology and period; we link to primary sources so you can verify them.

Could you spot the fake?

Put this into practice: 12 real-world scams and genuine messages, two minutes, no sign-up.

12 examples · 2 minutes
Parcel Delivery
SMS · just now

Your package is on hold. A redelivery fee of $1.99 is required: parcel-redeliver.info/pay

Warm-up question

Real, or a scam?

Correct. It’s a scam.
It got you. This one’s a scam.
  • A fee to release a parcel (couriers don’t do this)
  • The link isn’t the courier’s real domain
  • Urgency: pay now or lose the package

That was the warm-up. 12 more are waiting.