Azure App Proxy Access Cookie shows expired in first site access

Raj 96 Reputation points
2020-11-10T20:19:40.217+00:00

We have 2 sites deployed in same server authenticated via Azure. While accessing one site it shows cookie highlighted in the screenshot with past date expiry whereas the second site shows as expected which is shown in second image.
Due to this all async calls are failing and every page refresh causes redirect to login.microsoftonline.com and again creating same expired cookie.
Can someone please point out what would be difference in setting which is causing this?
38847-image.png

38923-image.png

This happens in Chrome and Edge browser only but both sites work in IE. Also it doesn't happen for all users.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,716 questions
{count} votes

Accepted answer
  1. Raj 96 Reputation points
    2020-12-09T23:42:55.627+00:00

    This ended up being a file permission issue within the application that IIS wasn't able to serve.
    Only odd thing about the issue was Azure app proxy cookie not being set due to this making us to think it was related to Azure app setting.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. 2020-11-11T19:36:29.717+00:00

    Hi @Raj . Please collect a Fiddler log or a HAR file using chrome developer tools for both the working and not-working scenario (whole flow) and create a support request to later attach such information.


Your answer

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