Skip to content

Commit 49fb1b7

Browse files
authored
Merge pull request #6943 from MicrosoftDocs/Erikre-patch-8
Update reports-proc-data-rest.md
2 parents b43952f + 3b726e3 commit 49fb1b7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

memdocs/intune/developer/reports-proc-data-rest.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ keywords:
77
author: Erikre
88
ms.author: erikre
99
manager: dougeby
10-
ms.date: 01/10/2022
10+
ms.date: 03/03/2022
1111
ms.topic: reference
1212
ms.service: microsoft-intune
1313
ms.subservice: developer
@@ -207,8 +207,8 @@ The following sample contains a simple REST client. The code uses the **httpClie
207207
var warehouseUrl = "https://fef.{yourinfo}.manage.microsoft.com/ReportingService/DataWarehouseFEService?api-version=v1.0";
208208
var collectionName = "dates";
209209

210-
var adalContext = new AuthenticationContext("https://login.windows.net/common/oauth2/token");
211-
AuthenticationResult authResult = adalContext.AcquireTokenAsync(
210+
var msalContext = new AuthenticationContext("https://login.windows.net/common/oauth2/token");
211+
AuthenticationResult authResult = msalContext.AcquireTokenAsync(
212212
resource: "https://api.manage.microsoft.com/",
213213
clientId: applicationId,
214214
userCredential: new UserPasswordCredential(emailAddress, password)).Result;

0 commit comments

Comments
 (0)