Just checking in to say that this is actually completely possible without any special configuration. In my case it worked out that the site was misconfigured, so it was crashing right after the successful auth sequence. Once that misconfiguration was corrected, auth worked fine with no issues.
How can I use Entra ID to authenticate users to an on-prem website not publicly available on the internet?
We have a line of business website available on the internet. The site is running on a VM in our tenant in Azure. The site has an app registration created for it. Our local on-prem AD is replicated to Entra, and works to authenticate users to the site.
Dev has decided they want to have a mirror of this site for testing (not dev) purposes, and that this mirror should not be publicly available on the internet. I created a mirror of the site on our on-prem Hyper-V infrastructure, but am having trouble getting it to authenticate users in Entra.
When I attempt log on to the site, it correctly redirects me to login.microsoftonline.com, where I successfully complete the required MFA auth. After finishing auth, the URL in the browser changes to a long string containing the redirect URI specified in the Azure app and what I think is the auth token, but then it just dies there, even though the internal on-prem client can resolve the name in the redirect URI. Is this because the webserver itself can't check the token against the auth server's key?
Do I need to install the app proxy on the mirror web server or something? I took a look at that, but the docs said it wasn't recommended for users who are on-prem?
Anybody know how to get this working? Thanks!
Microsoft Security | Microsoft Entra | Microsoft Entra ID
3 answers
Sort by: Most helpful
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
1 deleted comment
Comments have been turned off. Learn more
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more
-