We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 55d2dcc + 632fd8e commit a50ae7fCopy full SHA for a50ae7f
exchange/docs-conceptual/app-only-auth-powershell-v2.md
@@ -193,7 +193,7 @@ Create a self-signed x.509 certificate using one of the following methods:
193
194
```powershell
195
# Create certificate
196
- $mycert = New-SelfSignedCertificate -DnsName "contoso.org" -CertStoreLocation "cert:\LocalMachine\My" -NotAfter (Get-Date).AddYears(1) -KeySpec KeyExchange
+ $mycert = New-SelfSignedCertificate -DnsName "contoso.org" -CertStoreLocation "cert:\CurrentUser\My" -NotAfter (Get-Date).AddYears(1) -KeySpec KeyExchange
197
198
# Export certificate to .pfx file
199
$mycert | Export-PfxCertificate -FilePath mycert.pfx -Password $(ConvertTo-SecureString -String "P@ssw0Rd1234" -AsPlainText -Force)
0 commit comments