Skip to content

Commit 10b10b3

Browse files
Merge pull request #213331 from KrishnaG-MSFT/patch-230
(AzureCXP) MicrosoftDocs/azure-docs#99292
2 parents 7e6a3a0 + a63407a commit 10b10b3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

articles/azure-monitor/agents/azure-monitor-agent-windows-client.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,8 @@ Invoke-RestMethod -Uri $request -Headers $AuthenticationHeader -Method PUT -Body
259259
260260
#2. Create Monitored Object
261261
262+
# "location" property value under the "body" section should be the Azure region where the MO object would be stored. It should be the "same region" where you created the Data Collection Rule. This is the location of the region from where agent communications would happen.
263+
262264
$request = "https://management.azure.com/providers/Microsoft.Insights/monitoredObjects/$TenantID`?api-version=2021-09-01-preview"
263265
$body = @'
264266
{
@@ -271,7 +273,7 @@ $body = @'
271273
$Respond = Invoke-RestMethod -Uri $request -Headers $AuthenticationHeader -Method PUT -Body $body -Verbose
272274
$RespondID = $Respond.id
273275
274-
#########
276+
##########################
275277
276278
#3. Associate DCR to Monitored Object
277279

0 commit comments

Comments
 (0)