Skip to content

Commit a413ce9

Browse files
committed
Merge branch 'master' into SafeDocs-chrisda
2 parents 1f64505 + 816e2c7 commit a413ce9

File tree

480 files changed

+7348
-2452
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

480 files changed

+7348
-2452
lines changed

.openpublishing.redirection.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@
6969
"source_path": "exchange/exchange-ps-v2-module/connect-exchangeonline.md",
7070
"redirect_url": "https://docs.microsoft.com/powershell/module/exchange/powershell-v2-module/connect-exchangeonline",
7171
"redirect_document_id": true
72-
}
72+
},
73+
{
74+
"source_path": "exchange/virtual-folder/exchange/unified-messaging/Test-ExchangeUMCallFlow.md",
75+
"redirect_url": "https://www.microsoft.com/download/details.aspx?id=20839",
76+
"redirect_document_id": false
77+
},
7378
]
7479
}

exchange/docs-conceptual/exchange-eop/connect-to-exchange-online-protection-powershell.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Exchange Online Protection PowerShell allows you to manage your Exchange Online
4242

4343
- Windows PowerShell needs to be configured to run scripts, and by default, it isn't. You'll get the following error when you try to connect:
4444

45-
`Files cannot be loaded because running scripts is disabled on this system. Provide a valid certificate with which to sign the files.`
45+
> Files cannot be loaded because running scripts is disabled on this system. Provide a valid certificate with which to sign the files.
4646
4747
To require all scripts that you download from the internet are signed by a trusted publisher, run the following command in an elevated Windows PowerShell window (a Windows PowerShell window you open by selecting **Run as administrator**):
4848

@@ -104,11 +104,11 @@ If you receive errors, check the following requirements:
104104

105105
- The account you use to connect to Exchange Online Protection PowerShell must be represented as a [mail user in EOP](https://docs.microsoft.com/microsoft-365/security/office-365-security/manage-mail-users-in-eop) (created manually or by directory synchronization). If the account is not visible in the Exchange admin center (EAC) as a mail user at **Recipients** \> **Contacts**, you'll receive the following error when you try to connect:
106106

107-
`Import-PSSession : Running the Get-Command command in a remote session reported the following error: Processing data for a remote command failed with the following error message: The request for the Windows Remote Shell with ShellId <GUID> failed because the shell was not found on the server. Possible causes are: the specified ShellId is incorrect or the shell no longer exists on the server. Provide the correct ShellId or create a new shell and retry the operation.`
107+
> Import-PSSession : Running the Get-Command command in a remote session reported the following error: Processing data for a remote command failed with the following error message: The request for the Windows Remote Shell with ShellId <GUID> failed because the shell was not found on the server. Possible causes are: the specified ShellId is incorrect or the shell no longer exists on the server. Provide the correct ShellId or create a new shell and retry the operation.
108108
109109
- The **New-PSSession** command (Step 2) might fail to connect if your client IP address changes during the connection request. This can happen if your organization uses a source network address translation (SNAT) pool that contains multiple IP addresses. The connection error looks like this:
110110

111-
`The request for the Windows Remote Shell with ShellId <ID> failed because the shell was not found on the server. Possible causes are: the specified ShellId is incorrect or the shell no longer exists on the server. Provide the correct ShellId or create a new shell and retry the operation.`
111+
> The request for the Windows Remote Shell with ShellId <ID> failed because the shell was not found on the server. Possible causes are: the specified ShellId is incorrect or the shell no longer exists on the server. Provide the correct ShellId or create a new shell and retry the operation.
112112
113113
To fix the issue, use an SNAT pool that contains a single IP address, or force the use of a specific IP address for connections to the Exchange Online Protection PowerShell endpoint.
114114

exchange/docs-conceptual/exchange-online/connect-to-exchange-online-powershell/connect-to-exchange-online-powershell.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,19 +56,19 @@ Exchange Online PowerShell allows you to manage your Exchange Online settings fr
5656

5757
You need to configure this setting only once on your computer, not every time you connect.
5858

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**:
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**:
6060

6161
```
6262
winrm get winrm/config/client/auth
6363
```
6464

65-
If you don't see the value `Basic = true`, you need to run this command to enable basic authentication for WinRM:
65+
If you don't see the value `Basic = true`, you need to run this command to enable Basic authentication for WinRM:
6666

6767
```
6868
winrm set winrm/config/client/auth @{Basic="true"}
6969
```
7070

71-
If basic authentication is disabled, you'll get this error when you try to connect:
71+
If Basic authentication is disabled, you'll get this error when you try to connect:
7272

7373
`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.`
7474

exchange/docs-conceptual/exchange-online/connect-to-exchange-online-powershell/mfa-connect-to-exchange-online-powershell.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ description: "Learn how to connect to Exchange Online PowerShell by using multi-
1515

1616
# Connect to Exchange Online PowerShell using multi-factor authentication
1717

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.
1919

2020
> [!NOTE]
2121
> • 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).)
@@ -44,6 +44,8 @@ If you want to use multi-factor authentication (MFA) to connect to Exchange Onli
4444

4545
- 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):
4646

47+
**Note**: ClickOnce support is available in the Chromium-based version of Edge at <edge://flags/#edge-click-once>.
48+
4749
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).
4850

4951
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.
@@ -54,19 +56,22 @@ If you want to use multi-factor authentication (MFA) to connect to Exchange Onli
5456

5557
![Click Install in the Exchange Online PowerShell Module window](../../media/0fd389a1-a32d-4e2f-bf5f-78e9b6407d4c.png)
5658

57-
- 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**:
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**:
5860

5961
```
6062
winrm get winrm/config/client/auth
6163
```
6264

63-
If you don't see the value `Basic = true`, you need to run this command to enable basic authentication for WinRM:
65+
> [!NOTE]
66+
> The Basic authentication header is required to transport the session's OAuth token, since the client-side WinRM implementation has no support for OAuth.
67+
68+
If you don't see the value `Basic = true`, you need to run this command to enable Basic authentication for WinRM:
6469

6570
```
6671
winrm set winrm/config/client/auth @{Basic="true"}
6772
```
6873

69-
If basic authentication is disabled, you'll get this error when you try to connect:
74+
If Basic authentication is disabled, you'll get this error when you try to connect:
7075

7176
> 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.
7277
@@ -108,11 +113,11 @@ If you want to use multi-factor authentication (MFA) to connect to Exchange Onli
108113
Connect-EXOPSSession -UserPrincipalName [email protected] -ConnectionUri https://outlook.office.de/PowerShell-LiveID -AzureADAuthorizationEndPointUri https://login.microsoftonline.de/common
109114
```
110115

111-
This example connects to Exchange Online to manage another tenant
116+
This example connects to Exchange Online to manage another tenant.
112117

113-
```PowerShell
114-
Connect-ExoPSSession -UserPrincipalName lukas@fabrikam.com -ConnectionUri https://outlook.office.de/PowerShell-LiveID -AzureADAuthorizationEndPointUri https://login.microsoftonline.de/common
115-
```
118+
```PowerShell
119+
Connect-EXOPSSession -UserPrincipalName chris@contoso.com -DelegatedOrganization fabrikam.onmicrosoft.com
120+
```
116121

117122
3. In the sign-in window that opens, enter your password, and then click **Sign in**.
118123

@@ -133,9 +138,9 @@ Get-PSSession | Remove-PSSession
133138

134139
## Single sign-on
135140

136-
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:
141+
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:
137142

138-
> New-ExoPSSession : User '[email protected]' returned by service does not match user '[email protected]' in the request.
143+
> New-EXOPSSession : User '[email protected]' returned by service does not match user '[email protected]' in the request.
139144
140145
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.
141146

exchange/docs-conceptual/exchange-online/exchange-online-powershell-v2/cmdlet-property-sets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ description: "Learn about the available property sets in the Exchange Online Pow
1818

1919
# Property sets in Exchange Online PowerShell V2 cmdlets
2020

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).
2222

2323
## Get-EXOCasMailbox property sets
2424

0 commit comments

Comments
 (0)