Skip to content

Commit 4b04aee

Browse files
authored
[b2c] audit log script comment update
Point to new mgmt app reg article.
1 parent 1ffb02b commit 4b04aee

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

articles/active-directory-b2c/view-audit-logs.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ manager: celestedg
99
ms.service: active-directory
1010
ms.topic: conceptual
1111
ms.workload: identity
12-
ms.date: 02/12/2020
12+
ms.date: 02/20/2020
1313
ms.author: marsma
1414
ms.subservice: B2C
1515
ms.custom: fasttrack-edit
@@ -109,13 +109,14 @@ The following PowerShell script shows an example of how to query the Azure AD re
109109
You can try this script in the [Azure Cloud Shell](overview.md). Be sure to update it with your application ID, client secret, and the name of your Azure AD B2C tenant.
110110

111111
```powershell
112-
# This script requires the registration of a Web Application in Azure Active Directory:
113-
# https://docs.microsoft.com/azure/active-directory/reports-monitoring/concept-reporting-api
112+
# This script requires an application registration that's granted Microsoft Graph API permission
113+
# https://docs.microsoft.com/azure/active-directory-b2c/microsoft-graph-get-started
114114
115115
# Constants
116-
$ClientID = "your-client-application-id-here" # Insert your application's client ID, a GUID (registered by Global Admin)
116+
$ClientID = "your-client-application-id-here" # Insert your application's client ID, a GUID
117117
$ClientSecret = "your-client-application-secret-here" # Insert your application's client secret
118-
$tenantdomain = "your-b2c-tenant.onmicrosoft.com" # Insert your Azure AD B2C tenant; for example, contoso.onmicrosoft.com
118+
$tenantdomain = "your-b2c-tenant.onmicrosoft.com" # Insert your Azure AD B2C tenant domain name
119+
119120
$loginURL = "https://login.microsoftonline.com"
120121
$resource = "https://graph.microsoft.com" # Microsoft Graph API resource URI
121122
$7daysago = "{0:s}" -f (get-date).AddDays(-7) + "Z" # Use 'AddMinutes(-5)' to decrement minutes, for example

0 commit comments

Comments
 (0)