| title | Tutorial - Add authentication to a web app on Azure App Service | Azure |
|---|---|
| description | In this tutorial, you learn how to enable authentication and authorization for a web app running on Azure App Service. Limit access to the web app to users in your organization. |
| author | cephalin |
| ms.author | cephalin |
| ms.service | azure-app-service |
| ms.topic | include |
| ms.date | 02/25/2022 |
| ms.custom | azureday1 |
Learn how to enable authentication for your web app running on Azure App Service and limit access to users in your organization.
In this tutorial, you learn how to:
[!div class="checklist"]
- Configure authentication for the web app.
- Limit access to the web app to users in your organization by using Microsoft Entra as the identity provider.
App Service provides built-in authentication and authorization support, so you can sign in users with no code in your web app. Using the optional App Service authentication/authorization module simplifies authentication and authorization for your app. When you're ready for custom authentication and authorization, you build on this architecture.
App service authentication provides:
- Easily turn on and configure through the Azure portal and app settings.
- No SDKs, specific languages, or changes to application code are required.
- Several identity providers are supported:
- Microsoft Entra
- Microsoft Account
- X
When the authentication/authorization module is enabled, every incoming HTTP request passes through it before being handled by your app code. To learn more, see Authentication and authorization in Azure App Service.