Summary
In this chapter, we have explored some of the key tools and features available to make building applications with authentication and authorization easier. We started with a detailed introduction to the Microsoft identity platform, which included explanations of app registration and service principals, followed by the different permission types and consent types, finishing with a demonstration of using conditional access to limit access to an application.
Building on this, we have looked at using the Microsoft Authentication Library to handle authentication and handle tokens in code. Once we had the tokens, we used them to query Microsoft Graph using the Graph SDK, after exploring Graph Explorer and the structure of Graph REST API requests. We finished off this chapter looking at how SAS can provide defined access to specific resources within a storage account, including using stored access policies for greater security and flexibility.
In the next chapter, we will stick...