Skip to content

Commit 3fcd3a7

Browse files
authored
Update app-only-auth-powershell-v2.md
1 parent 5f424b9 commit 3fcd3a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exchange/docs-conceptual/app-only-auth-powershell-v2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,14 +137,14 @@ You need to assign the API permission `Exchange.ManageAsApp` so the application
137137

138138
Create a self-signed x.509 certificate using one of the following methods:
139139

140+
- Use the [New-SelfSignedCertificate](https://docs.microsoft.com/powershell/module/pkiclient/new-selfsignedcertificate) (recommended)
141+
140142
- Use the [Create-SelfSignedCertificate script](https://github.com/SharePoint/PnP-Partner-Pack/blob/master/scripts/Create-SelfSignedCertificate.ps1):
141143

142144
```powershell
143145
.\Create-SelfSignedCertificate.ps1 -CommonName "MyCompanyName" -StartDate 2020-04-01 -EndDate 2022-04-01
144146
```
145147

146-
- Use the **makecert.exe** tool from the Windows SDK.
147-
148148
## Step 4: Attach the certificate to the Azure AD application
149149

150150
After you register the certificate with your application, you can use the public key (.pfx file) or the thumbprint for authentication.

0 commit comments

Comments
 (0)