How To Get Azure AD Token From Postman

Did you know you can use Postman to get an Azure AD Token? Recently, we were required to obtain the Azure AD token using the Postman tool. In this article, I can guide you through obtaining an Azure AD token using Postman.

Get Azure AD Token From Postman

To Get Azure AD Token From Postman, Follow the below steps

1. Launch and log in to the Postman app.

2. Select Get and paste the URL like https://login.microsoftonline.com/<Your tenant Id>/oauth2/token.

Note: Ensure to replace the value of your tenant ID.

3. On the Params tab, specify the key as Content-Type and the value as application/x-www-form-urlencoded, as shown in the screenshot below.

get azure token using postman

4. Select the body tab and enter the key and respective value details as mentioned below. You can also check out the screenshot below.

  • grant_type: client_credentials
  • client_id: Application (client) ID
  • client_secret: App Certificate & Secret <Client secret value>
  • Resource: https://servicebus.azure.net
how to get access token in postman

Check out Create Azure AD B2C Tenant

5. Finally, click on the Send button, as shown in the screenshot below. We successfully received the expected access token.

How to get azure ad token from postman

Video Tutorial

Conclusion

Getting an Azure AD Token From Postman is essential when working with Azure services. This article provides easy steps for this task.

You may also like following the articles below

Azure Virtual Machine

DOWNLOAD FREE AZURE VIRTUAL MACHINE PDF

Download our free 25+ page Azure Virtual Machine guide and master cloud deployment today!