Skip to content

Commit bb79c34

Browse files
authored
Update Connect-ExchangeOnline.md
1 parent b8d0ed2 commit bb79c34

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)