Secure access to WEB APP and XRDP for a VM in Azure already up and running with a basic NSG

Chris Kirkwood 0 Reputation points
2025-11-18T22:43:59.75+00:00

Add an application gateway for a WEB APP and XRDP to an azure host already configured. Also need to add SSL and 2FA to gain access to the VM through Entra-Id credentials for defined external users.

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
{count} votes

1 answer

Sort by: Most helpful
  1. Q&A Assist
    2025-11-18T22:45:14.9066667+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    To secure access to your web app and XRDP for a VM in Azure using an Application Gateway, you can follow these steps:

    1. Create an Application Gateway: In the Azure portal, search for Application Gateway and select Create application gateway. Provide the necessary details, including the frontend IP address type (public or private) and backend pool configuration for your VM.
    2. Configure SSL: On the Listener tab during the Application Gateway setup, if you select HTTPS, you will need to provide a certificate. This can be done using a PFX file or an existing Azure Key Vault certificate.
    3. Set Up Routing Rules: Add routing rules to direct traffic to your web app and XRDP service. You can also configure path-based rules if needed.
    4. Enable Microsoft Entra ID for Authentication: To implement two-factor authentication (2FA) and secure access through Entra ID credentials, ensure that your application is integrated with Microsoft Entra ID. This will allow you to enforce conditional access policies and enable 2FA for defined external users.
    5. Test the Configuration: After setting up the Application Gateway and configuring SSL and Entra ID, test the access to ensure that users can authenticate and access the web app and XRDP as intended.

    By following these steps, you can effectively secure access to your Azure VM and applications using Application Gateway, SSL, and Microsoft Entra ID for authentication.


    References:

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.