Episode

Module 3: Exercise - Use Microsoft Graph in your web application to retrieve a user's profile photo | Microsoft Graph Fundamentals for Beginners

with Dan Wahlin

In this hands-on exercise you'll learn how to retrieve a user's profile photo using Microsoft Graph. You'll perform the following tasks:

  • Clone a GitHub repository to get the exercise's application on your machine.
  • Add Azure Active Directory app registration IDs into the application.
  • Add code to retrieve a signed in user's photo from Microsoft Graph.
  • Add code to manipulate the Document Object Model (DOM) to show the user profile photo.

Microsoft Graph