Chapter 6:Building Secure Services Using the Microsoft Graph API
In the previous chapter, we covered OAuth 2.0, OpenID Connect, and the Microsoft Authentication Library (MSAL) in great depth. We looked at the different specifications and flows and authentication libraries that Microsoft provides. Then, we put the theory into practice and built an application that leverages the Microsoft Identity Web authentication library.
In this chapter, we are going to look, in depth, at the Microsoft Graph API. We are going to look at the different APIs that Microsoft Graph provides, how it integrates with Azure and Microsoft 365, and how to build queries to retrieve data. Finally, in this chapter, we are going to finish the demonstration that we are building and add some functionality to call the Microsoft Graph API on behalf of the signed-in user.
In this chapter, the following topics will be covered:
- An overview of Microsoft Graph
- Accessing data and methods
- Queries, batching...