How to use interactive login in PowerShell and query API?
Background
This blog post shows how to create a PowerShell script that authenticates the user against Azure AD and creates a request to API with a bearer token.
Preparations
First, we need to create an Azure AD application. Create applications with the following settings:
Azure AD application for API
* Open