Skip to content

Commit 68fa466

Browse files
committed
wip
1 parent 1737ec3 commit 68fa466

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/azure-monitor/essentials/rest-api-walkthrough.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Azure monitoring REST API walkthrough
33
description: How to authenticate requests and use the Azure Monitor REST API to retrieve available metric definitions and metric values.
4-
author:EdB-MSFT
4+
author: EdB-MSFT
55
ms.topic: conceptual
66
ms.date: 01/30/2023
77
ms.custom: has-adal-ref, devx-track-azurepowershell
@@ -18,13 +18,13 @@ The Azure Monitor API also makes it possible to list alert rules, view activity
1818

1919
## Authenticate Azure Monitor requests
2020

21-
Tasks executed using the Azure Monitor API use the Azure Resource Manager authentication model. All requests must be authenticated with Azure Active Directory (Azure AD). One approach to authenticating the client application is to create an Azure AD service principal and retrieve the authentication (JWT) token.
21+
Tasks executed using the Azure Monitor API use the Azure Resource Manager authentication model. All requests must be authenticated with Azure Active Directory (Azure Active Directory). One approach to authenticating the client application is to create an Azure Active Directory service principal and retrieve the authentication (JWT) token.
2222

2323
## Create an service principal
2424

2525
### [Azure Portal](#tab/portal)
2626

27-
To create an Azure AD service principal using the Azure Portal see [Register an App to request authorization tokens and work with APIs](../logs/api/register-app-for-token)
27+
To create an Azure Active Directory service principal using the Azure Portal see [Register an App to request authorization tokens and work with APIs](../logs/api/register-app-for-token)
2828

2929
### [Azure CLI](#tab/cli)
3030

@@ -102,7 +102,7 @@ A successful request receives an access token in the response:
102102
Use the access token in your Azure Monitor API requests
103103

104104
### [Powershell](#tab/powershell)
105-
The following sample script demonstrates creating an Azure AD service principal via PowerShell. For a more detailed walkthrough, see the documentation on [using Azure PowerShell to create a service principal to access resources](/powershell/azure/create-azure-service-principal-azureps). It's also possible to [create a service principal via the Azure portal](../../active-directory/develop/howto-create-service-principal-portal.md).
105+
The following sample script demonstrates creating an Azure Active Directory service principal via PowerShell. For a more detailed walkthrough, see the documentation on [using Azure PowerShell to create a service principal to access resources](/powershell/azure/create-azure-service-principal-azureps). It's also possible to [create a service principal via the Azure portal](../../active-directory/develop/howto-create-service-principal-portal.md).
106106

107107

108108
```powershell
@@ -116,7 +116,7 @@ Connect-AzAccount -SubscriptionId $subscriptionId
116116
$pwd = "{service-principal-password}"
117117
$secureStringPassword = ConvertTo-SecureString -String $pwd -AsPlainText -Force
118118
119-
# Create a new Azure AD application
119+
# Create a new Azure Active Directory application
120120
$azureAdApplication = New-AzADApplication `
121121
-DisplayName "My Azure Monitor" `
122122
-HomePage "https://localhost/azure-monitor" `
@@ -522,7 +522,7 @@ The resulting JSON response body would be similar to the following example:
522522

523523
### Use ARMClient
524524

525-
Another approach is to use [ARMClient](https://github.com/projectkudu/armclient) on your Windows machine. ARMClient handles the Azure AD authentication (and resulting JWT token) automatically. The following steps outline the use of ARMClient for retrieving metric data:
525+
Another approach is to use [ARMClient](https://github.com/projectkudu/armclient) on your Windows machine. ARMClient handles the Azure Active Directory authentication (and resulting JWT token) automatically. The following steps outline the use of ARMClient for retrieving metric data:
526526

527527
1. Install [Chocolatey](https://chocolatey.org/) and [ARMClient](https://github.com/projectkudu/armclient).
528528
1. In a terminal window, enter **armclient.exe login**. Doing so prompts you to sign in to Azure.

0 commit comments

Comments
 (0)