Configuring Tenant Restriction Headers for AI Tools with the AI Control Wizard

6 min. readlast update: 11.20.2026

ThreatLocker's Zero Trust AI Control page has an Add Policies wizard for each AI agent we track (ChatGPT, Claude, Claude Code, Cursor, Gemini, and Perplexity). For ChatGPT and Claude, the wizard adds Configuration Manager policies that allow your company's workspace or organization and block personal accounts on the same service. It does this by adding a tenant restriction header to every request the browser sends to that AI service. The header holds your organization's ID, and the AI vendor rejects any sign-in from an account outside that organization.

The wizard fills in the URL patterns and the header name for you. The only thing you need to supply is your organization's ID, which you copy from the AI vendor's admin page and paste into the Allowed Workspace ID field in the wizard. This article covers what the wizard sets for each AI tool and where to find your ID.

Header Reference

These values are set by the wizard. You only need to enter the ID.

ChatGPT

  • Patterns (set by wizard): chatgpt.com, openai.com
  • Header name (set by wizard): ChatGPT-Allowed-Workspace-Id
  • Value (you enter): your ChatGPT workspace ID

Claude

  • Patterns (set by wizard): claude.ai, claude.com, anthropic.com
  • Header name (set by wizard): Anthropic-Allowed-Org-ID
  • Value (you enter): your Anthropic organization ID (a UUID)

Where to Find Your Organization or Workspace ID

The ID comes from the AI vendor's admin page, so you'll need an owner or admin account for that workspace to see it.

ChatGPT (Enterprise, Edu, or Team)

  1. Sign in to chatgpt.com with a workspace Owner or Admin account.
  2. Open your profile menu and select Settings.
  3. Select the Workspace (or Organization) tab.
  4. Copy the Workspace ID. It is a UUID (for example, 3f2a9c1e-5b7d-4e8a-9c21-7d4e5f6a8b90).

Free and Plus accounts don't have a workspace ID. Only Enterprise, Edu, and Team workspaces can be allowed.

Claude / Anthropic

Anthropic has two kinds of organization, and each has its own ID. If your users use both the Claude app and the Anthropic API (Console), enter both IDs separated by a comma.

Claude Enterprise (claude.ai):

  1. Sign in to claude.ai with an organization Owner or Admin account.
  2. Go to Settings > Account (claude.ai/settings/account) and copy the Organization ID.
  3. Alternatively, go to Organization settings > Organization (claude.ai/admin-settings/organization); the ID is shown at the bottom of the page.

Anthropic Console (API):

  1. Sign in to the Anthropic Console (platform.claude.com) as an organization admin.
  2. Go to Settings > Organization (platform.claude.com/settings/organization) and copy the Organization ID.

Both IDs are UUIDs. Anthropic supports tenant restrictions for Enterprise and Console organizations; Team plans are not listed as supported.

Entering the ID in the AI Control Wizard

  1. In the Portal, open Zero Trust AI Control.
  2. Under AI in Your Organization, select + Add Policies next to ChatGPT or Claude. This opens the Add New AI Application wizard.
  3. Select Application: confirm the AI application, pick Entire Organization or a Computer Group, and choose Replace or Add to top for any existing policies. Click Next.
  4. Configure Policies: this lists the ThreatLocker recommended policies for the AI (AI Control, Allowed Application, Web Access or ZTCA, and Configuration Manager Policies). Expand Configuration Manager Policies to see what will be added. Click Next.
  5. Configuration Manager Settings: this is where you enter your ID. Under Http Headers and URL Values, the Patterns field is already filled in and locked. Paste your organization's ID into the Headers field. The text under the field shows how it will be used, for example: name ChatGPT-Allowed-Workspace-Id, value %AllowedWorkspaceID%.
  6. If Block access to a list of URLs in Incognito mode is also shown, enter the AI service's domains in List of URLs as shown under the field (for example chatgpt.com and openai.com, or anthropic.com, claude.com, and claude.ai).
  7. Click Next, review the policies on Review and Create, and click Create.

The ID you enter in step 5 is used in every tenant enforcement policy the wizard creates for that AI (Chrome, Edge, and, for ChatGPT, the ChatGPT In-App Browser).

Configuration Policies Created by the Wizard

ChatGPT

  • Configure ChatGPT Tenant and Account Enforcement on Chrome
  • Configure ChatGPT Tenant and Account Enforcement on Edge
  • Configure ChatGPT Tenant and Account Enforcement on ChatGPT's In-App Browser
  • Configure Incognito Mode Url Blocklist for ChatGPT
  • Configure InPrivate Mode Url Blocklist for ChatGPT

Claude

  • Configure Claude Tenant and Account Enforcement on Chrome
  • Configure Claude Tenant and Account Enforcement on Edge
  • Configure Incognito Mode Url Blocklist for Claude
  • Configure InPrivate Mode Url Blocklist for Claude
  • Enterprise Configuration for Claude Desktop

The Incognito and InPrivate blocklist policies are included because browsers don't inject headers in private browsing sessions. Blocking the AI domains in those modes closes that gap.

Enterprise Configuration for Claude Desktop

The Claude wizard also adds Enterprise Configuration for Claude Desktop. This one doesn't use a header. It sets Force Login Organization UUID in the Claude Desktop app so the app can only sign in to the organization you specify. After the wizard finishes, open this policy and paste the same Anthropic organization ID into Force Login Organization UUID. This only applies to Claude Team and Enterprise accounts.

Verifying and Troubleshooting

Confirm the policy reached the endpoint.

Once the computer has checked in, open Registry Editor on a test machine and look for the HttpHeaderInjection value under the browser's policy key (for example HKLM\SOFTWARE\Policies\Google\Chrome). You can also open chrome://policy (or edge://policy) and look for HttpHeaderInjection with your patterns and header listed. Restart the browser after the policy is first applied.

Test with a personal account.

On the test machine, sign in to the AI tool with an account that isn't in your workspace or organization. The sign-in should fail, or the site should refuse to accept prompts. Then sign in with an approved account and confirm it works.

Common problems

  • Personal accounts still work. The ID entered in the wizard is wrong or empty, or the policy isn't enabled. Open the policy under AI Configuration Manager Policies, confirm the header value is your organization's ID, and confirm Configuration Status is set to Enable Policy.
  • Personal accounts work in a private window. Browsers don't inject headers in Incognito or InPrivate sessions. Confirm the Incognito and InPrivate Mode Url Blocklist policies the wizard created are enabled.
  • Approved users get blocked too. The ID is wrong, has a typo, or came from the wrong Anthropic console (claude.ai vs. API Console). Copy the ID again from the vendor admin page. For Claude, include both the Enterprise and Console IDs if both are used.
  • Claude returns 403 tenant_restriction_violation for approved users. The org ID in the header doesn't match the organization the user belongs to. Check the ID against Settings > Account > Organization ID in claude.ai.
  • Site loads but prompts fail. This is expected. The site's homepage may load, and the restriction kicks in on sign-in or when the user submits a prompt. No action needed.
Was this article helpful?