Managing Azure DevOps Pats for technical users via NodeJs and PostMan

  • As listed in the docs from the interactive flow. First create an application in your Azure AD. See it here. And give it the grant:
  • Application (client) ID as client_id
  • Directory (tenant) ID as tenant
  • The client secret as client_secret
  • User Principal Name (E-Mail) as username
  • Password as password
POST - https://login.microsoftonline.com/TENANT/oauth2/v2.0/token BODY - x-www-form-urlencoded 
GET - https://vssps.dev.azure.com/YOUR_ORGANISATION/_apis/tokens/pats?api-version=6.1-preview.1 
Authorisation - Bearer Token - The access_token from the response earlier

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store