Authentication and Authorization Examples
Fill in the client Id and secret to get an access token.
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d "grant_type=client_credentials&client_id=&client_secret=&resource=https://management.azure.com" "https://login.microsoftonline.com/f4817ec4-5e1a-42c0-a96a-b89179f9ed9d/oauth2/token"