ADMX Viewer
Microsoft.Policies.DevTunnels• Machine

Allow only selected Microsoft Entra tenant IDs

Download ADMX

Users must authenticate within the given tenant list to access Dev Tunnels. When enabling this policy, multiple tenant IDs can be added by using a semicolon or a comma to separate each. This includes Dev Tunnels in Visual Studio, port forwarding built into Visual Studio Code, the devtunnel CLI, and the Visual Studio Code Remote - Tunnels extension. For more information, see: https://aka.ms/devtunnels/policies

Policy Details

Policy Name
RestrictedTenantAccess
Registry Key
SOFTWARE\Policies\Microsoft\DevTunnels
Value Name
TenantsRestricted
Supported On
Tunnel CLI 1.0.1249 or later; Visual Studio: 17.9.3 or later, Preview 17.10.0 or later; VSCode: 1.88.0-insider or later, stable 1.88.0 or later
Available Languages
en-us

Configuration Elements

Note: Enter Tenant IDs in format XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX, each separated by a semicolon or a comma.

Example: "a89cdb06-feb1-1c18-bbeb-ced80ac5fa9c; d80ccc58-4dd3-0d1b-c4ae-fb020b42960f"

Enter Allowed Tenant IDs:

Type: text

Max length: 150
Expandable: true