How To: Obtain an OAuth2 Token from Azure REST API using Postman and JavaScript (PowerShell included too!)
This guide assumes you already have an App Registration with Client Secret created in Azure AD and that the app has sufficient scope to make requests. Reference
The Setup
From Postman, create a collection with the following Variables on it.
The va...
charlesw.hashnode.dev3 min read