How to use interactive login in PowerShell and query API?
A PowerShell script that signs the user in interactively with Azure AD and calls an API with a bearer token.
Authentication, authorization and identity platforms in practice.