Skip to content

Commit 4a60a94

Browse files
committed
Merge branch 'master' into UALRetentionPolicy-chrisda
2 parents 4e90007 + 9345b88 commit 4a60a94

File tree

432 files changed

+5288
-1629
lines changed

Some content is hidden

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

432 files changed

+5288
-1629
lines changed

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

Lines changed: 6 additions & 4 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.
@@ -111,7 +113,7 @@ If you want to use multi-factor authentication (MFA) to connect to Exchange Onli
111113
This example connects to Exchange Online to manage another tenant
112114

113115
```PowerShell
114-
Connect-ExoPSSession -UserPrincipalName [email protected] -ConnectionUri https://outlook.office.de/PowerShell-LiveID -AzureADAuthorizationEndPointUri https://login.microsoftonline.de/common
116+
Connect-EXOPSSession -UserPrincipalName [email protected] -ConnectionUri https://outlook.office.de/PowerShell-LiveID -AzureADAuthorizationEndPointUri https://login.microsoftonline.de/common
115117
```
116118
117119
3. In the sign-in window that opens, enter your password, and then click **Sign in**.
@@ -133,9 +135,9 @@ Get-PSSession | Remove-PSSession
133135

134136
## Single sign-on
135137

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:
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:
137139

138-
> New-ExoPSSession : User '[email protected]' returned by service does not match user '[email protected]' in the request.
140+
> New-EXOPSSession : User '[email protected]' returned by service does not match user '[email protected]' in the request.
139141
140142
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.
141143

exchange/docs-conceptual/exchange-online/exchange-online-powershell-v2/exchange-online-powershell-v2.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ description: "Learn how to download and use the Exchange Online PowerShell V2 mo
1818

1919
# Use the Exchange Online PowerShell V2 module
2020

21-
The Exchange Online PowerShell V2 module (abbreviated as the EXO V2 module) enables admins to connect to their Exchange Online environment in Office 365 to retrieve data, create new objects, update existing objects, remove objects as well as configure Exchange Online & its features.
21+
The Exchange Online PowerShell V2 module (abbreviated as the EXO V2 module) enables admins to connect to their Exchange Online environment in Office 365 to retrieve data, create new objects, update existing objects, remove objects as well as configure Exchange Online and its features.
2222

2323
## Report bugs and issues
2424

@@ -34,9 +34,11 @@ Connect-ExchangeOnline -EnableErrorReporting -LogDirectoryPath <Path to store lo
3434

3535
## How the EXO V2 module works
3636

37-
The Exchange Online PowerShell V2 module contains a small set of new cmdlets that are optimized for bulk data retrieval scenarios (think: thousands and thousands of objects). It also contains the 700 or more older remote PowerShell cmdlets baked into the same module. Note that after you install the EXO V2 module from the PowerShell Gallery, you only see new cmdlets in the module. You'll see the older remote PowerShell cmdlets after you create a session to connect to your Exchange Online environment. All the cmdlets in the V2 module use Modern auth for authentication. You can't use Basic auth in the EXO V2 module.
37+
The Exchange Online PowerShell V2 module contains a small set of new cmdlets that are optimized for bulk data retrieval scenarios (think: thousands and thousands of objects). Until you create a session to connect to your Exchange Online organization, you'll only see these new cmdlets in the module. After you connect to your Exchange Online organization, you'll see all of the older remote PowerShell cmdlets.
3838

39-
The new cmdlets in the EXO V2 module are meant to replace their older, less efficient equivalents. However, the original cmdlets are still available in the EXO V2 module for backwards compatibility.
39+
The EXO V2 module use Modern authentication for all cmdlets. You can't use Basic authentication in the EXO V2 module; however, you still need to configure the Basic authentication setting in WinRM as described later in this topic.
40+
41+
The new cmdlets in the EXO V2 module are meant to replace their older, less efficient equivalents. However, the original cmdlets are still available in the EXO V2 module for backwards compatibility **after** you create a session to connect to your Exchange Online organization.
4042

4143
The new cmdlets in the EXO V2 module are listed in the following table:
4244

@@ -57,7 +59,7 @@ The new cmdlets in the EXO V2 module are listed in the following table:
5759

5860
You can download the EXO V2 module from the PowerShell gallery [here](https://www.powershellgallery.com/packages/ExchangeOnlineManagement/).
5961

60-
> [!NOTE]
62+
> [!NOTE]
6163
> The latest version of PowerShell that's currently supported for the EXO V2 module is PowerShell 5.1. Support for PowerShell 6.0 or later is currently a work in progress and will be released soon. This also implies that EXO PowerShell V2 module won't work in Linux or Mac as of now. Support for Linux and Mac is a work in progress and will be announced soon.
6264
6365
### What do you need to know before you begin?
@@ -88,7 +90,7 @@ You can download the EXO V2 module from the PowerShell gallery [here](https://ww
8890
winrm get winrm/config/client/auth
8991
```
9092

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

9395
```
9496
winrm set winrm/config/client/auth @{Basic="true"}
@@ -98,6 +100,9 @@ You can download the EXO V2 module from the PowerShell gallery [here](https://ww
98100

99101
> 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.
100102
103+
> [!NOTE]
104+
> We never send the username and password combination here, but the Basic auth header is required to transport the session's OAuth token, since the client-side WinRM implementation has no support for OAuth.
105+
101106
### Install the EXO V2 module
102107

103108
To install the EXO V2 module for the first time, run the following commands:
@@ -123,11 +128,11 @@ To install the EXO V2 module for the first time, run the following commands:
123128
```
124129

125130
**Notes**:
126-
131+
127132
- You need to configure this setting only once on your computer. Read more about execution policies [here](https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_execution_policies).
128-
133+
129134
- If you don't do this step, you'll receive the following error when you try to connect:
130-
135+
131136
> Files cannot be loaded because running scripts is disabled on this system. Provide a valid certificate with which to sign the files.
132137
133138
3. Close and re-open the elevated Windows PowerShell window to get the changes from the previous steps.
@@ -272,7 +277,7 @@ The following example returns all properties for the 10 mailboxes:
272277
Get-EXOMailbox -ResultSize 10 -PropertySets All
273278
```
274279

275-
> [!NOTE]
280+
> [!NOTE]
276281
> We highly discourage using the _PropertySets_ parameter with the value `All` because it slows down the cmdlet and reduces reliability. Always use the _PropertySets_ and _Properties_ parameters to retrieve only the requires properties.
277282
278283
## Release notes

exchange/docs-conceptual/office-365-scc/connect-to-scc-powershell/mfa-connect-to-scc-powershell.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ If your account uses multi-factor authentication (MFA) or federated authenticati
4444

4545
- The Exchange Online Remote PowerShell Module needs to be installed on your computer. If your installed version of the Exchange Online Remote PowerShell Module doesn't have the **Connect-IPPSSession** cmdlet, you need to install the latest version of the module:
4646

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+
1. In a browser that supports ClickOnce (for example, 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).
4848

49-
**Note**: Internet Explorer or Edge is required because the download in the next step uses ClickOnce, so Google Chrome or Mozilla Firefox won't work.
49+
**Note**: ClickOnce support is available in the Chromium-based version of Edge at <edge://flags/#edge-click-once>.
5050

5151
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.
5252

exchange/exchange-ps/exchange/advanced-threat-protection/Set-PhishFilterPolicy.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ You need to be assigned permissions before you can run this cmdlet. Although thi
3636

3737
### Example 1
3838
```powershell
39-
Get-PhishFilterPolicy -Detailed -SpoofAllowBlockList | Export-CSV "C:\My Documents\Spoofed Senders.csv"; $UpdateSpoofedSenders = Get-Content -Raw "C:\My Documents\Spoofed Senders.csv"; Set-PhishFilterPolicy -Identity Default -SpoofAllowBlockList $UpdateSpoofedSenders
39+
Get-PhishFilterPolicy -Detailed -SpoofAllowBlockList | Export-CSV "C:\My Documents\Spoofed Senders.csv"
40+
$UpdateSpoofedSenders = Get-Content -Raw "C:\My Documents\Spoofed Senders.csv"
41+
Set-PhishFilterPolicy -Identity Default -SpoofAllowBlockList $UpdateSpoofedSenders
4042
```
4143

4244
This configures the phish filter policy to block or allow all spoofed email messages from a source messaging server.
@@ -49,7 +51,9 @@ This configures the phish filter policy to block or allow all spoofed email mess
4951

5052
### Example 2
5153
```powershell
52-
Get-PhishFilterPolicy -Detailed -SpoofAllowBlockList | Export-CSV "C:\My Documents\Spoofed Senders.csv"; $UpdateSpoofedSenders = Get-Content -Raw "C:\My Documents\Spoofed Senders.csv"; Set-PhishFilterPolicy -Identity Default -SpoofAllowBlockList $UpdateSpoofedSenders
54+
Get-PhishFilterPolicy -Detailed -SpoofAllowBlockList | Export-CSV "C:\My Documents\Spoofed Senders.csv"
55+
$UpdateSpoofedSenders = Get-Content -Raw "C:\My Documents\Spoofed Senders.csv"
56+
Set-PhishFilterPolicy -Identity Default -SpoofAllowBlockList $UpdateSpoofedSenders
5357
```
5458

5559
This example configures the phish filter policy to selectively block or allow some spoofed email messages from a source messaging server.

exchange/exchange-ps/exchange/advanced-threat-protection/Set-SafeLinksPolicy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ Accept wildcard characters: False
219219
```
220220
221221
### -ExcludedUrls
222-
The ExcludedUrls parameter specifies a URL that's skipped by Safe Links scanning. You can specify multiple values separated by commas.
222+
The ExcludedUrls parameter has been deprecated. Use the DoNotRewriteUrls parameter instead. If you have any scripts that use the ExcludedUrls parameter, update them to use the DoNotRewriteUrls parameter.
223223
224224
```yaml
225225
Type: String[]
@@ -307,7 +307,7 @@ Accept wildcard characters: False
307307
```
308308
309309
### -WhiteListedUrls
310-
This parameter is reserved for internal Microsoft use.
310+
The WhiteListedUrls parameter has been deprecated. Use the DoNotRewriteUrls parameter instead. If you have any scripts that use the WhiteListedUrls parameter, update them to use the DoNotRewriteUrls parameter.
311311
312312
```yaml
313313
Type: String

0 commit comments

Comments
 (0)