Entra Private Access Device Access Overview

Microsoft recently introduced Device Access for Entra Private Access, now available in public preview with Global Secure Access (GSA) client v2.35.136. Device Access lets Windows devices connect to selected private resources before a user signs in. It’s especially useful for hybrid Entra-joined endpoints, which still rely on on-premises Active Directory for authentication, Group Policy, and management. For pre-logon connectivity, Device Access gives Entra Private Access feature parity with the Always On VPN device tunnel and the DirectAccess infrastructure tunnel, which removes one of the last obstacles for organizations moving from traditional VPN to Global Secure Access. However, it does not support the manage-out scenario that Always On VPN and DirectAccess provide. Microsoft’s documentation covers configuration in detail, so the following sections focus on what Device Access is, how it works, and what administrators should consider before deploying it.

The Pre-Logon Problem

Until now, the GSA client set up tunnels only after a user signed in, so devices couldn’t reach on-premises resources at startup or from the Windows sign-in screen. This matters most for hybrid Entra-joined endpoints. Entra-joined devices authenticate users against Entra ID and can sign in from anywhere with internet access. Hybrid-joined devices, however, are joined to on-premises Active Directory and must reach domain controllers and other on-premises infrastructure to complete several common tasks, including the following.

  • First-time sign-in for a user without cached credentials
  • Password changes and resets at the Windows sign-in screen
  • Computer and user Group Policy processing
  • Time synchronization with the domain hierarchy
  • Machine account password updates and other domain maintenance tasks
  • Connectivity to on-premises management tools such as Configuration Manager and WSUS

Without a pre-logon connection, remote hybrid-joined devices slowly drift out of compliance with on-premises policy, and new users or users with expired passwords must come into the office or use a separate VPN to sign in. As a result, many organizations kept Always On VPN or DirectAccess in place alongside Global Secure Access. Device Access closes this gap by keeping the device connected to the domain whenever it has internet access.

How Device Access Works

Device Access authenticates the device itself to Global Secure Access and opens a device tunnel for a selected set of private applications. The GSA client now runs in one of the following two contexts.

  • Device context: The device tunnel is active after a restart and before sign-in, after sign-out, while the session is locked, and after the device resumes from sleep or hibernation.
  • User context: Once the user signs in and user tunnels are established, existing connections drain over the device tunnel and new connections use the user tunnel. If the user context is no longer available, the client returns to the device context.

Feature Parity with Always On VPN and DirectAccess

Administrators familiar with Always On VPN and DirectAccess will recognize this model. The Always On VPN device tunnel and the DirectAccess infrastructure tunnel both connect before the user signs in. They give the device access to domain controllers, DNS, and management servers so that remote endpoints can be managed like devices on the corporate network. Device Access delivers the same pre-logon capability with Entra Private Access. Like those solutions, it’s best practice to limit the device tunnel to infrastructure resources and leave application access to the user tunnel, where Conditional Access and per-user policy apply. For organizations that want to replace Always On VPN or DirectAccess with Global Secure Access, Device Access closes the last major functional gap for pre-logon connectivity. Note that the Always On VPN device tunnel and DirectAccess support only domain-joined devices, but Device Access requires devices to be hybrid Entra-joined or Entra-joined. Organizations migrating from either platform should plan to complete hybrid join before rolling out Device Access.

No Manage-Out Support

One important Always On VPN and DirectAccess capability is not available with Device Access. Always On VPN and DirectAccess support manage-out, where administrators and management systems on the internal network initiate connections outbound to remote clients. Common examples include remote assistance, Remote Desktop, remote PowerShell, and on-premises tools that push software or scan endpoints. Manage-out works with those solutions because the remote client has an IP address that is routable on the internal network, either an address from the VPN client address pool with Always On VPN or an IPv6 address with DirectAccess. Entra Private Access works differently. The GSA client functions like a proxy, sending outbound connections through the Global Secure Access service to a Private Network Connector, which then connects to the internal resource on the client’s behalf. Internal resources see the connector server’s IP address, not the client’s, and the endpoint never receives a routable internal IP address. As a result, there’s no network path from the internal network back to the client, and Device Access doesn’t change that. Organizations that rely on manage-out today should identify cloud-based alternatives, such as Microsoft Intune for device management and remote actions, Intune Remote Help for remote assistance, and Microsoft Defender for Endpoint live response, before retiring Always On VPN or DirectAccess.

Key Components

Device Access builds on existing Entra Private Access components and adds a new type of forwarding profile. A deployment includes the following elements.

  • Device Access profile: A new Private Device Access profile, configured under Global Secure Access > Connect > Traffic forwarding > Device Access profiles. It has its own acquisition rules, priority, and status, independent of user-context forwarding profiles.
  • Per-application opt-in: Each private application the device needs must have the Enable Device Access with Global Secure Access setting turned on. This setting is off by default, and only applications with it enabled can be added to the profile.
  • Private DNS: Required for Active Directory scenarios so Windows can locate domain controllers using the on-premises DNS suffix. If Private DNS is configured on Quick Access, the profile uses only the Quick Access Private DNS definitions. It does not use the Quick Access application segments.
  • Assignments: The profile is assigned to devices (No devices, All devices, or Selected devices) and to the Windows platform.
Entra admin center enterprise application network access properties with Enable Device Access with Global Secure Access selected

Enable Device Access with Global Secure Access Setting

Requirements

Before deploying Device Access, administrators must meet the following prerequisites.

  • Windows devices that are hybrid Entra-joined or Entra-joined. Devices that are only domain-joined are not supported.
  • The Device Access-compatible GSA client (v2.35.136 or later), deployed through Intune or another MDM solution.
  • Private network connectors deployed for the networks that host the target resources.
  • Application segments for each private resource the device must reach, including domain controllers published as their own private application.
  • No additional license. Device Access is included with Global Secure Access for all currently eligible users.

Limitations

Device Access is currently in preview and has the following limitations.

  • Windows only.
  • Private Access traffic only. Internet Access and Microsoft 365 traffic is not tunneled in the device context.
  • No manage-out. Internal systems cannot start connections to remote clients.
  • Configuration changes can take several minutes to take effect.

Deployment Considerations

The device tunnel is active whenever no user is signed in, so administrators should treat it as a privileged path into the network. Enable Device Access only for the applications that devices actually need before sign-in, such as domain controllers, DNS, and management infrastructure. To stage a profile without applying it, set its status to Disabled or its device assignment to No devices, then roll it out to a pilot group first. To verify the profile on a client, open Advanced diagnostics > Forwarding profile > Device in the GSA client and use the Context column on the Traffic tab to see whether connections use the device or user tunnel. In the Entra admin center, filter traffic logs by the Device security principal type. If a device is lost or compromised, disable its device object in Entra ID and remove it from the Device Access profile assignment. Disabling the device object blocks the device tunnel.

GSA client Advanced diagnostics Forwarding profile tab with the Device view highlighted, showing Entra rules, Private pre-logon rules, and Private Access definitions

GSA Client Device Forwarding Profile

Summary

Device Access gives Entra Private Access pre-logon connectivity, which hybrid Entra-joined endpoints need for sign-in without cached credentials, password changes, Group Policy processing, and on-premises management. It matches the Always On VPN device tunnel and DirectAccess infrastructure tunnel for pre-logon scenarios and closes the last major functional gap for pre-logon connectivity between Global Secure Access and both solutions. However, because the GSA client functions like a proxy and the endpoint has no routable internal IP address, Device Access does not support manage-out, and organizations that depend on it will need an alternative approach. Organizations migrating from Always On VPN or DirectAccess should make sure their endpoints are hybrid Entra-joined, plan for manage-out alternatives, limit the device tunnel to infrastructure resources, and test with a pilot group, since the feature is still in preview.

Additional Information

Automating Entra App Proxy Certificates with CertKit (Managed Identity)

Microsoft Entra ID icon

In a recent post, I described how to configure CertKit to automatically deploy renewed TLS certificates to Microsoft Entra Application Proxy applications using an Entra app registration with client secret authentication. That method works anywhere, but it relies on a client secret that must be stored securely and rotated before it expires. When the CertKit agent runs on an Azure virtual machine or an Azure Arc-enabled server, CertKit can authenticate with a managed identity instead, eliminating the client secret entirely. This configuration uses the same least-privilege permissions as the client secret method. The following sections describe how to configure it using both PowerShell and the Azure portal.

Why Use a Managed Identity

A managed identity is an identity in Microsoft Entra ID that Azure manages on behalf of an Azure resource. It offers several advantages over a client secret, including the following.

  • No secret to manage. There’s no client secret to store, protect, or rotate, and no expiration date that can unexpectedly break certificate deployments.
  • Bound to a specific resource. The identity can only be used from the Azure resource it’s attached to. It can’t be copied out of a configuration file or password vault and used elsewhere.
  • Aligned with Microsoft guidance. Microsoft recommends managed identities over client secrets for workloads that support them.

There are tradeoffs, however. A managed identity is available only to Azure resources, so the CertKit agent must run on an Azure virtual machine or a server onboarded to Azure Arc. In addition, anyone who compromises that server can request tokens as the managed identity. Least privilege limits the impact, just as it does with a client secret. Managed identity authentication is an alternative to client secret authentication, not a replacement. For organizations without an Azure or Azure Arc presence, the client secret method remains a good choice.

Requirements

Using a managed identity with CertKit requires the following.

  • An Azure virtual machine or Azure Arc-enabled server. The CertKit agent must run on a server with a managed identity. Azure virtual machines support managed identities natively and don’t require Azure Arc. On-premises servers, or servers hosted in other clouds, must be onboarded to Azure Arc. The server doesn’t need to be domain-joined.
  • An Azure subscription in the same tenant. The Azure subscription must be associated with the same Microsoft Entra tenant where Application Proxy is configured.
  • Outbound internet access. The CertKit agent requires outbound HTTPS access to CertKit and Microsoft Graph. No inbound access or public IP address is required.
  • The Microsoft Graph PowerShell module on the agent host. The CertKit agent uses the Microsoft.Graph.Authentication module to sign in with the managed identity. Since the agent runs as Local System, the module must be installed for all users.
  • Microsoft Entra ID P1. This is already required for Application Proxy and custom roles. Assigning the role through Privileged Identity Management (PIM) requires Microsoft Entra ID P2 or Microsoft Entra ID Governance.

I recommend using a user-assigned managed identity. It’s a standalone Azure resource dedicated to CertKit, and it persists if the virtual machine is rebuilt or replaced. Azure Arc-enabled servers support only a system-assigned managed identity, which is shared with the Azure Arc agent and other services on the server.

Required Permissions for CertKit

The managed identity requires the same least-privilege permissions as the client secret method, including the following.

  • Application.Read.All. A read-only Microsoft Graph application permission CertKit uses to find App Proxy applications in the tenant.
  • A custom Entra role. A custom role, named App Proxy Certificate Manager in this example, with only three permissions: read Application Proxy settings, update the Application Proxy SSL certificate, and read connector groups.

This configuration follows security best practices and enforces least privilege. The managed identity can’t add credentials to applications, change API permissions, or grant consent. For more details on these permissions and why built-in roles such as Application Administrator should be avoided, see the client secret post. If you’ve already created the custom role for client secret authentication, you can reuse it.

Create the Managed Identity

A user-assigned managed identity is an Azure resource, so it’s created in the Azure portal rather than the Entra admin center. Create it and attach it to the virtual machine running the CertKit agent using the following steps.

Create the User-Assigned Managed Identity

To begin, create the managed identity.

  1. In the Azure portal, search for Managed Identities and click Create.
  2. Select the subscription, resource group, and region, and enter a name, such as certkit-app-proxy.
  3. Click Review + create, then Create.
  4. On the managed identity’s Overview page, record the Client ID. CertKit and the configuration script both use this value.
The Overview page of the certkit-app-proxy user-assigned managed identity in the Azure portal, with an arrow pointing to the Client ID.

Attach the Managed Identity to the Virtual Machine

Next, attach the managed identity to the virtual machine running the CertKit agent.

  1. Open the virtual machine and navigate to Security > Identity.
  2. Select the User assigned tab and click Add.
  3. Select the managed identity and click Add.
The User assigned tab of the virtual machine's Identity page in the Azure portal, showing the certkit-app-proxy managed identity attached.

Alternatively, attach the managed identity using the Azure CLI in Azure Cloud Shell. Replace the resource group, virtual machine name, and managed identity resource ID with your own. The resource ID is shown on the managed identity’s Properties page.

az vm identity assign --resource-group <resourceGroup> --name <vmName> --identities <managedIdentityResourceId>

Install the Microsoft Graph PowerShell Module on the Agent Host

With managed identity authentication, the CertKit agent signs in to Microsoft Graph locally on the server using the Microsoft.Graph.Authentication PowerShell module. The agent runs as Local System, so the module must be installed for all users. On the server running the CertKit agent, open an elevated Windows PowerShell command window and run the following command.

Install-Module -Name Microsoft.Graph.Authentication -Scope AllUsers -Repository PSGallery -Force

Be sure to use Windows PowerShell, not PowerShell 7. The two use separate module locations, and the CertKit agent uses Windows PowerShell. If the module is missing, CertKit deployments fail with an error indicating that Microsoft.Graph.Authentication is not installed.

Configuration Using PowerShell

You can grant the managed identity its permissions in a single run using my New-CertKitAppProxyIdentity.ps1 PowerShell script on GitHub. Specify the managed identity’s client ID with the -ManagedIdentityId parameter, and the script creates the custom role if it doesn’t already exist, grants Application.Read.All, and assigns the role. Add -UsePim to assign the role through PIM, and -TenantId if your account has access to more than one tenant. The script confirms the identity is a managed identity before making any changes. Alternatively, follow the manual steps below, which show exactly what the script does. Either way, you’ll need the Microsoft.Graph.Authentication module on your workstation. Install it using the following command.

Install-Module -Name Microsoft.Graph.Authentication -Scope CurrentUser

Then run the script, replacing <clientId> with the managed identity’s client ID.

New-CertKitAppProxyIdentity.ps1 -ManagedIdentityId <clientId> -UsePim

When the script finishes, it displays the managed identity’s name and client ID. Skip ahead to Configure CertKit to complete the configuration. To configure the managed identity manually instead, follow the steps below.

Connect to Microsoft Graph

First, connect to Microsoft Graph with an account that can create custom roles, grant application permissions, and assign directory roles, such as Privileged Role Administrator or Global Administrator. If your account has access to more than one tenant, add -TenantId with the tenant ID or domain name to sign in to the correct tenant.

Connect-MgGraph -Scopes 'Application.Read.All', 'AppRoleAssignment.ReadWrite.All', 'RoleManagement.ReadWrite.Directory' -NoWelcome

Find the Managed Identity

Next, find the managed identity’s service principal using its client ID. Confirm that servicePrincipalType is ManagedIdentity before continuing.

$Mi = (Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/servicePrincipals?`$filter=appId eq '<clientId>'&`$select=id,appId,displayName,servicePrincipalType").value[0]
$Mi

Create the Custom Role

If you haven’t already created the custom role for client secret authentication, create it now. Otherwise, retrieve the existing role.

$RoleBody = @{
displayName = 'App Proxy Certificate Manager'
description = 'Can read Application Proxy settings and update the Application Proxy SSL certificate. Used by CertKit.'
isEnabled = $true
rolePermissions = @(@{
allowedResourceActions = @(
'microsoft.directory/applications/applicationProxy/read'
'microsoft.directory/applications/applicationProxySslCertificate/update'
'microsoft.directory/connectorGroups/allProperties/read'
)
})
}
$Role = Invoke-MgGraphRequest -Method POST -Uri 'https://graph.microsoft.com/v1.0/roleManagement/directory/roleDefinitions' -Body $RoleBody

To retrieve an existing role instead, use the following command.

$Role = (Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/roleManagement/directory/roleDefinitions?`$filter=displayName eq 'App Proxy Certificate Manager'").value[0]

Grant the Application.Read.All Permission

Next, grant the managed identity the read-only Microsoft Graph application permission Application.Read.All. Assigning the permission this way also grants admin consent.

$GraphSp = (Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/servicePrincipals?`$filter=appId eq '00000003-0000-0000-c000-000000000000'&`$select=id,appRoles").value[0]
$AppRoleId = ($GraphSp.appRoles | Where-Object { $_.value -eq 'Application.Read.All' -and $_.allowedMemberTypes -contains 'Application' }).id
$Grant = @{
principalId = $Mi.id
resourceId = $GraphSp.id
appRoleId = $AppRoleId
}
Invoke-MgGraphRequest -Method POST -Uri "https://graph.microsoft.com/v1.0/servicePrincipals/$($Mi.id)/appRoleAssignments" -Body $Grant

Assign the Custom Role

Finally, assign the custom role to the managed identity, scoped to the entire tenant.

$Body = @{
'@odata.type' = '#microsoft.graph.unifiedRoleAssignment'
roleDefinitionId = $Role.id
principalId = $Mi.id
directoryScopeId = '/'
}
Invoke-MgGraphRequest -Method POST -Uri 'https://graph.microsoft.com/v1.0/roleManagement/directory/roleAssignments' -Body $Body

If your tenant is licensed for Microsoft Entra ID P2 or Microsoft Entra ID Governance, assign the role through Privileged Identity Management (PIM) instead. Role assignments made outside PIM aren’t tracked by PIM and trigger a high-severity alert. Managed identities support only active assignments in PIM, so the following command creates a permanent active assignment. If the custom role was just created, PIM can take several minutes to recognize it. If the command fails with a RoleNotFound error, wait a few minutes and try again.

$Body = @{
action = 'adminAssign'
justification = 'CertKit certificate deployment to Entra Application Proxy'
roleDefinitionId = $Role.id
directoryScopeId = '/'
principalId = $Mi.id
scheduleInfo = @{
startDateTime = (Get-Date).ToUniversalTime().ToString('o')
expiration = @{ type = 'noExpiration' }
}
}
Invoke-MgGraphRequest -Method POST -Uri 'https://graph.microsoft.com/v1.0/roleManagement/directory/roleAssignmentScheduleRequests' -Body $Body

Configuration Using the Entra Admin Center

The Microsoft Entra admin center can’t grant Microsoft Graph application permissions to a managed identity, so the Application.Read.All permission must be granted using PowerShell, as shown above. The custom role can be created and assigned in the Entra admin center, however. Create the custom role as described in the client secret post if it doesn’t already exist, then assign it using the following steps.

  1. Navigate to Entra ID > Roles & admins, then search for and select App Proxy Certificate Manager.
  2. Click Add assignments, then Select member(s).
  3. Search for the managed identity by name, select it, and click Select.
  4. If Privileged Identity Management (PIM) is enabled, click Next, set the assignment type to Active and Permanently assigned, enter a justification, and click Assign. Without PIM, click Add.

Configure CertKit

With the managed identity configured, create a new deployment in CertKit using the Microsoft Entra Application Proxy (Managed Identity Auth) template for the agent running on the virtual machine. Select the certificate to deploy, then enter the user-assigned managed identity’s client ID in the Managed identity field. To use a system-assigned managed identity instead, such as on an Azure Arc-enabled server, leave the field set to system. No tenant ID or client secret is required. Then list the App Proxy applications to update by name, separated by commas, or enter an asterisk (*) as an app list wildcard to update all of them. If you update all applications, be sure to use a wildcard or multi-SAN certificate that covers the external URL of every App Proxy application you want CertKit to manage.

A CertKit deployment using the Microsoft Entra Application Proxy (Managed Identity Auth) template, with the managed identity client ID entered and the app list wildcard set to update all App Proxy applications.

Deploy and Validate

After saving the CertKit deployment, wait a few minutes for the role assignment and API permission to take effect, then run the deployment. A successful run shows CertKit signing in as the user-assigned managed identity, then lists each App Proxy application, whether its external URL is covered by the certificate, and the thumbprint Entra reports after the update.

Update command output:
Microsoft Entra Application Proxy Deployment | Apps: *
[Step 1] Reading certificate...
Certificate: | Thumbprint: <redacted> | Expires: 2026-11-30
Covers: *.example.net, example.net
[Step 2] Signing in to Microsoft Graph...
Signed in as the user-assigned managed identity <redacted> (tenant <redacted>)
Graph permissions: Application.Read.All
Warning: The identity has no Microsoft Graph permission to update apps. Unless an Entra role allows it, uploads will be refused. Grant the application permission Application.ReadWrite.OwnedBy (admin consented) and add the identity as an owner of each App Proxy app.
[Step 3] Finding App Proxy apps...
Found 8 App Proxy app(s)
App1 (https://app1.example.net/): covered by this certificate
Private Access App 1: skipped, a Global Secure Access (Private Access) app, which has no TLS certificate
Private Access App 2: skipped, a Global Secure Access (Private Access) app, which has no TLS certificate
App2 (https://app2.example.net/): covered by this certificate
App3 (https://app3.example.net/): covered by this certificate
App4 (https://app4.example.net/): covered by this certificate
App5 (https://app5.example.net/): covered by this certificate
App6 (https://app6.example.net/): covered by this certificate
[Step 4] Uploading certificate...
App1 (https://app1.example.net/): updated (Entra reports thumbprint <redacted>, expires 2026-11-30)
App2 (https://app2.example.net/): updated (Entra reports thumbprint <redacted>, expires 2026-11-30)
App3 (https://app3.example.net/): updated (Entra reports thumbprint <redacted>, expires 2026-11-30)
App4 (https://app4.example.net/): updated (Entra reports thumbprint <redacted>, expires 2026-11-30)
App5 (https://app5.example.net/): updated (Entra reports thumbprint <redacted>, expires 2026-11-30)
App6 (https://app6.example.net/): updated (Entra reports thumbprint <redacted>, expires 2026-11-30)
DONE | Updated 6 app(s), 0 already had the certificate. Entra takes a minute or two to start serving it.

CertKit displays a warning that the identity has no Graph permission to update apps, but you can safely ignore it, because the custom role grants that access. App Proxy can take several minutes to begin serving the new certificate. To confirm the certificate the endpoint is serving, use my Get-TlsCertificate PowerShell script, as described in the client secret post.

Get-TlsCertificate -Hostname app1.example.net

Removing the Configuration

To remove CertKit’s permissions from the managed identity, use my Remove-CertKitAppProxyIdentity.ps1 PowerShell script with the -ManagedIdentityId parameter. The script removes the role assignment and the Application.Read.All permission. It doesn’t delete the managed identity, which is an Azure resource, and it keeps the custom role if another identity still uses it. This makes it safe to move from client secret authentication to a managed identity, or back, without breaking the other deployment.

.\Remove-CertKitAppProxyIdentity.ps1 -ManagedIdentityId <clientId>

Summary

When the CertKit agent runs on an Azure virtual machine or an Azure Arc-enabled server, a managed identity eliminates the client secret, removing the need to store, protect, and rotate it. The managed identity uses the same custom Entra role and read-only Application.Read.All permission as the client secret method, so this configuration follows security best practices and enforces least privilege. For organizations without an Azure or Azure Arc presence, client secret authentication remains a secure and effective alternative.

Additional Information

Getting Started with CertKit

Need help automating TLS certificate deployment for Entra Application Proxy, Always On VPN, DirectAccess, IIS, SQL, and more? I can help you design and implement a secure, least-privilege certificate automation strategy with CertKit across your internal and public-facing workloads. Fill out the form below, and I’ll provide you with more information.

← Back

Thank you for your response. ✨

What’s New in Entra Global Secure Access Client for Windows v2.35.136

Microsoft Entra Global Secure Access

On November 16, 2026, Microsoft released a preview update for the Entra Global Secure Access (GSA) client. This latest release, v2.35.136, introduces Device Access, a long-awaited feature that provides Private Access connectivity before the user signs in to Windows. It also adds a new user interface indicator for agent traffic and fixes the GSA traceroute tool, along with memory and telemetry improvements.

Changes in v2.35.136

GSA client v2.35.136 includes the following new features and enhancements.

Device Access (Preview)

Until now, the GSA client established tunnels only in the user context. With Device Access, the GSA client can now authenticate the device itself and tunnel selected Entra Private Access traffic before a user signs in. Administrators familiar with Always On VPN will recognize this as functionally similar to the Always On VPN device tunnel. Device Access supports common pre-logon scenarios, including the following.

  • First-time sign-in and sign-in without cached credentials
  • Password change and reset workflows that require domain controller connectivity
  • Domain controller access during sign-in for authentication, time synchronization, and Group Policy processing
  • Connectivity to on-premises management services such as Configuration Manager and WSUS

Device Access is one of the most requested capabilities for Entra Private Access. It closes an important gap for organizations migrating from traditional VPN, especially those using hybrid-Entra-joined endpoints. There is a lot to cover with this feature, including requirements, configuration, and operational considerations. I cover Device Access in detail in Entra Private Access Device Access Overview.

Agent Traffic Indicator

The GSA client user interface now indicates when the client is configured, via the traffic forwarding profile, to acquire only agent traffic. This makes it easier for administrators and users to understand why other traffic is not being tunneled through GSA.

GSA Traceroute Fixed

In my previous post about GSA client v2.34.222, I noted that the new GUI version of the GSA traceroute tool (GsaTracert.exe) was broken. Launching the tool returned an error indicating it could not retrieve the forwarding profile from the registry. I’m happy to report that this issue is resolved in GSA client v2.35.136, and GsaTracert.exe now works as expected. The tool, which now opens as the Private Access Diagnostic Tool, includes the following two tabs.

  • RTT: Monitors round-trip latency through the GSA Private Access tunnel in real time. Administrators enter a destination as an application ID or host:port, and the tool displays latency for each segment of the path, from the client to the GSA point of presence (PoP), the Private Access gateway, and the Private Network Connector, along with the total. It also reports current, average, and 95th percentile (P95) RTT using a configurable sample rate.
  • Throughput: Measures download and upload throughput through the GSA Private Access tunnel using a configurable payload size. Results include average and P95 values, along with a history of each test and the PoP location used.

Results from both tests can be exported to a CSV file for further analysis or to share with Microsoft support when troubleshooting performance issues.

GSA Private Access Diagnostic Tool showing round-trip latency from the client through the PoP, Private Access Gateway, and connector

GSA Traceroute Round-Trip Time (RTT)

GSA Private Access Diagnostic Tool Throughput tab showing download and upload speeds through the Private Access tunnel

GSA Traceroute Throughput

Additional Changes

In addition to the changes highlighted above, the new GSA client includes the following additional enhancements.

  • Memory improvements
  • Telemetry changes
  • Bug fixes and other miscellaneous improvements

Summary

GSA client v2.35.136 delivers one of the most requested capabilities for Entra Private Access. Device Access enables pre-logon scenarios such as first-time sign-in, password resets, and Group Policy processing, making it much easier for organizations to move away from traditional VPN. This release also restores a working GSA traceroute tool for troubleshooting. Since this release and the Device Access feature are both in preview, organizations should test thoroughly with a pilot group before broad deployment.

Additional Information

Automating Entra App Proxy Certificates with CertKit (Client Secret)

Microsoft Entra ID icon

Microsoft Entra Application Proxy applications published with custom domains require a public TLS certificate, and keeping those certificates current is a manual, error-prone task when done in the Entra admin center. With the industry moving to 47-day public TLS certificates by 2029, automation is quickly becoming a requirement rather than a convenience. I recently configured CertKit to automatically deploy renewed certificates to my Entra App Proxy applications using an Entra app registration with client secret authentication. This configuration follows security best practices and enforces least privilege, granting CertKit only the access it needs to find App Proxy applications and update their certificates. The following sections describe how to configure it using both PowerShell and the Entra admin center. CertKit also supports managed identity authentication, which I cover in Automating Entra App Proxy Certificates with CertKit (Managed Identity).

CertKit Deployment Options

CertKit can deploy a certificate to Entra App Proxy in one of two ways.

  • Individual applications. CertKit updates only the App Proxy applications you specify.
  • All applications. CertKit enumerates every App Proxy application in the tenant, determines which ones have an external URL covered by the certificate, and updates each of them.

If you choose to update all applications, be sure to use a wildcard or multi-SAN (subject alternative name) certificate that covers the external URL of every App Proxy application you want CertKit to manage. CertKit updates only applications whose external URL matches a name on the certificate, so a certificate with a single name updates only the application that uses that name. CertKit also skips Global Secure Access (Private Access) applications, such as Enterprise Quick Access. These applications appear alongside App Proxy applications, but they don’t use a TLS certificate, so there’s nothing to update.

Why 6-Day Certificates

In my lab, I’m using Let’s Encrypt’s short-lived 6-day certificates. Testing and evaluating certificate automation is much easier with short-lived certificates, because renewals happen every few days rather than every few months. Any problem with the renewal or deployment process shows up quickly, and I can confirm the automation works reliably across many renewal cycles in a short time. Short-lived certificates leave little margin for error, though, so I don’t recommend them in production until the automation is proven.

Required Permissions for CertKit

Create a dedicated Entra app registration for CertKit. CertKit uses this identity to sign in to Microsoft Graph, and it requires only the following permissions.

  • Application.Read.All. A read-only Microsoft Graph application permission CertKit uses to find App Proxy applications in the tenant.
  • A custom Entra role. A custom role, named App Proxy Certificate Manager in this example, with only three permissions: read Application Proxy settings, update the Application Proxy SSL certificate, and read connector groups.

This configuration enforces least privilege. Built-in roles such as Application Administrator also work, but they grant far more access than CertKit needs, including the ability to add credentials to any application in the tenant, a well-known privilege escalation path. With the custom role, CertKit can’t add credentials, change API permissions, or grant consent. Custom roles require Microsoft Entra ID P1, which is already required for Application Proxy. CertKit displays a warning that the identity has no Graph permission to update apps, but you can safely ignore it, because the custom role grants that access.

Configuration Using PowerShell

You can perform this configuration in a single run using my New-CertKitAppProxyIdentity.ps1 PowerShell script on GitHub, which creates the app registration, custom Entra role, Application.Read.All permission, role assignment, and client secret for CertKit. If your account has access to more than one tenant, use the -TenantId parameter to specify the tenant to configure. The script displays the connected tenant before making any changes. Alternatively, follow the manual steps below, which show exactly what the script does. Either way, you’ll need the Microsoft.Graph.Authentication module from the Microsoft Graph PowerShell SDK, since every call uses Invoke-MgGraphRequest. Install it using the following command.

Install-Module -Name Microsoft.Graph.Authentication -Scope CurrentUser

To use the script, run New-CertKitAppProxyIdentity.ps1, adding -UsePim to assign the role through PIM. When the script finishes, it copies the client secret to the clipboard and displays the tenant ID and client ID. Skip ahead to Configure CertKit to complete the configuration. To configure the app registration manually instead, follow the steps below.

Connect to Microsoft Graph

First, connect to Microsoft Graph with an account that can create custom roles, grant application permissions, and assign directory roles, such as Privileged Role Administrator or Global Administrator. If your account has access to more than one tenant, add -TenantId with the tenant ID or domain name to sign in to the correct tenant.

Connect-MgGraph -Scopes 'Application.ReadWrite.All', 'AppRoleAssignment.ReadWrite.All', 'RoleManagement.ReadWrite.Directory' -NoWelcome

Create the App Registration

Next, create a dedicated app registration for CertKit. The command displays the application (client) ID, which CertKit needs later.

$NewApp = Invoke-MgGraphRequest -Method POST -Uri 'https://graph.microsoft.com/v1.0/applications' -Body @{ displayName = 'CertKit App Proxy Deployment'; signInAudience = 'AzureADMyOrg' }
$NewApp.appId

Create the Service Principal

App registrations created with Graph don’t get a service principal automatically, so create one. The role and API permission are assigned to the service principal, not the app registration.

$NewSp = Invoke-MgGraphRequest -Method POST -Uri 'https://graph.microsoft.com/v1.0/servicePrincipals' -Body @{ appId = $NewApp.appId }

Create the Custom Role

Now create a custom role that can only read Application Proxy settings and update the Application Proxy SSL certificate.

$RoleBody = @{
displayName = 'App Proxy Certificate Manager'
description = 'Can read Application Proxy settings and update the Application Proxy SSL certificate. Used by CertKit.'
isEnabled = $true
rolePermissions = @(@{
allowedResourceActions = @(
'microsoft.directory/applications/applicationProxy/read'
'microsoft.directory/applications/applicationProxySslCertificate/update'
'microsoft.directory/connectorGroups/allProperties/read'
)
})
}
$Role = Invoke-MgGraphRequest -Method POST -Uri 'https://graph.microsoft.com/v1.0/roleManagement/directory/roleDefinitions' -Body $RoleBody

Grant the Application.Read.All Permission

Next, grant the service principal the read-only Microsoft Graph application permission Application.Read.All. Assigning the permission this way also grants admin consent.

$GraphSp = (Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/servicePrincipals?`$filter=appId eq '00000003-0000-0000-c000-000000000000'&`$select=id,appRoles").value[0]
$AppRoleId = ($GraphSp.appRoles | Where-Object { $_.value -eq 'Application.Read.All' -and $_.allowedMemberTypes -contains 'Application' }).id
$Grant = @{
principalId = $NewSp.id
resourceId = $GraphSp.id
appRoleId = $AppRoleId
}
Invoke-MgGraphRequest -Method POST -Uri "https://graph.microsoft.com/v1.0/servicePrincipals/$($NewSp.id)/appRoleAssignments" -Body $Grant

Assign the Custom Role

Now assign the custom role to the service principal, scoped to the entire tenant.

$Body = @{
'@odata.type' = '#microsoft.graph.unifiedRoleAssignment'
roleDefinitionId = $Role.id
principalId = $NewSp.id
directoryScopeId = '/'
}
Invoke-MgGraphRequest -Method POST -Uri 'https://graph.microsoft.com/v1.0/roleManagement/directory/roleAssignments' -Body $Body

If your tenant is licensed for Microsoft Entra ID P2 or Microsoft Entra ID Governance, assign the role through Privileged Identity Management (PIM) instead. Role assignments made outside PIM aren’t tracked by PIM and trigger a high-severity alert. Service principals support only active assignments in PIM, so the following command creates a permanent active assignment.

$Body = @{
action = 'adminAssign'
justification = 'CertKit certificate deployment to Entra Application Proxy'
roleDefinitionId = $Role.id
directoryScopeId = '/'
principalId = $NewSp.id
scheduleInfo = @{
startDateTime = (Get-Date).ToUniversalTime().ToString('o')
expiration = @{ type = 'noExpiration' }
}
}
Invoke-MgGraphRequest -Method POST -Uri 'https://graph.microsoft.com/v1.0/roleManagement/directory/roleAssignmentScheduleRequests' -Body $Body

Create the Client Secret

Finally, create a client secret. I’ve chosen a 1-year expiration, but you can choose a shorter or longer period as you see fit by changing the AddYears(1) value. For example, use AddMonths(6) for a 6-month expiration or AddYears(2) for 2 years. The secret is copied to the clipboard rather than displayed on screen, which keeps it out of console history and screen recordings. The secret value can’t be retrieved later, so paste it into CertKit right away.

$Params = @{
passwordCredential = @{
displayName = 'CertKit'
endDateTime = (Get-Date).AddYears(1).ToString('o')
}
}
$Secret = Invoke-MgGraphRequest -Method POST -Uri "https://graph.microsoft.com/v1.0/applications/$($NewApp.id)/addPassword" -Body $Params
$Secret.secretText | Set-Clipboard

After pasting the secret into CertKit, clear the clipboard.

Set-Clipboard -Value $null

Configuration Using the Entra Admin Center

The same configuration can be performed in the Microsoft Entra admin center using an account that can create custom roles, grant application permissions, and assign directory roles, such as Privileged Role Administrator or Global Administrator.

Create the App Registration

To begin, create the app registration. The admin center creates the service principal (enterprise application) automatically.

  1. Navigate to Entra ID > App registrations and click New registration.
  2. Enter CertKit App Proxy Deployment for the name.
  3. Select Accounts in this organizational directory only.
  4. Leave the redirect URI blank and click Register.
  5. On the Overview page, record the Application (client) ID and Directory (tenant) ID.
The Overview page of the CertKit App Proxy Deployment app registration, showing the Application (client) ID and Directory (tenant) ID.

Grant the Application.Read.All Permission

Next, grant the app registration the read-only Application.Read.All permission.

  1. In the app registration, navigate to API permissions. Select the delegated User.Read permission the admin center adds by default and click Remove permission, since CertKit doesn’t use it.
  2. Click Add a permission, then Microsoft Graph > Application permissions.
  3. Search for and select Application.Read.All, then click Add permissions.
  4. Click Grant admin consent for your tenant and click Yes.

Create the Client Secret

Next, create a client secret for CertKit to authenticate with. I’ve chosen a 1-year expiration, but you can choose a shorter or longer period as you see fit.

  1. In the app registration, navigate to Certificates & secrets > Client secrets and click New client secret.
  2. Enter CertKit for the description and select 365 days (12 months) for the expiration.
  3. Click Add, then copy the Value immediately. Don’t copy the Secret ID. The value is displayed only once.

Create the Custom Role

Now create the custom role.

  1. Navigate to Entra ID > Roles & admins and click New custom role.
  2. Enter App Proxy Certificate Manager for the name, add a description, and click Next.
  3. On the Permissions page, search for and select microsoft.directory/applications/applicationProxy/read, microsoft.directory/applications/applicationProxySslCertificate/update, and microsoft.directory/connectorGroups/allProperties/read, then click Next.
  4. Review the settings and click Create.

Assign the Custom Role

Finally, assign the custom role to the new identity.

  1. Navigate to Entra ID > Roles & admins, then search for and select App Proxy Certificate Manager.
  2. Click Add assignments, then Select member(s).
  3. Search for CertKit App Proxy Deployment, select it, and click Select.
  4. If Privileged Identity Management (PIM) is enabled, click Next, set the assignment type to Active and Permanently assigned, enter a justification, and click Assign. Without PIM, click Add.
The App Proxy Certificate Manager role's Active assignments tab in Privileged Identity Management, showing CertKit App Proxy Deployment permanently assigned as a service principal.

Configure CertKit

With the app registration in place, create a new deployment in CertKit using the Microsoft Entra Application Proxy (Client Secret Auth) template. Select the certificate to deploy, and enter the directory (tenant) ID, application (client) ID, and client secret from the app registration. Then list the App Proxy applications to update by name, separated by commas, or enter an asterisk (*) as an app list wildcard to update all of them.

A CertKit deployment using the Microsoft Entra Application Proxy (Client Secret Auth) template, with the wildcard set to update all App Proxy applications.

Deploy and Validate

After saving the CertKit deployment and deploying the changes, wait a few minutes for the role assignment and API permission to take effect, then run the deployment. A successful run lists each App Proxy application, whether its external URL is covered by the certificate, and the thumbprint Entra reports after the update.

Update command output:
Microsoft Entra Application Proxy Deployment | Apps: *
[Step 1] Reading certificate...
Certificate: | Thumbprint: <redacted> | Expires: 2026-11-21
Covers: *.example.net, example.net
[Step 2] Signing in to Microsoft Graph...
Signed in as the app registration <redacted> (tenant <redacted>)
Graph permissions: Application.Read.All
Warning: The identity has no Microsoft Graph permission to update apps. Unless an Entra role allows it, uploads will be refused. Grant the application permission Application.ReadWrite.OwnedBy (admin consented) and add the identity as an owner of each App Proxy app.
[Step 3] Finding App Proxy apps...
Found 7 App Proxy app(s)
App1 (https://app1.example.net/): covered by this certificate
Private Access App: skipped, a Global Secure Access (Private Access) app, which has no TLS certificate
App2 (https://app2.example.net/): covered by this certificate
App3 (https://app3.example.net/): covered by this certificate
App4 (https://app4.example.net/): covered by this certificate
App5 (https://app5.example.net/): covered by this certificate
App6 (https://app6.example.net/): covered by this certificate
[Step 4] Uploading certificate...
App1 (https://app1.example.net/): updated (Entra reports thumbprint <redacted>, expires 2026-11-21)
App2 (https://app2.example.net/): updated (Entra reports thumbprint <redacted>, expires 2026-11-21)
App3 (https://app3.example.net/): updated (Entra reports thumbprint <redacted>, expires 2026-11-21)
App4 (https://app4.example.net/): updated (Entra reports thumbprint <redacted>, expires 2026-11-21)
App5 (https://app5.example.net/): updated (Entra reports thumbprint <redacted>, expires 2026-11-21)
App6 (https://app6.example.net/): updated (Entra reports thumbprint <redacted>, expires 2026-11-21)
DONE | Updated 6 app(s), 0 already had the certificate. Entra takes a minute or two to start serving it.

Validate the Entra Configuration

To confirm Entra stored the new certificate, open the application in Entra ID > Enterprise applications and select Application proxy, or query the application’s App Proxy settings with PowerShell. Replace <objectId> with the app registration’s object ID.

The SSL certificate pane of an App Proxy application, showing the certificate's subject, thumbprint, and expiration date.
$Uri = "https://graph.microsoft.com/beta/applications/<objectId>?`$select=onPremisesPublishing"
(Invoke-MgGraphRequest -Method GET -Uri $Uri).onPremisesPublishing.verifiedCustomDomainCertificatesMetadata.thumbprint

Validate the Live Endpoint

App Proxy can take several minutes to begin serving the new certificate after the configuration is updated. To check the certificate the endpoint is actually serving, view it in a browser or use my Get-TlsCertificate PowerShell script.

Get-TlsCertificate is available in the PowerShell Gallery and on GitHub. Install it using the following command.

Install-Script -Name Get-TlsCertificate

Once installed, run it against the application’s external hostname.

Get-TlsCertificate -Hostname app1.example.net
Output of Get-TlsCertificate showing the certificate served by the App Proxy endpoint, including its issuer, thumbprint, expiration date, and subject alternative names.

The expiration date CertKit displays may differ by one day from the date Entra reports. That’s expected, because Entra reports dates in UTC.

Secret Rotation and Security

The client secret must be rotated before it expires, or CertKit deployments will fail. To rotate it, create a new secret on the app registration, update CertKit with the new value, confirm a deployment succeeds, and then delete the old secret. Set a calendar reminder well ahead of the expiration date. Least privilege limits the impact if the secret is ever exposed. Anyone holding it could replace the TLS certificate on App Proxy applications and read app registration details, but couldn’t add credentials to other applications, change permissions, or grant consent. Even so, store the secret securely and limit who can access it.

Summary

CertKit can fully automate certificate deployment to Entra Application Proxy, either for individual applications or for every App Proxy application in the tenant. By combining a custom Entra role limited to App Proxy certificate updates with the read-only Application.Read.All permission, this configuration follows security best practices and enforces least privilege, without the broad access of built-in roles such as Application Administrator. Using short-lived 6-day certificates makes it easy to confirm the automation works, and rotating the client secret before it expires keeps the deployment running.

Additional Information

Getting Started with CertKit

Need help automating TLS certificate deployment for Entra Application Proxy, Always On VPN, DirectAccess, IIS, SQL, and more? I can help you design and implement a secure, least-privilege certificate automation strategy with CertKit across your internal and public-facing workloads. Fill out the form below, and I’ll provide you with more information.

← Back

Thank you for your response. ✨

What’s New in Entra Private Network Connector v1.5.5130.0

Microsoft Entra Private Access

On November 9, 2026, Microsoft released an important update for the Microsoft Entra Private Network Connector. The Entra Private Network Connector is used to publish on-premises web applications to the internet. It is also used for Global Secure Access (GSA) with Entra Private Access, allowing GSA clients to access on-premises resources. Entra Private Network Connector v1.5.5130.0 includes new functionality to improve performance monitoring, name resolution, logging, and overall reliability and security.

New Features

This release introduces new capabilities for monitoring connector performance and resolving names in complex network environments, including the following.

Performance and Diagnostics

The Connector Diagnostics tool, available from the system tray, now includes a new Performance tab. Here, administrators can view up to 24 hours of resource history for the connector server, collected in one-minute aggregates. The Performance tab displays average and peak values for the following metrics.

  • Machine CPU: Total CPU usage across the machine.
  • Connector CPU: Share of total machine CPU used by the connector.
  • Connector resident memory: Physical memory used by the connector process.
  • Machine available memory: Physical memory still available to applications.

Administrators can use the Window drop-down list to display performance history for the last 1 hour, 6 hours, or 24 hours. This gives better visibility into resource consumption over time, which is helpful when sizing connector servers or investigating performance issues. In addition, this update improves the accuracy of connector health reporting.

Entra Private Network Connector Diagnostics Performance tab showing machine CPU, connector CPU, connector resident memory, and machine available memory charts

DNS Resolution

The connector now honors DNS suffixes and DNS servers configured on individual network interfaces in Windows. This update also improves the fallback behavior for DNS SRV record queries.

Improvements

In addition to new features, v1.5.5130.0 includes several improvements to logging, reliability, and security.

Logging and Observability

This update includes the following changes to connector logging.

  • Trace file rotation is now supported.
  • The default capacity for the Session event log has been increased to 3 GB.
  • Error messages for connectivity and backend failures have been improved to streamline troubleshooting.

Note: With the larger default Session event log size, administrators should ensure the connector server has sufficient free disk space on the system drive.

Reliability and Security

This update also includes the following reliability and security enhancements.

  • TCP keepalive has been added to reduce idle connection resets.
  • Memory management during request processing has been improved.
  • Security for local log files and other connector files has been enhanced.

Updating to v1.5.5130.0

Existing Entra Private Network Connector installations will not automatically receive this update. Administrators must manually download the connector from the Microsoft Entra admin center and apply the update themselves to take advantage of these new features and capabilities.

Additional Information

What’s New in Entra Global Secure Access Client for Windows v2.34.222

On October 19, 2026, Microsoft announced an update for the Entra Global Secure Access (GSA) client. This latest release, v2.34.222, adds support for a new sign-in option, updates Conditional Access sign-in frequency, improves diagnostics, and enhances local network bypass. It also improves Windows Firewall behavior off network, along with telemetry and accessibility improvements.

Changes in v2.34.222

GSA client v2.34.222 includes the following new features and enhancements.

Web Sign-In

The GSA client now supports Web sign-in for Windows. This credential provider enables browser-based Windows sign-in using methods such as Microsoft Authenticator, Temporary Access Pass (TAP), or a SAML-P federated identity. Web sign-in requires a Microsoft Entra-joined device running Windows 11 version 22H2 with KB5030310 or later, plus internet connectivity.

Windows Firewall Profile

This release improves Windows Firewall profile selection when Private Access is enabled. When the device is not directly connected to the corporate network, Windows Firewall does not activate the Domain profile.

Traffic Forwarding Profile Details

The new GSA client features improved diagnostics. With this update, the Forwarding profile tab in the Advanced diagnostics section now displays the Traffic Forwarding Profile Name as it appears in the Entra admin center, along with the Traffic Forwarding Profile ID.

Traffic Forwarding Profile Name and ID

Conditional Access

GSA client v2.34.222 now includes support for Conditional Access sign-in frequency for Private Access applications. This feature is part of a phased rollout and might not be available in all tenants immediately.

Prefer Local Network Bypass

With this update, the Prefer local network option limits bypass to connections destined for IP addresses in common private network ranges. Microsoft documentation doesn’t elaborate on specifically which ‘common private network ranges’, but I suspect this means private IPv4 address ranges as defined in RFC 1918.

GSA Traceroute Changes

In GSA client v2.34.222, Microsoft has replaced the command-line version of the GSA traceroute tool (GsaTracert.exe) with a new GUI version. However, during my initial testing (and confirmed by others testing this feature), it appears to be broken at this time. When I launch GsaTracert.exe, the UI returns the following error message.

“Could not retrieve the forwarding profile from the registry. Ensure the Global Secure Access Client is installed and running.”

I will post an update as soon as Microsoft resolves this issue.

Additional Changes

In addition to the changes highlighted above, the new GSA client includes the following additional enhancements.

  • UDP tunneling improvements
  • Memory utilization improvements
  • New telemetry capabilities
  • Accessibility improvements
  • Bug fixes and other miscellaneous improvements

Summary

GSA client v2.34.222 introduces several useful enhancements for administrators and users. Organizations should validate the update against their existing configuration before broad deployment. My initial testing also identified an issue with the updated diagnostic tool, as described above.

Additional Information

Microsoft Global Secure Access (GSA) Traffic Forwarding Profiles v2

Microsoft recently introduced custom Entra Private Access traffic forwarding profiles in public preview. Administrators can now provide different sets of private applications to selected users, groups, devices, and device platforms. This post explains how the profiles are assigned and prioritized, how to configure one, and how the new local network option handles overlapping address space.

Forwarding Profiles v1

Previously, organizations could assign the default Private Access traffic forwarding profile to selected users and groups, but they could not create separate Private Access profiles with different acquisition rules for different target groups. That made it difficult to give Windows devices one set of private application destinations and mobile devices another. Administrators could still control access through application assignments and Conditional Access, but the traffic the client acquired was less tailored to the user or device.

Forwarding Profiles v2

Global Secure Access (GSA) provides default traffic forwarding profiles for Microsoft traffic, Private Access, and Internet Access. Administrators can also create custom Private Access profiles and scope them to users, groups, devices, and device platforms. During the preview, a tenant can have up to 10 custom Private Access profiles.

Policy Processing

GSA evaluates traffic against the Microsoft, Private Access, and Internet Access profile types in that order. Traffic that matches none of them is not forwarded to the service. This order is separate from the priority used to choose between multiple applicable Private Access profiles.

Multiple Profiles

Each custom Private Access profile has its own acquisition rules, assignments, status, and priority. Assign a priority from 101 through 199. A lower number represents a higher priority. When more than one enabled Private Access profile applies to the same user and device, the client uses only the highest-priority applicable profile. The application rules from the other profiles are not combined with it.

Configure a Custom Private Access Profile

In the Microsoft Entra admin center, go to Global Secure Access > Connect > Traffic forwarding. Select Create new traffic forwarding profile, then Private access profile. Enter a descriptive name and, optionally, a description. Set a priority from 101 through 199 and choose whether the profile is enabled. Select Next, review the settings, and select Create. Note that the new profile has no acquisition rules or assignments until you configure them.

New custom traffic forwarding profile without acquisition rules or assignments

Acquisition Rules

Open the new profile and select Acquisition rules. Choose whether to include Quick Access destinations, then select the Private Access applications whose destinations the profile should acquire. Adding an application to a forwarding profile determines which traffic the client captures. Users must also be authorized to connect to the application’s resources.

Acquisition rules for a custom Private Access traffic forwarding profile

Including Quick Access Destinations

Including Quick Access adds its configured destinations to the acquisition rules of this profile alongside the selected Private Access applications. This can provide a common set of destinations across custom profiles, but it does not change the Quick Access application’s configuration or grant users access to its resources. Confirm that the intended users are assigned to Quick Access as well as to the forwarding profile.

Assignments

Under Assignments, select View next to User and device assignments. Choose All users and devices or Selected users and devices, then save your selection.

User and group assignments for the traffic forwarding profile

Next, select View next to Device platform assignments and choose the supported platforms that should receive the profile. A device must match both assignment conditions. For example, selecting a user group and Windows limits the profile to Windows devices used by members of that group.

Device platform assignments for the traffic forwarding profile

The new profile appears in the traffic forwarding list by priority, as shown here.

Traffic forwarding profiles listed by priority

On an assigned client, open Advanced diagnostics > Forwarding profile to confirm that the expected Private Access application segments are present, as shown here.

GSA client Advanced diagnostics forwarding profile showing Private Access application segments

Prefer Local Network

The Windows GSA client includes a Prefer local network option for cases where a local subnet overlaps with a configured private application destination. When an administrator enables the option, it appears in the client settings. A user can select it to keep applicable local subnet traffic on the local network, such as traffic to a printer or screen casting device, instead of having the client acquire that destination for Private Access. Microsoft introduced the option in Windows GSA client version 2.32.294.

The Problem It Solves

Overlapping private address space can make a local destination look like a destination defined in a Private Access application segment. For example, a user’s home printer and a corporate resource might both use 192.168.1.50. Prefer local network lets the user favor the directly connected local destination in this situation, such as when printing or screen casting.

Intelligent Local Access

Intelligent Local Access (ILA) serves a different purpose. It uses configured DNS probes to identify a corporate private network and can then send traffic directly to specified Private Access applications available on that network. Prefer local network addresses when there is an overlap between the device’s local subnet and a Private Access destination, such as a printer on a home network. ILA depends on a matching configured private network and application. An address overlap alone does not trigger it.

Summary

Custom Private Access traffic forwarding profiles give administrators more control over which private application destinations the Global Secure Access (GSA) client acquires for different users and devices. Assignments determine who receives a profile, while priority determines which profile applies when assignments overlap. The Prefer local network option also helps Windows users reach local devices when their subnet overlaps a Private Access destination.

Additional Information

Entra Private Network Connector Session Persistence

The Microsoft Entra Private Network Connector is a lightweight on-premises software agent that enables Microsoft Entra Private Access to forward Global Secure Access (GSA) client traffic to internal resources. In environments with multiple connectors, traffic is normally distributed across available connectors in a connector group. While this improves resiliency and load distribution, it can create challenges for applications that rely on a consistent connector source IP address.

Revised November 21, 2026: Updated to include the new Performance connector routing method, which is currently in preview.

Stateless Connectors

By default, requests are distributed randomly among the available connectors in a connector group. Traffic forwarded to the internal resource uses the connector server’s IP address as its source. Consequently, separate connections from the same user and device can reach the application through different connectors. Importantly, session state is not shared among connectors in a connector group. As such, applications that associate session state with the source IP address may reject or interrupt these connections.

Why Session Persistence Matters

In some scenarios, an internal application might allow access only from specific connector IP addresses or associate an authenticated session with the source IP address. Random connector selection can cause subsequent connections to arrive from a different address, potentially interrupting the session. Session persistence reduces this risk by consistently using the same connector for the user and device.

Session Persistence

Microsoft recently introduced session persistence for Entra Private Access applications. When enabled, requests from the same user and device are consistently routed to the same connector for the duration of the session. This helps maintain a consistent connector egress IP address for applications that depend on source IP addresses for authentication, authorization, or session management.

Traffic Routing

The connector traffic routing method is configured on a per-application basis. Traffic routing methods can be defined on Quick Access or Enterprise applications, and the setting can be configured on the Network access properties tab. Administrators have three options: Random, Session Persistence, or Performance.

Connector Routing Method options in Global Secure Access application network access properties: Random (default), Session Persistence, and Performance (Preview)

Random

This is the default behavior for the Private Network connector. All new connections are distributed randomly among connectors in the connector group.

Session Persistence

Selecting the Session Persistence option consistently routes requests from the same user and device to the connector on which the session was established.

Performance (Preview)

Selecting the Performance option automatically routes user traffic to the connector with the lowest network latency, measured by round-trip time (RTT). This ensures users are served by the connector that can deliver the fastest response, which is particularly beneficial in deployments where connectors and users are distributed across multiple geographic locations. Performance routing is currently in preview and is subject to the Microsoft Entra preview terms.

Connector Routing Method Comparison

The following table summarizes these configuration options.

Routing MethodBenefitsConsiderations
RandomBetter distribution across connectors in a connector groupSource IP address may change between connections
Session PersistenceConsistent connector egress IP addressMay not distribute sessions as evenly as the Random method
Performance (Preview)Routes traffic to the connector with the lowest latencyCurrently in preview; does not guarantee a consistent connector egress IP address

Failover

If the preferred connector becomes unavailable, subsequent traffic may be routed through another available connector. Applications that depend on the connector’s source IP address might require the user to establish a new session.

GSA Applications Only

Connector routing methods, including session persistence and performance routing, apply only to Global Secure Access applications. They are not supported for applications published using Microsoft Entra Application Proxy.

Summary

By default, Microsoft Entra Private Access distributes requests randomly among available connectors. Although this provides load distribution, it can create problems for applications that depend on a consistent connector source IP address. Session persistence addresses this issue by consistently routing traffic from the same user and device through the same connector for the duration of the session. In addition, the new Performance routing method, currently in preview, routes traffic to the connector with the lowest network latency. These features apply only to Global Secure Access applications and are not supported for Microsoft Entra Application Proxy applications.

Additional Information

Entra Global Secure Access (GSA) Client Intune Deployment PowerShell Script

The Microsoft Entra Global Secure Access (GSA) client is commonly deployed using Microsoft Intune. To deploy the client as an Intune Win32 app, administrators package the installer and a PowerShell installation script into an .intunewin file. Microsoft provides a sample PowerShell script that creates a log, configures Windows to prefer IPv4 over IPv6, and launches the installer. However, the sample has several limitations that can make it unreliable in production environments. To address these shortcomings, I’ve refactored the code to make it more robust and better aligned with enterprise deployment best practices.

Script Improvements

Microsoft’s PowerShell script for installing the GSA client has several significant limitations. My refactored version includes the following improvements.

  1. Preserved the existing DisabledComponents setting. Microsoft’s example overwrites the entire registry value, potentially removing previously configured settings. My version sets the 0x20 bit to prefer IPv4 while preserving any other flags already present.
  2. Validates the installer’s Authenticode signature. My revised script verifies that the installer has a valid Authenticode signature and that the signing certificate identifies Microsoft Corporation as the publisher.
  3. Preserves the pending reboot state. My script records when the registry setting was changed and compares that timestamp with the device’s last boot time. If the device has not restarted, subsequent runs continue to return exit code 3010, even if an earlier installation attempt failed.
  4. Expanded exit-code handling. The script writes a timestamped PowerShell transcript to the Intune Management Extension log directory, allowing it to be included with collected Intune diagnostics. Logging failures do not prevent the installation from continuing.
  5. Intune-integrated logging. I’ve updated the script’s logging to use the Intune Management Extensions logs folder, so logs are captured by Intune’s diagnostics collection. Each run of the script generates its own timestamped log file, making troubleshooting easier. Also, logging failures never block installation.
  6. Best practice alignment. I’ve added comment-based help, culture-invariant timestamps, and a $PSScriptRoot guard with a clean error to handle script execution issues. In addition, the script is digitally signed to support environments that enforce signed-script execution policies.

GitHub

I’ve published my refactored GSA client installation script on GitHub. You can download the script here:

https://github.com/richardhicks/gsa/blob/main/Install-GSAClient.ps1

Note: The script expects the installer to be named GlobalSecureAccessInstaller.exe. However, downloaded installers typically include the version number in the filename, such as GlobalSecureAccessInstaller_<version>.exe. Before creating the .intunewin package, either rename the installer or update the $InstallerName variable in the script.

Contribute

Suggestions and contributions are welcome. If you have ideas for making the GSA client deployment more robust or reliable, please submit a pull request on GitHub.

Summary

Microsoft provides a PowerShell script to deploy the Entra GSA client via Intune, but it has several limitations. This refactored version preserves existing registry settings, validates the installer, improves reboot and exit-code handling, integrates logging with Intune diagnostics, and better aligns with enterprise deployment best practices.

Additional Information

What’s New in Entra Global Secure Access Client v2.32.294.0

On August 26, 2026, Microsoft released version 2.32.294 of the Entra Global Secure Access (GSA) client. This release addresses challenges caused by overlapping local and private network address spaces, improves tunnel creation performance, and prepares the client to receive future upgrades through Windows Update.

Changes in v2.32.294

GSA client v2.32.294 includes the following new features and capabilities.

Prefer Local Network

The Prefer Local Network option allows users to access resources on their current local network when its address space overlaps with a private application’s subnet. Common scenarios include accessing a local printer or casting to a nearby device.

Support for Prefer Local Network is included in this client release. However, the administrative setting required to expose the option to users is not yet available in the traffic forwarding profile. Once Microsoft makes this setting available, administrators can enable the feature and allow users to turn it on when needed.

Windows Update

Beginning in November 2026, the GSA client will automatically receive upgrades through Windows Update. Endpoints must be running GSA client 2.31.125 or later (2.32.294 or later for Windows on Arm).

Administrators can opt out of automatic updates when installing or upgrading the GSA client using the following command.

GlobalSecureAccessInstaller.exe /quiet /norestart EnableWindowsUpdates=0

Additional Enhancements

GSA client v2.32.294 accelerates the creation of new tunnels, improving connection performance. The installer also includes .NET Runtime 10.0.9. Additional changes include telemetry and accessibility enhancements, the removal of LastMile for Office 365 telemetry, and miscellaneous bug fixes.

Summary

Global Secure Access client v2.32.294 introduces useful improvements for users working on networks with overlapping address spaces and lays the groundwork for automatic client upgrades through Windows Update. The release also improves tunnel creation performance and includes several updates to telemetry, accessibility, runtime, and reliability. Administrators should evaluate Windows Update behavior and determine whether automatic upgrades are appropriate for their deployment and change management requirements.

Additional Information