Skip to content

Commit a43f1a1

Browse files
(AzureCXP) Fix for GitHub issue 52393
Removed steps to update key credentials in manifest as keyCredentials property is updated automatically once the certificate loading is complete.
1 parent d01582d commit a43f1a1

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ In this tutorial, you learn how to use a test certificate to access the MS Graph
6868

6969
4. Note the Application ID, and the thumbprint of the certificate you just registered with your application. To find the thumbprint, from your application page in the portal, go to **Certificates & secrets** under **Manage** section. The thumbprint will be under the **Certificates** list.
7070

71-
5. Open the application manifest in the inline manifest editor and replace the *keyCredentials* property with your new certificate information using the following schema.
71+
5. Open the application manifest in the inline manifest editor and verify the *keyCredentials* property is updated with your new certificate information as shown below -
7272

7373
```
7474
"keyCredentials": [
@@ -80,11 +80,8 @@ In this tutorial, you learn how to use a test certificate to access the MS Graph
8080
"value": "$base64Value" //base64 encoding of the certificate raw data
8181
}
8282
]
83-
```
84-
85-
6. Save the manifest.
86-
87-
7. Now, you can get an access token for the MS Graph API using this certificate. Use the **Get-MSCloudIdMSGraphAccessTokenFromCert** cmdlet from the MSCloudIdUtils PowerShell module, passing in the Application ID and the thumbprint you obtained from the previous step.
83+
```
84+
6. Now, you can get an access token for the MS Graph API using this certificate. Use the **Get-MSCloudIdMSGraphAccessTokenFromCert** cmdlet from the MSCloudIdUtils PowerShell module, passing in the Application ID and the thumbprint you obtained from the previous step.
8885

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

0 commit comments

Comments
 (0)