Share via

CORS issue with Azure Application Proxy

Erik Andersson 1 Reputation point
2026-03-12T15:30:19.1733333+00:00

I currently have two on-premise apps, one is the web app and the other is the API for it. Lets call them app.customdomain.com and api.customdomain.com. These work on the internal network but I want to publish them externally through the Application Proxy we have set up.

Config:

I've added these apps to the proxy using a wildcard app with the URL"https://*.customdomain.com" with 2 application segments added with URLs "https://app.customdomain.com" and "https://api.customdomain.com" and added the following CNAMe records to our external DNS:

app.customdomain.com -> `

Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

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.