question

KristianReed-1119 avatar image
KristianReed-1119 asked ·

Integrate web app with VM over internal vnet?

Hi,

Issue:
I want to place a web service from a VM behind a Azure AD sign on portal.

Attempted solution:
Set up a simple Nginx proxy with Web app for container and let this proxy redirect to VM though Vnet integration. From azure web app service it is easy to enable authentication with Azure ad.

This does not seem to work as there is a problem connecting to the exposed port:

nginx: [emerg] bind() to 0.0.0.0:4527 failed (98: Address already in use)

For web app for containers it does also seem to be impossible to ssh into the container

Timeout Error, Unable to establish a connection

Anyone know if this a reasonable way to achieve SSO or is there any easier ways to achieve this from azure?


Regards,
Kristian Reed


azure-active-directoryazure-webapps
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SamCogan avatar image
SamCogan answered ·

I would take a look at Azure Application Proxy, it is designed to do just this, allowing pre-auth with Azure AD.

It does however require Azure AD Premium licences.

Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.