Skip to content

Commit 70ad0fd

Browse files
authored
Merge pull request #6776 from dariomws/patch-224
Added 2 to Cert object type in Connect-ExchangeOnline.md
2 parents 1b6619e + 107de09 commit 70ad0fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exchange/exchange-ps/exchange/Connect-ExchangeOnline.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ In version 2.0.3 or later, use this syntax to connect to Exchange Online in unat
9595

9696
### Example 5
9797
```powershell
98-
Connect-ExchangeOnline -AppId <%App_id%> -Certificate <%X509Certificate object%> -Organization "contoso.onmicrosoft.com"
98+
Connect-ExchangeOnline -AppId <%App_id%> -Certificate <%X509Certificate2 object%> -Organization "contoso.onmicrosoft.com"
9999
```
100100

101101
In version 2.0.3 or later, use this syntax to connect to Exchange Online in unattended scripting scenarios using a certificate file. This method is best suited for scenarios where the certificate is stored in remote machines and fetched at runtime. For example, the certificate is stored in the Azure Key Vault.

0 commit comments

Comments
 (0)