Enable user authorization in Azure App Service without coding

Guido Nahuel Franco 40 Reputation points
2024-01-03T15:41:32.67+00:00

Hello everyone.

I have deployed a web application in Azure App Service for a customer. As per customer requirements, access to the application needs to be restricted to authorized users using their corporate credentials.

I have seen that App Service can be easily integrated with different identity providers. In this case, I should work with Entra ID. However, with this integration, any user within the organization would be able to access the application.

Once the application is integrated with the client's Entra ID tenant, how can I easily configure it so that only authorized users can access it?

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

Accepted answer
  1. Pramod Valavala 20,656 Reputation points Microsoft Employee Moderator
    2024-01-03T16:28:53.58+00:00

    @guidofranco The feature is best applicable for authentication but there are authorization policies that you can configure to allow specific users to access your application.

    Similarly, you can enforce these restrictions at the app registration level as well as shown in the official docs.

    But for any other complex decision making that you may need, you will have to code the logic in - either in the same app or offload to a separate service that can make these checks across all your applications.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

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.