|Cloud Vendor||Microsoft Azure|
|Proficiency Level||Cloud Enthusiast|
This article describes how to use cURL to obtain an OAuth Authentication Token that can be used to access Azure REST APIs. The obtained OAuth Authentication Token can be used to manually construct HTTP requests to the Azure REST APIs or use it from other tools like Postman to explore the APIs’ functionality. Understanding the low-level details of the OAuth flow for Azure allows developers to properly implement and secure their use of the Azure REST APIs.
To authenticate with Azure REST API using the instructions below, you will need the following information:
- Microsoft Azure Tenant ID
- Microsoft Azure Service Principal ID
- Microsoft Azure Service Principal Secret
Last Update: April 30, 2019