Cloud Policy Details
Computer Configuration > Administrative Templates > Windows Components > Tenant Restrictions
trv2_payload TenantRestrictions.admx Windows 11 25H2 3.0 Registry
| Key (computer) | HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\TenantRestrictions\Payload |
|---|---|
| Value name | none on the policy itself; the options below write their own values |
| Supported on | At least Windows 10 Version 1909 |
| Namespace | Microsoft.Policies.TenantRestrictions |
Options
Option Value written Type and range Default Cloud ID (optional): cloudid REG_SZ none Azure AD Directory ID: (required) tenantid REG_SZ none Policy GUID: (required) policyid REG_SZ none Enable firewall protection of Microsoft endpoints enforceFirewall on / off none Hostnames (optional): hostnames REG_MULTI_SZ none Subdomain Supported Hostnames (optional): subdomainSupportedHostnames REG_MULTI_SZ none IP Ranges (optional): ipRanges REG_MULTI_SZ none
What each state writes
Computed with the same rules RFF Conformance uses, with the default options. Pick your own options in the builder below.
'Azure AD Directory ID:' is required for 'Cloud Policy Details'.
HKLM\SOFTWARE\Policies\Microsoft\Windows\TenantRestrictions\Payload | cloudid | value removed |
HKLM\SOFTWARE\Policies\Microsoft\Windows\TenantRestrictions\Payload | tenantid | value removed |
HKLM\SOFTWARE\Policies\Microsoft\Windows\TenantRestrictions\Payload | policyid | value removed |
HKLM\SOFTWARE\Policies\Microsoft\Windows\TenantRestrictions\Payload | enforceFirewall | value removed |
HKLM\SOFTWARE\Policies\Microsoft\Windows\TenantRestrictions\Payload | hostnames | value removed |
HKLM\SOFTWARE\Policies\Microsoft\Windows\TenantRestrictions\Payload | subdomainSupportedHostnames | value removed |
HKLM\SOFTWARE\Policies\Microsoft\Windows\TenantRestrictions\Payload | ipRanges | value removed |
HKLM\SOFTWARE\Policies\Microsoft\Windows\TenantRestrictions\Payload | cloudid | value removed |
HKLM\SOFTWARE\Policies\Microsoft\Windows\TenantRestrictions\Payload | tenantid | value removed |
HKLM\SOFTWARE\Policies\Microsoft\Windows\TenantRestrictions\Payload | policyid | value removed |
HKLM\SOFTWARE\Policies\Microsoft\Windows\TenantRestrictions\Payload | enforceFirewall | value removed |
HKLM\SOFTWARE\Policies\Microsoft\Windows\TenantRestrictions\Payload | hostnames | value removed |
HKLM\SOFTWARE\Policies\Microsoft\Windows\TenantRestrictions\Payload | subdomainSupportedHostnames | value removed |
HKLM\SOFTWARE\Policies\Microsoft\Windows\TenantRestrictions\Payload | ipRanges | value removed |
In Intune
This is a Policy CSP setting, so it is in Intune's Settings Catalog by name. For a custom (OMA-URI) profile, use:
| OMA-URI (device) | ./Device/Vendor/MSFT/Policy/Config/TenantRestrictions/ConfigureTenantRestrictionsWindows builds: 10.0.22000, 10.0.20348.320, 10.0.19044, 10.0.19043.1320, 10.0.19042.1320, 10.0.19041.1320 |
|---|---|
| Data type | String |
| Value to enable | <enabled/><data id="PayloadCloudId" value="your cloud id (optional)"/><data id="PayloadTenantId" value="your azure ad directory id"/><data id="PayloadPolicyId" value="your policy guid"/><data id="EnforceFirewall" value="true"/><data id="PayloadHostnamesId" value="firstsecond"/><data id="PayloadSubdomainSupportedHostnamesId" value="firstsecond"/><data id="PayloadIpRangesId" value="firstsecond"/> |
| Value to disable | <disabled/> |
From Microsoft's Policy CSP DDF files (DDFv2Feb2026.zip, 2026-02-19).
Build it
Choose a state and options. You get the exact writes, a .reg file, a script that applies them, and a script that checks a machine and reports drift. Nothing leaves your browser.
Keep it set across your fleet
Group Policy writes these values once per refresh and never tells you when something changes them back. RFF Conformance reads them from every computer, shows which ones drifted and who changed them, and puts them back on approval, with each change versioned and undoable. It works without a domain controller.
Source: Windows 11 2025 Update (25H2), version 3.0, published by Microsoft 2026-02-02. Policy names and option labels are Microsoft's. Microsoft's full description of this setting: search Microsoft Learn.
ADMX Viewer is open source: github.com/deadarcher/AdmxViewer. Found a wrong registry value, a missing catalog, or a template that won't load? Open an issue, email brian@getrff.com, or use the form below.
Your note and the summary below are all that get sent. Your file stays on your machine.