Skip to content

Commit 3a12673

Browse files
authored
Merge pull request #100079 from projectaki/patch-1
Update Azure Monitor Log Analytics API docs
2 parents 734b433 + 2c99be2 commit 3a12673

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

articles/azure-monitor/logs/api/authentication-authorization.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,19 @@ You can also use this flow to request a token to `https://api.loganalytics.io`.
4545
&client_secret=YOUR_CLIENT_SECRET
4646
```
4747

48+
##### Microsoft identity platform v2.0
49+
50+
```
51+
POST /YOUR_AAD_TENANT/oauth2/v2.0/token HTTP/1.1
52+
Host: https://login.microsoftonline.com
53+
Content-Type: application/x-www-form-urlencoded
54+
55+
grant_type=client_credentials
56+
&client_id=YOUR_CLIENT_ID
57+
&scope=https://management.azure.com/.default
58+
&client_secret=YOUR_CLIENT_SECRET
59+
```
60+
4861
A successful request receives an access token:
4962

5063
```

0 commit comments

Comments
 (0)