Introduction

Completed

Microsoft Graph enables developers to consume user information stored in Microsoft 365 in custom applications. Data is retrieved from Microsoft Graph through a REST API or using one of the various native SDKs provided by Microsoft.

In this module, you'll learn how to work with the Microsoft Graph .NET SDK to create an ASP.NET MVC web application to access data in Microsoft 365.

Prerequisites

  • Basic knowledge of REST services & APIs
  • Basic knowledge of Microsoft Graph
  • Ability to develop with ASP.NET MVC web applications the intermediate level
  • Experience using Visual Studio 2019 at the beginner level
  • Access to a Microsoft 365 tenant

Learning objectives

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

  • Demonstrate how to create and configure an ASP.NET MVC application to authenticate users and obtain tokens from Microsoft Entra ID
  • Demonstrate how to get display a user's events in their calendar
  • Demonstrate how to use the Microsoft Graph .NET SDK

Additional resources

Refer to the following repository for additional resources associated with this module. This repository includes completed code samples from the exercise units found in this module: MicrosoftGraph/msgraph-training-aspnetmvcapp.

This module is also available as a screencast: Build ASP.NET MVC web applications with the Microsoft Graph .NET SDK