
๐ Introduction โ
With Microsoft Entra application proxy, your users can securely reach on-premises web apps from anywhere. Once they sign in to Entra ID with single sign-on (SSO), they can open both cloud and on-premises apps through a URL or an application portal. Since the service runs in the cloud, you don't have to open inbound firewall ports, run a perimeter network (DMZ) or add on-premises appliances. Your on-premises apps can get all the Entra access control advantages (e.g. Conditional Access or MFA) without you needing to migrate them.
Besides publishing on-premises web apps, application proxy also supports other use cases:
- Hosted REST APIs
- Remote Desktop apps (e.g. Remote apps)
- WebSockets connected apps
- MSAL configured native client apps
๐ Architecture โ
Application proxy consists of two parts: the application proxy service in the cloud and the private network connector inside your network. Entra ID acts as the identity provider.
INFO
Application proxy is designed for the access of internal resources from outside, not for internal users accessing internal resources, which can bring performance problems.
Components โ

| Component | Description |
|---|---|
| Remote user | Opens the app from outside your network through its external URL or a user portal. |
| Microsoft Entra ID | The identity provider. Authenticates the user with the tenant directory in the cloud. |
| Application proxy service | The reverse proxy that runs in the cloud as part of Entra ID. It passes the sign-on token from the user to the connector. |
| Firewall | Only needs outbound ports 80 and 443 for the connector. No inbound ports are opened. |
| Private network connector | A lightweight agent on Windows Server inside your network that handles the communication between the service and the on-premises app. |
| Active Directory | Authenticates the domain accounts on-premises. When SSO is configured, the connector uses it to get a Kerberos ticket for the app. |
| Web app | The on-premises app you publish, reached by the connector through its internal URL. |
INFO
Every connector belongs to a connector group and every app you publish is assigned to one group. If you don't create your own groups, all connectors are in the default group. Use at least two connectors per group for high availability.
Secure connection from outside โ
- The connector keeps outbound connections to the application proxy service open (ports 80 and 443). When a user request comes in, the service places it in a queue on one of these open connections, where the connector picks it up and forwards it to the app. For the response, the connector again connects outbound to the service. You don't need inbound firewall ports or a perimeter network.
- All communication is encrypted with TLS and the connector authenticates to the service with a client certificate.
- With preauthentication, only authenticated users reach your network and Conditional Access applies before the connection is established.
- All traffic ends in the cloud: As a reverse proxy, the application proxy service terminates the connection of the user. It then establishes a separate session to your app through the connector. Your back-end servers never receive direct HTTP traffic from the internet, which protects them better against targeted attacks like denial-of-service (DoS), because your firewall isn't under attack.
Single sign-on to on-premises apps โ
With single sign-on, your users only authenticate with Entra ID and reach the app without signing in again. Which method fits depends on how your app authenticates its users:
| Method | For apps that | The app receives |
|---|---|---|
| Integrated Windows Authentication | use Integrated Windows Authentication (IWA) | A Kerberos ticket that the connector gets from Active Directory |
| Header-based | use HTTP headers for authentication | HTTP headers that the application proxy service creates from the Entra ID token |
| Password-based | have an HTML sign-in page for username and password | The username and password stored in Entra ID |
| SAML | can consume SAML tokens issued by Entra ID | A SAML response from Entra ID |
Open a method to see how it works. All flows start with the external URL, but your users can also start the app from the My Apps portal.
Integrated Windows Authentication
Apps that use Integrated Windows Authentication (IWA) require a Kerberos ticket. Application proxy supports them with Kerberos Constrained Delegation (KCD): the connector gets the ticket from Active Directory on behalf of the user. This requires a domain-joined connector server.

| Step | Description |
|---|---|
| 1 | The user opens the external URL of the app. |
| 2 | Application proxy redirects the user to Entra ID, which applies your authentication policies (e.g. MFA) and issues a token. |
| 3 | The user passes the token to the application proxy service. |
| 4 | The service validates the token and the connector pulls the UPN (User Principal Name) and SPN (Service Principal Name) through a secure channel. |
| 5 | The connector requests a Kerberos ticket for the app from Active Directory, impersonating the user. |
| 6 | Active Directory sends the Kerberos ticket to the connector. |
| 7 | The connector sends the original request with the Kerberos ticket to the app. |
| 8 | The app responds through the connector and the service to the user. |
Header-based
Application proxy natively supports apps that use headers for authentication. You configure the header values your app needs in Entra ID. They are based on the standard claims Entra ID issues and no extra software is required.

| Step | Description |
|---|---|
| 1 | The user opens the external URL of the app. |
| 2 | Application proxy redirects the user to Entra ID, which authenticates the user and issues a token. |
| 3 | The user passes the token to the application proxy service. |
| 4 | The service takes the claims your app needs from the token, translates them into HTTP headers and adds them to the request to the connector. |
| 5 | The connector passes the request with the headers to the app. |
| 6 | The app uses the headers to identify the user and responds through the connector and the service. |
WARNING
The app trusts the headers without checking them. Anyone who reaches the app directly can send their own headers and sign in as any user. Restrict the access to the app to traffic from the connector or another permitted header-based authentication solution, e.g. with a firewall or an IP restriction on the app server.
Password-based
Password-based single sign-on, also known as password vaulting, is intended for apps that authenticate with a username and password on an HTML sign-in page. Entra ID stores the credentials encrypted in the directory and the My Apps extension in the browser supplies them to the sign-in form.

| Step | Description |
|---|---|
| 1 | The user opens the external URL of the app. |
| 2 | Application proxy redirects the user to Entra ID, which authenticates the user and issues a token. |
| 3 | The user passes the token to the application proxy service. The request reaches the app through the connector and the app returns its sign-in page to the browser. |
| 4 | The My Apps extension in the browser gets the stored username and password for the app from Entra ID. |
| 5 | The extension fills the credentials into the sign-in form and submits it to the app. |
| 6 | The app signs the user in with its own authentication. |
NOTE
On the first start, users enter their credentials once, unless you predefined them. The My Apps Secure Sign-in extension requires Microsoft Edge or Chrome and isn't supported in private browsing.
SAML
This method is for apps that are secured with SAML authentication and can consume SAML tokens issued by Entra ID. Entra ID authenticates to the app with the Entra account of the user and application proxy forwards the SAML request and response between the app and Entra ID.

| Step | Description |
|---|---|
| 1 | The user opens the external URL of the app. |
| 2 | Application proxy redirects the user to Entra ID for preauthentication. |
| 3 | After the sign-in, the user is redirected back to application proxy and the request is forwarded to the app. |
| 4 | The app generates a SAML request and redirects to Entra ID. This request is proxied through application proxy. |
| 5 | Entra ID returns the SAML response, which application proxy forwards to the app through the connector. |
| 6 | The app validates the SAML response and signs the user in. |
NOTE
This is the flow when the user starts at the app (SP-initiated). When the user starts the app in My Apps (IdP-initiated), the SAML response comes along with the first request. Application proxy caches it during the preauthentication and then forwards it to the app.
โ๏ธ Configuration โ
To publish an on-premises app with application proxy, you install a connector inside your network, add the app in Entra ID and configure single sign-on.
Prerequisites
- An Entra ID P1 or P2 license.
- An account with at least the Application Administrator role.
- A server running Windows Server 2016 or later with .NET Framework 4.7.2 or later for the connector. It must be able to reach the application proxy service and the app you want to publish.
- TLS 1.2 must be enabled on the connector server before you install the connector.
WARNING
Don't install the connector on a server that runs the Microsoft Entra Password Protection Proxy. Both install different versions of the Microsoft Entra Connect Agent Updater service, which are incompatible.
Prepare Entra ID โ
Before you start, make sure that Private Network is enabled for your tenant. Without it, your published apps don't work, even with an active connector.
- Open the Entra admin center -> Enterprise apps -> Private Network connectors.
- If you see the message Private Network is currently disabled for your tenant, click
ยทยทยทand selectEnable private network connectors.

- Confirm with
Yes.

What does this do?
This only turns on the application proxy service in the cloud for your tenant. It doesn't change anything on your local network.
Prepare the connector server โ
Firewall
The connector only needs outbound access. Open the following ports for outbound traffic:
| Port | Usage |
|---|---|
| 80 | Download of certificate revocation lists (CRLs) while validating the TLS certificate |
| 443 | All outbound communication with the application proxy service |
URLs the connector needs to reach
| URL | Port | Usage |
|---|---|---|
*.msappproxy.net*.servicebus.windows.net | 443 | Communication between the connector and the application proxy service |
crl3.digicert.comcrl4.digicert.comocsp.digicert.comcrl.microsoft.comoneocsp.microsoft.comocsp.msocsp.com | 80 | Verification of certificates |
login.windows.netsecure.aadcdn.microsoftonline-p.com*.microsoftonline.com*.microsoftonline-p.com*.msauth.net*.msauthimages.net*.msecnd.net*.msftauth.net*.msftauthimages.net*.phonefactor.netenterpriseregistration.windows.netmanagement.azure.comctldl.windowsupdate.comwww.microsoft.com/pkiops | 443 | Registration of the connector and ongoing operation |
ctldl.windowsupdate.comwww.microsoft.com/pkiops | 80 | Registration of the connector and ongoing operation |
WARNING
The connection between the connector and the application proxy service is encrypted and the connector authenticates with a client certificate. If a firewall or proxy decrypts or inspects this traffic, the certificate gets lost and users get a ConnectorError:Unauthorized error. Exclude these connections from any TLS/SSL inspection.
DNS
The names *.msappproxy.net and *.servicebus.windows.net resolve through chained CNAME records with other host names that change from time to time. So don't limit the DNS resolution to these two domains and allow the connections by domain suffix instead of single host names. If your firewall can only filter by IP address, allow the Azure IP ranges and service tags, which are updated every week.
INFO
If you use proxy servers to connect to the internet, configure them as described in Work with existing on-premises proxy servers.
Service region
By default, your connectors use the application proxy service instances in the region of your Entra tenant or the closest one. You can assign a connector group to a different region to reduce latency. Each app uses one connector group, so all users of an app go through the service region of that group.
For example, your app has users in the USA, Germany and Japan:
- One app location: The app only runs in Germany. Place the connector next to it and optimize the connector group for Europe. The users in Germany have a short way, but the users in the USA and Japan have a long way to the service in Europe.
- Several app locations: The app also runs in the USA and Asia. Create a connector group for each location, optimize it for the closest region and publish each location as its own app with its connector group. All users then reach the app in their own region.

INFO
- You select the region when you create a connector group.
- You can only change the region of a connector group if no connectors and no apps are assigned to it.
- With several app locations, a Traffic Manager solution lets your users reach the closest location through a single URL. For more information, refer to Add your own Traffic Manager solution to application proxy.
TLS 1.2
If TLS 1.2 isn't enabled on the server yet, you can enable it with the following script and restart the server afterwards.
PowerShell script to enable TLS 1.2
If (-Not (Test-Path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client'))
{
New-Item 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client' -Force | Out-Null
}
New-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client' -Name 'Enabled' -Value '1' -PropertyType 'DWord' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client' -Name 'DisabledByDefault' -Value '0' -PropertyType 'DWord' -Force | Out-Null
If (-Not (Test-Path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server'))
{
New-Item 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server' -Force | Out-Null
}
New-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server' -Name 'Enabled' -Value '1' -PropertyType 'DWord' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server' -Name 'DisabledByDefault' -Value '0' -PropertyType 'DWord' -Force | Out-Null
If (-Not (Test-Path 'HKLM:\SOFTWARE\Microsoft\.NETFramework\v4.0.30319'))
{
New-Item 'HKLM:\SOFTWARE\Microsoft\.NETFramework\v4.0.30319' -Force | Out-Null
}
New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\.NETFramework\v4.0.30319' -Name 'SystemDefaultTlsVersions' -Value '1' -PropertyType 'DWord' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\.NETFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -PropertyType 'DWord' -Force | Out-Null
Write-Host 'TLS 1.2 has been enabled. You must restart the Windows Server for the changes to take effect.' -ForegroundColor CyanHTTP/2
On Windows Server 2019 or later, you must disable HTTP/2 in WinHTTP so that apps published through application proxy work properly. Set the following registry key and restart the server:
$key = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\WinHttp'
if (-not (Test-Path $key)) { New-Item -Path $key -Force | Out-Null }
Set-ItemProperty -Path $key -Name 'EnableDefaultHTTP2' -Value 0 -Type DWordInstall the connector โ
- On the connector server, open the Entra admin center -> Enterprise apps -> Private Network connectors and click
Download connector service. - In the flyout, click
Accept terms & Download.

Run the downloaded installer and follow the wizard.


When prompted, sign in with your Admin account to register the connector with your tenant.


INFO
- If the registration window doesn't appear, make sure that Internet Explorer Enhanced Security Configuration is turned off on the server.
- If you use more than one connector server, install and register the connector on each of them.
Verify the connector โ
Entra admin center
- Open the Entra admin center -> Enterprise apps -> Private Network connectors.
- Expand the connector group and check that your connector shows a green
Activelabel.

INFO
The Active label shows that the connector can connect to the service. A network issue could still block the connector from receiving messages.
Windows Server
- Open
services.mscon the connector server. - Check that both services have the status Running:
- Microsoft Entra private network connector enables the connectivity.
- Microsoft Entra private network connector updater checks for new versions and updates the connector.
Connector Diagnostics
The connector comes with its own diagnostics tool that checks the most common setup and network problems. On the connector server, you open the Connector Diagnostics tool by double-clicking the system tray icon.
The tool has the following tabs:
| Tab | Description |
|---|---|
| Overview | General information about the connector |
| Health Check | Checks the setup and the network connections of the connector |
| Performance | CPU and memory usage of the server over the last 24 hours |
| Advanced Logs | Collects the connector logs from the Windows Event Viewer |

Event Viewer logs
You find the connector logs in the Event Viewer under Applications and Services Logs -> Microsoft -> Microsoft Entra private network -> Connector.
Create a connector group โ
New connectors are added to the Default connector group automatically. If you want to organize your connectors by region, network or purpose, create your own groups:
- Open the Entra admin center -> Enterprise apps -> Private Network connectors and click
New connector group. - Enter a Name and select the connectors that belong to the group.
- Under Country/Region, select the region closest to your connectors and your app.

- Click
Save.
INFO
For the purposes of resilience and availability, you should use at least two connectors for each group.
Publish the app โ
Open the Entra admin center -> Enterprise apps -> Private Network connectors and click
Configure an app.Fill in the settings of your app:
Field Description Maintenance Mode Temporarily disables the access to the app for all users. Name The name of the app that appears in My Apps and in the Entra admin center. Internal URL The URL to access the app from inside your network. You can also publish a specific path, as long as it includes all images, scripts and style sheets the app needs. External URL The address your users open from outside your network. In the dropdown you select the default domain msappproxy.netthat Microsoft provides or one of your verified custom domains. If you select a custom domain, you need to add the app as a CNAME entry to your DNS.Application segments Only for complex apps that consist of several web apps with different domains, ports or paths. Each segment has its own internal and external URL, but all segments share one sign-in and the same Conditional Access policies. Segments require a wildcard app and a custom domain. With Entra ID P1 or P2, two segments per app are supported. Pre Authentication Microsoft Entra IDredirects your users to the Entra ID sign-in, which enables Conditional Access and MFA.- With
Passthrough, users don't authenticate against Entra ID and the app handles the sign-in itself.
Connector Group The connector group that handles the access to the app. SSL Certificate The certificate for the external URL. With the default domain msappproxy.netno certificate is required. A custom domain needs a PFX certificate (see Use a custom domain).

WARNING
Keep Pre Authentication on Microsoft Entra ID. With Passthrough, you lose the protection that only authenticated connections reach your network.
INFO
The internal and external URL must be unique, start with http or https, end with a / and use a domain name instead of an IP address.
If needed, you can adjust additional settings on the Advanced tab.
Field Description Backend Application Timeout Set it to Longonly if your app is slow to authenticate and connect. The default timeout is 85 seconds,Longincreases it to 180 seconds.Use HTTP-Only Cookie Prevents scripts in the browser from reading or changing the session cookies of application proxy, which better protects the session. Keep it unselected for clients that need the session cookie, e.g. Remote Desktop through a Remote Desktop Gateway. Use Persistent Cookie Keeps the session cookie after the browser is closed, until the access token expires. Keep it unselected, because users stay signed in. Only select it for older apps that can't share cookies between processes. Translate URLs in Headers Keep it selected unless your app requires the original host header in the authentication request. Translate URLs in Application Body Replaces hardcoded internal links in the HTML and CSS of the app with the external URLs of your published apps, so they also work from outside. Keep it unselected unless your app has hardcoded links to other on-premises apps and you don't use custom domains. Select it if you plan to monitor the app with Microsoft Defender for Cloud Apps. Validate Backend TLS Certificate Checks the TLS certificate of your app behind the internal URL, so the connection from the connector to the app is only established with a valid certificate. Disable continuous access evaluation Disables continuous access evaluation (CAE) for this app. With CAE, application proxy reacts in near real time to a disabled account, a password reset or revoked tokens and asks the user to sign in again. Conditional Access still applies.

- When you are done, click
Create.
Grant admin consent โ
Since June 30, 2026, application proxy no longer grants admin consent for the User.Read permission automatically when you create a new app. This only applies to newly created apps. Existing apps aren't affected.
- To grant consent yourself, open the Entra admin center -> Entra ID -> Enterprise apps and select your app.
- Open the Permissions blade and click
Grant admin consent for <your tenant>.

- Approve the permissions pop-up window by clicking
Accept.

User.Readnow appears under Admin consent with the type Delegated.

Assign users โ
Only assigned users can open the app. Once assigned, the app also appears in their My Apps portal.
- Open your app under Entra admin center -> Entra ID -> Enterprise apps and select the Users and groups blade.
- Click
Add user/group, select your users or groups and clickAssign.
INFO
To make the app available to all users, set Assignment required? to No in the Properties of the enterprise app.
Configure single sign-on โ
Which single sign-on method you need depends on how your app authenticates its users (see Single sign-on to on-premises apps). For all methods, you open your app under Entra admin center -> Entra ID -> Enterprise apps and select the Single sign-on blade.
The following examples use an IIS website hosted on a domain server.
Integrated Windows Authentication
This method uses Kerberos Constrained Delegation (KCD) for apps with integrated Windows authentication.
Prerequisites
- The app uses integrated Windows authentication and has a Service Principal Name (SPN). For an app that runs under the computer account of its server, the
HOSTSPN of the server covers this. - The connector server and the app server are domain joined and part of the same domain or trusting domains.
- Pre Authentication of the app is set to
Microsoft Entra ID. - The connector server can read the
TokenGroupsGlobalAndUniversalattribute of your users. In hardened environments, add the connector server to the Windows Authorization Access group.
Active Directory
- Open Active Directory Users and Computers and open the Properties of the connector server.
- On the Delegation tab, select Trust this computer for delegation to specified services only and Use any authentication protocol.
- Under Services to which this account can present delegated credentials, add the SPN of the app server:
- Click
Add->Users or Computersand enter the account the app runs under. That's the computer account of the app server, or the service account if the app runs under a domain user. - From the list of services, select the entry with the service type
http.
- Click

INFO
These steps apply when the connector server and the app server are in the same domain. For different domains, refer to Kerberos Constrained Delegation for single sign-on.
Entra admin center
- Open your app under Enterprise apps and select Single sign-on.
- Select Windows Integrated Authentication as single sign-on mode (the portal name for Integrated Windows Authentication).

- Enter the Internal Application SPN of the app server in the format
http/<FQDN of the server>, e.g.http/webserver.domain.local, withouthttp://and without a port. The SPN must match the host name in the internal URL of the app and one of the entries you added on the Delegation tab.
INFO
The SPN always starts with http/, even if your internal URL uses https://.
- Select
On-premises SAM account nameas Delegated Login Identity and clickSave.

INFO
With the Delegated Login Identity you choose which identity is used to get the Kerberos ticket:
- User principal name, if your users have the same UPN in the cloud and on-premises.
- On-premises user principal name or On-premises SAM account name, if they differ, e.g. with a non-routable internal domain like
domain.local.
The users must be synchronized from your Active Directory. Cloud-only users have no Active Directory account to get a Kerberos ticket for.
Header-based
The application proxy service sends the values your app needs as HTTP headers. The values are based on the standard claims of Entra ID, so you don't need any extra software.
Prerequisites
- Pre Authentication of the app is set to
Microsoft Entra ID.
Entra admin center
- Open your app under Enterprise apps and select Single sign-on.
- Select Header-based as single sign-on mode.

- As mode, use
Microsoft Entra IDand under Configure Headers, click the edit pencil andAdd new header. - Enter the Name of the header your app expects, select the Source and select the value from the dropdown.

Source
- Attribute sends a user attribute as is (
user.userprincipalname). - Transformation changes an attribute before it's sent (
ExtractMailPrefix()turnsuser@domain.comintouser). - Directory schema extension sends a custom attribute that Entra ID doesn't have by default (an extra AD attribute synced with Entra Connect). Custom attributes belong to an app registration, so you select that app first.
- Click
Save.

Verify the headers
The application proxy adds the headers to the request on its way to the app, so they never appear in the browser of the user. To see them, put a small test page on the app server that displays all headers of an incoming request. Open it through the external URL and sign in. Your headers show up with the values of the signed-in user and X-MS-Proxy confirms the request came through the application proxy.

INFO
- With a group header, the app also gets the groups of the user to set permissions in the app. You choose which groups are sent (all groups, security groups or groups assigned to the app) and the Source attribute:
Group IDfor all groups,sAMAccountName(also with the NetBIOS or DNS domain) orOn Premises Group Security Identifierfor groups synced from AD andCloud-only group display namesfor cloud groups assigned to the app.

- Advanced settings fine-tune the token and add external data.
- Include attribute name format adds the name format to each claim.
- Issuer with application ID and Audience override separate several instances of the same app (only with a custom signing key).
- Custom claims provider adds attributes from an external REST API.

- The header configuration applies to the whole app. Every path below the internal URL gets the same set of headers. A path that needs a different set must be published as its own app with this path as internal URL.
Password-based
Entra ID stores the username and password for the app and the My Apps extension fills them into the sign-in page of the app.
Prerequisites
- The app has an HTML sign-in page with username and password.
- You and your users use Microsoft Edge or Chrome with the My Apps Secure Sign-in Extension (Edge, Chrome) in a normal browser window. Private windows aren't supported.
Entra admin center
- Open your app under Enterprise apps, select Single sign-on and select Password-based as single sign-on mode.

- Enter the Sign-on URL, the external URL of the page where your users enter their username and password, and click
Save. Entra ID now searches this page for the sign-in fields and shows A sign-in form was detected when it finds them or No sign-in fields have been found if not.

- If No sign-in fields have been found appears, click
Capture sign-in fields.

- If the extension isn't installed yet, Browser extension needed appears. Click
Installand add the extension to your browser.


- In the new tab, enter any username and password, open the extension in the browser toolbar and click
Save. The capture tab will then show Metadata has been updated for the application.

- Back in the admin center, click
Refreshuntil A sign-in form was detected appears, and clickSave.

INFO
Microsoft's guide sets Pre Authentication to Passthrough during the setup. In my test, the sign-in fields were also detected with Microsoft Entra ID.
- Optional: To predefine the credentials for a user, select Users and groups, select the user and click
Update credentials.

INFO
Without predefined credentials, your users enter their username and password once on the first start of the app.
SAML
Entra ID signs your users in to the app with a SAML response. The app must be able to consume SAML tokens issued by Entra ID.
Prerequisites
- Pre Authentication of the app is set to
Microsoft Entra ID. - SAML single sign-on works for the app inside your network. Microsoft recommends setting it up and testing it before you publish the app.
Entra admin center
- Open your app under Enterprise apps and select Single sign-on.
- Select SAML as single sign-on method.

- Confirm Save single sign-on setting with
Yes. Apps published with application proxy use fixed URLs, so the portal fills in the Identifier, Reply URL and Logout URL with the external URL of the app.

- Under Basic SAML Configuration, click the edit pencil. Adjust the Identifier and the Reply URL to the values your app expects, based on the external URL, and mark one of each as Default. If your users start the sign-in in the app, also enter the Sign on URL. Click
Save.

- After saving, a prompt asks you to test the single sign-on. Click
Testand thenTest sign into sign in with your account.

INFO
- The Identifier must exactly match the entity ID your app sends, including a trailing slash. Otherwise Entra ID rejects the sign-in with error
AADSTS700016. - If your app expects the internal URL as reply URL, use a custom domain with the same internal and external URL or the My Apps Secure Sign-in extension.
Use a custom domain โ
By default, the external URL of an app ends with the Microsoft domain msappproxy.net. With a custom domain, your users reach the app under your own domain instead.
Prerequisites
- A verified custom domain in Entra ID.
- A PFX certificate for the custom domain that includes the private key.
Entra admin center
Open your app under Enterprise apps and select Application proxy.
In the External URL field, select your custom domain from the dropdown list and click
Save.After this, the
Add SSL Certificatebutton appears to add your PFX certificate file, enter its password and clickUpload Certificate.

- Click
Save. - Add the CNAME entry shown in the information bar to your external DNS zone.

WARNING
If you delete the app later, also delete its DNS record to prevent misuse of dangling DNS records.
๐งโ๐ป User experience โ
From a user perspective, the published app behaves like a cloud app. Your users start it from My Apps or open the external URL directly, sign in with their Entra ID account and land in the app.
My Apps
- Open My Apps and sign in with your Entra ID account.
- The app appears next to your other apps. Select it to start it.

INFO
The Visible to users? setting in the Enterprise App properties controls whether the app appears in the My Apps portal. Even with Yes, it only appears for assigned users.
External URL
- Open the external URL of the app in the browser.
- If you aren't signed in yet, you are redirected to the Entra ID sign-in. Depending on your Conditional Access policies, this includes MFA.
- After the sign-in, the app opens under its external URL. With single sign-on configured, there is no second sign-in to the app itself.

Direct sign-on link
Every app also has a direct sign-on link that starts the app without going through My Apps first. You find it as User access URL under Enterprise apps -> your app -> Properties. You can put it into an email, a bookmark or your intranet.
https://launcher.myapps.microsoft.com/api/signin/<Application-ID>?tenantId=<your-tenant-id>If the user isn't signed in yet, the link first shows the Entra ID sign-in and then opens the app.
No access
When trying to sign in with a cloud-only user or a user that is not assigned to the app, you will get an error message describing the problem, either from Entra or the App Proxy.
![]() | ![]() |
|---|
๐ก Conclusion โ
Application proxy is an easy way to make on-premises web apps available from outside your network without a VPN and extend the authentication protection with MFA. No inbound ports, no VPN or DMZ necessary. Only a small connector that facilitates the communication between the app and Entra ID.
Install the connector โก๏ธ Publish the app โก๏ธ Assign users
That is all you need to get started. Single sign-on, Conditional Access and custom domains then make it seamless for your users.
If you run legacy apps on-premises, application proxy is a great way to add modern authentication controls to them.
Resources
- Microsoft Learn - Microsoft Entra application proxy documentation
- Microsoft Learn - SaaS App configuration guides for Microsoft Entra ID
- Microsoft Learn - How to configure private network connectors
- Microsoft Learn - Kerberos Constrained Delegation for single sign-on with application proxy
- Microsoft Learn - Optimize traffic flow with Microsoft Entra application proxy

