Skip to content

Commit 1958a47

Browse files
authored
Merge pull request #103840 from yaronpri/patch-1
Wrong audience
2 parents 89848c2 + fb93269 commit 1958a47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/azure-monitor/essentials/metrics-store-custom-rest-api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ curl -X POST 'https://login.microsoftonline.com/<tennant ID>/oauth2/token' \
5050
--data-urlencode 'grant_type=client_credentials' \
5151
--data-urlencode 'client_id=<your apps client ID>' \
5252
--data-urlencode 'client_secret=<your apps client secret' \
53-
--data-urlencode 'resource=https://management.azure.com'
53+
--data-urlencode 'resource=https://monitor.azure.com'
5454
```
5555

5656
The response body appears as follows:
@@ -144,4 +144,4 @@ If you receive an error message with some part of the process, consider the foll
144144

145145
## Next steps
146146

147-
- Learn more about [custom metrics](./metrics-custom-overview.md).
147+
- Learn more about [custom metrics](./metrics-custom-overview.md).

0 commit comments

Comments
 (0)