Preserve URL fragment in App Service with built-in Authentication

Peter Jakubis 0 Reputation points
2025-01-30T08:26:49.8833333+00:00

Hello,

I have setup App Service with built-in Authentication using Microsoft as identity provider following the guides in https://learn.microsoft.com/en-us/azure/app-service/scenario-secure-app-authentication-app-service?tabs=workforce-configuration.

Authentication itself is working as expected.

I need to preserve URI fragment after the login flow is finished. I have added WEBSITE_AUTH_PRESERVE_URL_FRAGMENT=true into application settings as documented in https://learn.microsoft.com/en-us/azure/app-service/configure-authentication-customize-sign-in-out#preserve-url-fragments, but the URI fragment is still stripped.

Do I need to configure something else?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,223 questions
0 comments No comments
{count} votes

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.