Setting Header Values for Authentication in App Service

K 0 Reputation points
2025-01-10T09:05:45.13+00:00

Currently, we are implementing both the frontend and backend as containers on App Service. We are using App Service authentication with Microsoft Entra ID and Single Sign-On (SSO). After authentication, we intend to authorize users based on their email addresses in the backend. However, we are unable to find the following four request headers in the browser's DevTools:

  • X-MS-CLIENT-PRINCIPAL
  • X-MS-CLIENT-PRINCIPAL-ID
  • X-MS-CLIENT-PRINCIPAL-NAME
  • X-MS-CLIENT-PRINCIPAL-IDP

After authentication with Microsoft Entra ID, is it possible for App Service to insert these headers into the request headers?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,143 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.