Sign in users with Microsoft Entra ID in a Java web app

Beginner
Developer
Azure
Microsoft Authentication Library for Java

Learn how to authenticate users with Microsoft Entra ID and get authorized access to data in a Java web app using Microsoft Authentication Library.

Learning objectives

By the end of this module, you'll be able to:

  • Register a web application with Microsoft Entra ID.
  • Sign in users in a Microsoft Entra tenant to a Java web application.
  • Authorize access to data in a Microsoft API.

Prerequisites

  • Tomcat 9 is installed and running on the development machine
  • Maven 3 is installed and running on the development machine
  • Java 8 or above is installed on the development machine
  • Familiarity with building Java web application with Maven and running it on a Tomcat server
  • An Azure subscription and Microsoft Entra tenant
  • An IDE like Visual Studio Code to edit code