Skip to content

Commit a50ae7f

Browse files
authored
Merge pull request #8129 from MicrosoftDocs/chrisda
Update app-only-auth-powershell-v2.md
2 parents 55d2dcc + 632fd8e commit a50ae7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ Create a self-signed x.509 certificate using one of the following methods:
193193

194194
```powershell
195195
# Create certificate
196-
$mycert = New-SelfSignedCertificate -DnsName "contoso.org" -CertStoreLocation "cert:\LocalMachine\My" -NotAfter (Get-Date).AddYears(1) -KeySpec KeyExchange
196+
$mycert = New-SelfSignedCertificate -DnsName "contoso.org" -CertStoreLocation "cert:\CurrentUser\My" -NotAfter (Get-Date).AddYears(1) -KeySpec KeyExchange
197197
198198
# Export certificate to .pfx file
199199
$mycert | Export-PfxCertificate -FilePath mycert.pfx -Password $(ConvertTo-SecureString -String "P@ssw0Rd1234" -AsPlainText -Force)

0 commit comments

Comments
 (0)