Introduction
Many solutions involve creating web APIs to expose functionality to different clients and consumers. Developers can secure these APIs using Microsoft identity to ensure only approved apps can access the web APIs provided they've been granted the necessary permissions.
In this module, you'll learn how to secure a web API with Microsoft identity and how to call it from another application.
Prerequisites
- Basic knowledge of OAuth authentication flows and terminologies
- Ability to develop with ASP.NET Core at the intermediate level
- Experience using Visual Studio Code at the beginner level
- Access to a Microsoft 365 tenant
Learning objectives
- Create a custom web API that is secured with Microsoft identity
- Create a custom web app that calls a custom web API secured with Microsoft identity
- Create a custom daemon app that calls a custom web API secured with Microsoft identity
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: 04 Secure custom APIs with Microsoft Identity.
This module is also available as the screencast Secure custom APIs with Microsoft Identity.
Need help? See our troubleshooting guide or provide specific feedback by reporting an issue.