File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ keywords:
77author : Erikre
88ms.author : erikre
99manager : dougeby
10- ms.date : 01/10 /2022
10+ ms.date : 03/03 /2022
1111ms.topic : reference
1212ms.service : microsoft-intune
1313ms.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 ;
You can’t perform that action at this time.
0 commit comments