...
| Code Block | ||
|---|---|---|
| ||
curl --location --request POST 'https://login.microsoftonline.com/76cbbfcec3ab1869-9ac31472-4ee44577-b6b4b669-8a53922a21720d64c732e75c/oauth2/token' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data-urlencode 'grant_type=client_credentials' \ --data-urlencode 'client_id=<YOURCLIENTID>' \ --data-urlencode 'client_secret=<YOURCLIENTSECRET>' \ --data-urlencode 'resource=<RESOURCE_ID_FOR_APPLICATION_YOU_WANT_TO_ACCESS>' |
...