Integrate with Azure AD Application Proxy on a Network Device Enrollment Service (NDES) server

Azure Active Directory (AD) Application Proxy lets you publish applications inside your network. These applications are ones such as SharePoint sites, Microsoft Outlook Web App, and other web applications. It also provides secure access to users outside your network via Azure.

If you're new to Azure AD Application Proxy and want to learn more, see Remote access to on-premises applications through Azure AD Application Proxy.

Azure AD Application Proxy is built on Azure. It gives you a massive amount of network bandwidth and server infrastructure for better protection against distributed denial-of-service (DDOS) attacks and superb availability. Furthermore, there's no need to open external firewall ports to your on-premises network and no DMZ server is required. All traffic is originated inbound. For a complete list of outbound ports, see Tutorial: Add an on-premises application for remote access through Application Proxy in Azure Active Directory.

Azure AD Application Proxy is a feature that is available only if you are using the Premium or Basic editions of Azure Active Directory. For more information, see Azure Active Directory pricing. If you have Enterprise Mobility Suite (EMS) licenses, you are eligible to use this solution. The Azure AD Application Proxy connector only installs on Windows Server 2012 R2 or later. This is also a requirement of the NDES server.

Install and register the connector on the NDES server

  1. Sign in to the Azure portal as an application administrator of the directory that uses Application Proxy. For example, if the tenant domain is contoso.com, the admin should be admin@contoso.com or any other admin alias on that domain.

  2. Select your username in the upper-right corner. Verify you're signed in to a directory that uses Application Proxy. If you need to change directories, select Switch directory and choose a directory that uses Application Proxy.

  3. In left navigation panel, select Azure Active Directory.

  4. Under Manage, select Application proxy.

  5. Select Download connector service.

    Download connector service to see the Terms of Service

  6. Read the Terms of Service. When you're ready, select Accept terms & Download.

  7. Copy the Azure AD Application Proxy connector setup file to your NDES server.

    You can install the connector on any server within your corporate network with access to NDES. You don't have to install it on the NDES server itself.

  8. Run the setup file, such as AADApplicationProxyConnectorInstaller.exe. Accept the software license terms.

  9. During the install, you're prompted to register the connector with the Application Proxy in your Azure AD directory.

    • Provide the credentials for a global or application administrator in your Azure AD directory. The Azure AD global or application administrator credentials may be different from your Azure credentials in the portal.

      Note

      The global or application administrator account used to register the connector must belong to the same directory where you enable the Application Proxy service.

      For example, if the Azure AD domain is contoso.com, the global/application administrator should be admin@contoso.com or another valid alias on that domain.

    • If Internet Explorer Enhanced Security Configuration is turned on for the server where you install the connector, the registration screen might be blocked. To allow access, follow the instructions in the error message, or turn off Internet Explorer Enhanced Security during the install process.

    • If connector registration fails, see Troubleshoot Application Proxy.

  10. At the end of the setup, a note is shown for environments with an outbound proxy. To configure the Azure AD Application Proxy connector to work through the outbound proxy, run the provided script, such as C:\Program Files\Microsoft AAD App Proxy connector\ConfigureOutBoundProxy.ps1.

  11. On the Application proxy page in the Azure portal, the new connector is listed with a status of Active, as shown in the following example:

    The new Azure AD Application Proxy connector shown as active in the Azure portal

    Note

    To provide high availability for applications authenticating through the Azure AD Application Proxy, you can install connectors on multiple VMs. Repeat the same steps listed in the previous section to install the connector on other servers joined to the Azure AD DS managed domain.

  12. After successful installation, go back to the Azure portal.

  13. Select Enterprise applications.

    ensure that you're engaging the right stakeholders

  14. Select +New Application, and then select On-premises application.

  15. On the Add your own on-premises application, configure the following fields:

    • Name: Enter a name for the application.
    • Internal Url: Enter the internal URL/FQDN of your NDES server on which you installed the connector.
    • Pre Authentication: Select Passthrough. It’s not possible to use any form of pre-authentication. The protocol used for Certificate Requests (SCEP) doesn't provide such option.
    • Copy the provided External URL to your clipboard.
  16. Select +Add to save your application.

  17. Test whether you can access your NDES server via the Azure AD Application proxy by pasting the link you copied in step 10 into a browser. You should see a default IIS welcome page.

  18. As a final test, add the mscep.dll path to the existing URL you pasted in the previous step:

    https://scep-test93635307549127448334.msappproxy.net/certsrv/mscep/mscep.dll

  19. You should see an HTTP Error 403 – Forbidden response.

  20. Change the NDES URL provided (via Microsoft Intune) to devices. This change could either be in Microsoft Endpoint Configuration Manager or the Microsoft Endpoint Manager admin center.

    • For Configuration Manager, go to the certificate registration point and adjust the URL. This URL is what devices call out to and present their challenge.
    • For Intune standalone, either edit or create a new SCEP policy and add the new URL.

Next steps

With the Azure AD Application Proxy integrated with NDES, publish applications for users to access. For more information, see publish applications using Azure AD Application Proxy.