Skip to content

Commit 61d968e

Browse files
authored
Update tutorial-access-api-with-certificates.md
fixing acrolinx terminology issues: PowerShell
1 parent 3a0ff6f commit 61d968e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/active-directory/reports-monitoring/tutorial-access-api-with-certificates.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ In this tutorial, you learn how to use a test certificate to access the MS Graph
4242
- Access tokens from user, application keys, and certificates using ADAL
4343
- Graph API handling paged results
4444

45-
6. If it's your first time using the module run **Install-MSCloudIdUtilsModule**, otherwise import it using the **Import-Module** Powershell command. Your session should look similar to this screen:
46-
![Windows Powershell](./media/tutorial-access-api-with-certificates/module-install.png)
45+
6. If it's your first time using the module run **Install-MSCloudIdUtilsModule**, otherwise import it using the **Import-Module** PowerShell command. Your session should look similar to this screen:
46+
![Windows PowerShell](./media/tutorial-access-api-with-certificates/module-install.png)
4747

48-
7. Use the **New-SelfSignedCertificate** Powershell commandlet to create a test certificate.
48+
7. Use the **New-SelfSignedCertificate** PowerShell commandlet to create a test certificate.
4949

5050
```
5151
$cert = New-SelfSignedCertificate -Subject "CN=MSGraph_ReportingAPI" -CertStoreLocation "Cert:\CurrentUser\My" -KeyExportPolicy Exportable -KeySpec Signature -KeyLength 2048 -KeyAlgorithm RSA -HashAlgorithm SHA256
@@ -85,7 +85,7 @@ In this tutorial, you learn how to use a test certificate to access the MS Graph
8585

8686
![Azure portal](./media/tutorial-access-api-with-certificates/getaccesstoken.png)
8787

88-
7. Use the access token in your Powershell script to query the Graph API. Use the **Invoke-MSCloudIdMSGraphQuery** cmdlet from the MSCloudIDUtils to enumerate the signins and directoryAudits endpoint. This cmdlet handles multi-paged results, and sends those results to the PowerShell pipeline.
88+
7. Use the access token in your PowerShell script to query the Graph API. Use the **Invoke-MSCloudIdMSGraphQuery** cmdlet from the MSCloudIDUtils to enumerate the signins and directoryAudits endpoint. This cmdlet handles multi-paged results, and sends those results to the PowerShell pipeline.
8989

9090
8. Query the directoryAudits endpoint to retrieve the audit logs.
9191
![Azure portal](./media/tutorial-access-api-with-certificates/query-directoryAudits.png)

0 commit comments

Comments
 (0)