We are running our desktop app behind Azure App Proxy with preauth enabled. The desktop app connects to a server to fetch and update data. When running it directly, it runs fine; however, behind the Azure App Proxy, we get a timeout error after 10 minutes. Looking through the HAR network logs, the only cookie that has a 10-minute timeout is the AzureAppProxyPreauthSessionCookie.
Is there a way to avoid such timeouts without disabling preauth for that desktop app? The desktop app authenticates with a server through an embedded WebView2 window, so is there something that should be done on the desktop app or the server to integrate with Azure App Proxy?