Introduction

Completed

Single sign-on (SSO) provides a seamless way for your add-in to authenticate users. Using this method, your add-in can authenticate the user to retrieve identity information or to obtain from another secured endpoint such as Microsoft Graph. To do this, your add-in must call a server-side web API registered with Microsoft Entra ID.

In this module, you'll learn how to implement SSO for your Office Add-ins.

Prerequisites

  • Basic knowledge of REST services and APIs
  • Basic knowledge of Microsoft Graph
  • Ability to program with JavaScript and Node.js
  • Experience using Visual Studio Code at the beginner level
  • Access to a Microsoft 365 tenant

Learning objectives

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

  • Understand how Office Add-ins can use SSO to call Microsoft Graph
  • Create Word add-in that uses SSO to call Microsoft Graph
  • Create an Excel add-in that uses SSO to call Microsoft Graph
  • Create an Outlook add-in that uses SSO to call Microsoft Graph

Additional resources

Refer to the following repository for more resources associated with this module. This repository includes completed code samples from the exercise units found in this module: Using single sign-on (SSO) with Office Add-ins.

This module is also available as the screencast Using single sign-on (SSO) with Office Add-ins.