You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: exchange/docs-conceptual/exchange-online/connect-to-exchange-online-powershell/connect-to-exchange-online-powershell.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,10 +55,29 @@ Exchange Online PowerShell allows you to manage your Exchange Online settings fr
55
55
```
56
56
57
57
You need to configure this setting only once on your computer, not every time you connect.
58
+
59
+
- Windows Remote Management (WinRM) on your computer needs to allow basic authentication (it's enabled by default). To verify that basic authentication is enabled, run this command **in a Command Prompt**:
60
+
61
+
```
62
+
winrm get winrm/config/client/auth
63
+
```
64
+
65
+
If you don't see the value `Basic = true`, you need to run this command to enable basic authentication for WinRM:
66
+
67
+
```
68
+
winrm set winrm/config/client/auth @{Basic="true"}
69
+
```
70
+
71
+
If basic authentication is disabled, you'll get this error when you try to connect:
72
+
73
+
`The WinRM client cannot process the request. Basic authentication is currently disabled in the client configuration. Change the client configuration and try the request again.`
58
74
59
75
> [!TIP]
60
76
> Having problems? Ask for help in the Exchange forums. Visit the forums at: [Exchange Online](https://go.microsoft.com/fwlink/p/?linkId=267542), or [Exchange Online Protection](https://go.microsoft.com/fwlink/p/?linkId=285351).
61
77
78
+
> [!IMPORTANT]
79
+
> On October 13th, 2020 we will retire Basic Authentication for Remote PowerShell (RPS) in Exchange Online.
80
+
62
81
## Connect to Exchange Online
63
82
64
83
1. On your local computer, open Windows PowerShell and run the following command.
Copy file name to clipboardExpand all lines: exchange/docs-conceptual/exchange-online/connect-to-exchange-online-powershell/mfa-connect-to-exchange-online-powershell.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,10 +15,10 @@ description: "Learn how to connect to Exchange Online PowerShell by using multi-
15
15
16
16
# Connect to Exchange Online PowerShell using multi-factor authentication
17
17
18
-
If you want to use multi-factor authentication (MFA) to connect to Exchange Online PowerShell, you can't use the instructions at [Connect to Exchange Online PowerShell](connect-to-exchange-online-powershell.md) to use remote PowerShell to connect to Exchange Online. MFA requires you to install the Exchange Online Remote PowerShell Module, and use the **Connect-ExoPSSession** cmdlet to connect.
18
+
If you want to use multi-factor authentication (MFA) to connect to Exchange Online PowerShell, you can't use the instructions at [Connect to Exchange Online PowerShell](connect-to-exchange-online-powershell.md) to use remote PowerShell to connect to Exchange Online. MFA requires you to install the Exchange Online Remote PowerShell Module, and use the **Connect-EXOPSSession** cmdlet to connect.
19
19
20
20
> [!NOTE]
21
-
> The Exchange Online Remote PowerShell Module is not supported in PowerShell Core (macOS, Linux, or Windows Nano Server). As a workaround, you can install the module on a computer that's running a supported version of Windows (physical or virtual), and use remote desktop software to connect.
21
+
> • The Exchange Online Remote PowerShell Module is not supported in PowerShell Core (macOS, Linux, or Windows Nano Server). As a workaround, you can install the module on a computer that's running a supported version of Windows (physical or virtual), and use remote desktop software to connect. <br/><br/>• To use the new Exchange Online PowerShell V2 module (which also supports MFA), see [Use the Exchange Online PowerShell V2 module](../exchange-online-powershell-v2/exchange-online-powershell-v2.md).)
22
22
23
23
## What do you need to know before you begin?
24
24
@@ -42,11 +42,11 @@ If you want to use multi-factor authentication (MFA) to connect to Exchange Onli
42
42
43
43
<sup>*</sup> For older versions of Windows, you need to install the Microsoft.NET Framework 4.5 or later and then an updated version of the Windows Management Framework: 3.0, 4.0, or 5.1 (only one). For more information, see [Installing the .NET Framework](https://go.microsoft.com/fwlink/p/?LinkId=257868), [Windows Management Framework 3.0](https://go.microsoft.com/fwlink/p/?LinkId=272757), [Windows Management Framework 4.0](https://go.microsoft.com/fwlink/p/?LinkId=391344), and [Windows Management Framework 5.1](https://aka.ms/wmf5download).
44
44
45
-
- The Exchange Online Remote PowerShell Module needs to be installed on your computer:
45
+
- The Exchange Online Remote PowerShell Module needs to be installed on your computer. You need to do the following steps in a browser that supports ClickOnce (for example, Internet Explorer or Edge):
46
46
47
-
1. In Internet Explorer or Edge, open the Exchange admin center (EAC) for your Exchange Online organization. For instructions, see [Exchange admin center in Exchange Online](https://docs.microsoft.com/exchange/exchange-admin-center).
47
+
**Note**: ClickOnce support is available in the Chromium-based version of Edge at <edge://flags/#edge-click-once>.
48
48
49
-
**Note**: A browser that uses ClickOnce to download (like Internet Explorer or Edge) is needed to complete the next step.
49
+
1. Open the Exchange admin center (EAC) for your Exchange Online organization. For instructions, see [Exchange admin center in Exchange Online](https://docs.microsoft.com/exchange/exchange-admin-center).
50
50
51
51
2. In the EAC, go to **Hybrid** > **Setup** and click the appropriate **Configure** button to download the Exchange Online Remote PowerShell Module for multi-factor authentication.
52
52
@@ -70,7 +70,7 @@ If you want to use multi-factor authentication (MFA) to connect to Exchange Onli
70
70
71
71
If basic authentication is disabled, you'll get this error when you try to connect:
72
72
73
-
`The WinRM client cannot process the request. Basic authentication is currently disabled in the client configuration. Change the client configuration and try the request again.`
73
+
> The WinRM client cannot process the request. Basic authentication is currently disabled in the client configuration. Change the client configuration and try the request again.
74
74
75
75
- When you use the Exchange Online Remote PowerShell Module, your session will end after one hour, which can be problematic for long-running scripts or processes. To avoid this issue, use [Trusted IPs](https://docs.microsoft.com/azure/active-directory/authentication/howto-mfa-mfasettings#trusted-ips) to bypass MFA for connections from your intranet. Trusted IPs allow you to connect to Exchange Online PowerShell from your intranet using the old instructions at [Connect to Exchange Online PowerShell](connect-to-exchange-online-powershell.md). Also, if you have servers in a datacenter, be sure to add their public IP addresses to Trusted IPs as described [here](https://docs.microsoft.com/azure/active-directory/authentication/howto-mfa-mfasettings#enable-the-trusted-ips-feature-by-using-service-settings).
76
76
@@ -113,7 +113,7 @@ If you want to use multi-factor authentication (MFA) to connect to Exchange Onli
113
113
This example connects to Exchange Online to manage another tenant
If your organization has single sign-on (SSO) enabled and you are logged on to a computer as a user in the SSO ___domain, then **Connect-EXPOPSSession** may fail with the following error:
138
+
If your organization has single sign-on (SSO) enabled and you are logged on to a computer as a user in the SSO ___domain, then **Connect-EXOPSSession** may fail with the following error:
This error occurs because single sign-on overrides the specified user principal name (UPN). As a work-around, connect from a non-___domain-joined computer or log on to the ___domain-joined computer using a local user account.
Copy file name to clipboardExpand all lines: exchange/docs-conceptual/exchange-online/exchange-online-powershell-v2/cmdlet-property-sets.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ description: "Learn about the available property sets in the Exchange Online Pow
18
18
19
19
# Property sets in Exchange Online PowerShell V2 cmdlets
20
20
21
-
This topic describes the property sets that are available in the new cmdlets in the [Exchange Online PowerShell V2 module](exchange-online-powershell-v2.md). For more information about property sets, see [Properties and property sets](exchange-online-powershell-v2.md#properties-and-property-sets).
21
+
This topic describes the property sets that are available in the new cmdlets in the [Exchange Online PowerShell V2 module](exchange-online-powershell-v2.md). For more information about property sets, see [Properties and property sets in the EXO V2 module](exchange-online-powershell-v2.md#properties-and-property-sets-in-the-exo-v2-module).
0 commit comments