Skip to content

Commit 4073f01

Browse files
committed
Merge branch 'master' into FindTime-chrisda
2 parents e992202 + b566dc9 commit 4073f01

File tree

125 files changed

+2718
-460
lines changed

Some content is hidden

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

125 files changed

+2718
-460
lines changed

exchange/docs-conceptual/app-only-auth-powershell-v2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ Create a self-signed x.509 certificate using one of the following methods:
193193

194194
```powershell
195195
# Create certificate
196-
$mycert = New-SelfSignedCertificate -DnsName "contoso.org" -CertStoreLocation "cert:\LocalMachine\My" -NotAfter (Get-Date).AddYears(1) -KeySpec KeyExchange
196+
$mycert = New-SelfSignedCertificate -DnsName "contoso.org" -CertStoreLocation "cert:\CurrentUser\My" -NotAfter (Get-Date).AddYears(1) -KeySpec KeyExchange
197197
198198
# Export certificate to .pfx file
199199
$mycert | Export-PfxCertificate -FilePath mycert.pfx -Password $(ConvertTo-SecureString -String "P@ssw0Rd1234" -AsPlainText -Force)

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

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ When you report an issue at `exocmdletpreview[at]service[dot]microsoft[dot]com`,
3737
Connect-ExchangeOnline -EnableErrorReporting -LogDirectoryPath <Path to store log file> -LogLevel All
3838
```
3939

40+
> [!NOTE]
41+
> The latest version of EXO V2 module and frequent use of the **Connect-ExchangeOnline** and **Disconnect-ExchangeOnline** cmdlets in a single PowerShell session or script might lead to a memory leak. The best way to avoid this issue is to use the _CommandName_ parameter on the **Connect-ExchangeOnline** cmdlet to limit the cmdlets that are used in the session.
42+
4043
## How the EXO V2 module works
4144

4245
The module contains a small set of exclusive Exchange Online PowerShell cmdlets that are optimized for bulk data retrieval scenarios (think: thousands and thousands of objects). When you first open the module, you'll only see these exclusive cmdlets. After you [connect to your Exchange Online organization](connect-to-exchange-online-powershell.md), you'll see all of the familiar cmdlets that are available in Exchange Online PowerShell.
@@ -310,13 +313,13 @@ For detailed syntax and parameter information, see [Update-Module](/powershell/m
310313
- x64:
311314

312315
```powershell
313-
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Wow6432Node\Microsoft.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Type DWord -Value '1'
316+
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Type DWord -Value '1'
314317
```
315318
316319
- x86
317320
318321
```powershell
319-
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Type DWord -Value '1'
322+
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\.NETFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Type DWord -Value '1'
320323
```
321324
322325
For more information, see [SchUseStrongCrypto](/dotnet/framework/network-programming/tls#schusestrongcrypto).
@@ -383,7 +386,18 @@ For more information about filtering in the EXO V2 module, see [Filters in the E
383386

384387
Unless otherwise noted, the current release of the EXO V2 module contains all features of previous releases.
385388

386-
### Current release: Version 2.0.4
389+
### Current release: Version 2.0.5
390+
391+
- New **Get-OwnerlessGroupPolicy** and **Set-OwnerlessGroupPolicy** cmdlet to manage ownerless Microsoft 365 groups.
392+
393+
> [!NOTE]
394+
> Although the _cmdlets_ are available in the module, the _feature_ is only available to members of a Private Preview.
395+
396+
- New **Get-VivaInsightsSettings** and **Set-VivaInsightsSettings** cmdlets to control user access to Headspace features in Viva Insights.
397+
398+
### Previous releases
399+
400+
#### Version 2.0.4
387401

388402
- PowerShell 7 is officially supported in Windows, Linux, and Apple macOS as described in the [Prerequisites for the EXO V2 module](#prerequisites-for-the-exo-v2-module) section in this article.
389403

@@ -397,8 +411,6 @@ Unless otherwise noted, the current release of the EXO V2 module contains all fe
397411

398412
- The interactive sign-in process now uses a more secure method to fetch access tokens using safe reply URLs.
399413

400-
### Previous releases
401-
402414
#### Version 2.0.3
403415

404416
- General availability of certificate based authentication (CBA), which enables using modern authentication in unattended scripting or background automation scenarios. The available certificate storage locations are:

exchange/docs-conceptual/recipientfilter-properties.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ The recipient properties that have been *confirmed* to work with the _RecipientF
229229
|_PublicFolderContacts_|_pFContacts_|String (wildcards accepted in dynamic distribution groups).||
230230
|_PurportedSearchUI_|_msExchPurportedSearchUI_|String (wildcards accepted).||
231231
|_QueryBaseDN_|_msExchQueryBaseDN_|String (wildcards accepted in dynamic distribution groups).||
232-
|_RawCanonicalName_|_canonicalName_|String (wildcards accepted).||
232+
|_RawCanonicalName_|_canonicalName_|String (wildcards accepted).|This property is based on a constructed Active Directory attribute, and does not correctly resolve all members when used in `Get-Recipient -RecipientPreviewFilter`.|
233233
|_RawExternalEmailAddress_|_targetAddress_|String (wildcards accepted).||
234234
|_RawName_|_name_|String (wildcards accepted).||
235235
|_RecipientContainer_|_msExchDynamicDLBaseDN_|String (wildcards accepted).|The Active Directory container or organizational unit (OU) that holds the recipient object.|

exchange/exchange-ps/exchange/Add-IPAllowListEntry.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ Accept wildcard characters: False
8181
```
8282
8383
### -IPRange
84-
The IPRange parameter specifies a range of IP addresses to add to the IP Allow list. You can use the following formats:
84+
The IPRange parameter specifies a range of IP addresses to add to the IP Allow list. Valid values are:
8585
86-
- CIDR IP:192.168.0.1/24
87-
- IP address range:192.168.0.1-192.168.0.254.
86+
- IP address range: 192.168.0.1-192.168.0.254.
87+
- Classless Inter-Domain Routing (CIDR) IP address range: For example, 192.168.0.1/24.
8888
8989
```yaml
9090
Type: IPRange

exchange/exchange-ps/exchange/Add-IPBlockListEntry.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ Accept wildcard characters: False
8080
```
8181
8282
### -IPRange
83-
The IPRange parameter specifies a range of IP addresses to add to the IP Block list. You can use the following formats:
83+
The IPRange parameter specifies a range of IP addresses to add to the IP Block list. Valid values are:
8484
85-
- CIDR IP:192.168.0.1/24
86-
- IP address range:192.168.0.1-192.168.0.254.
85+
- IP address range: 192.168.0.1-192.168.0.254.
86+
- Classless Inter-Domain Routing (CIDR) IP address range: 192.168.0.1/24.
8787
8888
```yaml
8989
Type: IPRange

exchange/exchange-ps/exchange/Add-MailboxFolderPermission.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,10 @@ The roles that are available, along with the permissions that they assign, are d
115115
- Contributor: CreateItems, FolderVisible
116116
- Editor: CreateItems, DeleteAllItems, DeleteOwnedItems, EditAllItems, EditOwnedItems, FolderVisible, ReadItems
117117
- None: FolderVisible
118-
- NonEditingAuthor: CreateItems, FolderVisible, ReadItems
118+
- NonEditingAuthor: CreateItems, DeleteOwnedItems, FolderVisible, ReadItems
119119
- Owner: CreateItems, CreateSubfolders, DeleteAllItems, DeleteOwnedItems, EditAllItems, EditOwnedItems, FolderContact, FolderOwner, FolderVisible, ReadItems
120-
- PublishingEditor: CreateItems, CreateSubfolders, DeleteAllItems, DeleteOwnedItems, EditAllItems, EditOwnedItems, FolderVisible, ReadItems
121120
- PublishingAuthor: CreateItems, CreateSubfolders, DeleteOwnedItems, EditOwnedItems, FolderVisible, ReadItems
121+
- PublishingEditor: CreateItems, CreateSubfolders, DeleteAllItems, DeleteOwnedItems, EditAllItems, EditOwnedItems, FolderVisible, ReadItems
122122
- Reviewer: FolderVisible, ReadItems
123123
124124
The following roles apply specifically to calendar folders:

exchange/exchange-ps/exchange/Add-PublicFolderClientPermission.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -75,28 +75,28 @@ You can specify individual folder permissions or roles, which are combinations o
7575
7676
The following individual permissions are available:
7777
78-
- ReadItems: The user has the right to read items within the specified public folder.
7978
- CreateItems: The user has the right to create items within the specified public folder.
80-
- EditOwnedItems: The user has the right to edit the items that the user owns in the specified public folder.
79+
- CreateSubfolders: The user has the right to create subfolders in the specified public folder.
80+
- DeleteAllItems: The user has the right to delete all items in the specified public folder.
8181
- DeleteOwnedItems: The user has the right to delete items that the user owns in the specified public folder.
8282
- EditAllItems: The user has the right to edit all items in the specified public folder.
83-
- DeleteAllItems: The user has the right to delete all items in the specified public folder.
84-
- CreateSubfolders: The user has the right to create subfolders in the specified public folder.
85-
- FolderOwner: The user is the owner of the specified public folder. The user has the right to view and move the public folder and create subfolders. The user can't read items, edit items, delete items, or create items.
83+
- EditOwnedItems: The user has the right to edit the items that the user owns in the specified public folder.
8684
- FolderContact: The user is the contact for the specified public folder.
85+
- FolderOwner: The user is the owner of the specified public folder. The user has the right to view and move the public folder and create subfolders. The user can't read items, edit items, delete items, or create items.
8786
- FolderVisible: The user can view the specified public folder, but can't read or edit items within the specified public folder.
87+
- ReadItems: The user has the right to read items within the specified public folder.
8888
8989
In addition to access rights, you can create rights based upon roles, which includes multiple access rights. This parameter accepts the following values for roles:
9090
91-
- None: FolderVisible
92-
- Owner: CreateItems, ReadItems, CreateSubfolders, FolderOwner, FolderContact, FolderVisible, EditOwnedItems, EditAllItems, DeleteOwnedItems, DeleteAllItems
93-
- PublishingEditor: CreateItems, ReadItems, CreateSubfolders, FolderVisible, EditOwnedItems, EditAllItems, DeleteOwnedItems, DeleteAllItems
94-
- Editor: CreateItems, ReadItems, FolderVisible, EditOwnedItems, EditAllItems, DeleteOwnedItems, DeleteAllItems
95-
- PublishingAuthor: CreateItems, ReadItems, CreateSubfolders, FolderVisible, EditOwnedItems, DeleteOwnedItems
96-
- Author: CreateItems, ReadItems, FolderVisible, EditOwnedItems, DeleteOwnedItems
97-
- NonEditingAuthor: CreateItems, ReadItems, FolderVisible
98-
- Reviewer: ReadItems, FolderVisible
91+
- Author: CreateItems, DeleteOwnedItems, EditOwnedItems, FolderVisible, ReadItems
9992
- Contributor: CreateItems, FolderVisible
93+
- Editor: CreateItems, DeleteAllItems, DeleteOwnedItems, EditAllItems, EditOwnedItems, FolderVisible, ReadItems
94+
- None: FolderVisible
95+
- NonEditingAuthor: CreateItems, DeleteOwnedItems, FolderVisible, ReadItems
96+
- Owner: CreateItems, CreateSubfolders, DeleteAllItems, DeleteOwnedItems, EditAllItems, EditOwnedItems, FolderContact, FolderOwner, FolderVisible, ReadItems
97+
- PublishingAuthor: CreateItems, CreateSubfolders, DeleteOwnedItems, EditOwnedItems, FolderVisible, ReadItems
98+
- PublishingEditor: CreateItems, CreateSubfolders, DeleteAllItems, DeleteOwnedItems, EditAllItems, EditOwnedItems, FolderVisible, ReadItems
99+
- Reviewer: FolderVisible, ReadItems
100100
101101
```yaml
102102
Type: MultiValuedProperty

exchange/exchange-ps/exchange/Connect-IPPSSession.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,7 @@ Accept wildcard characters: False
113113
```
114114

115115
### -DelegatedOrganization
116-
The DelegatedOrganization parameter specifies the customer organization that you want to manage (for example, contosoelectronics.onmicrosoft.com). This parameter only works if the customer organization has agreed to your delegated management via the CSP program.
117-
118-
After you successfully authenticate, the cmdlets in this session are mapped to the customer organization, and all operations in this session are done on the customer organization.
116+
This parameter is reserved for internal Microsoft use.
119117

120118
```yaml
121119
Type: String

exchange/exchange-ps/exchange/Disable-OutlookAnywhere.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,12 +167,12 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
167167
## INPUTS
168168

169169
###
170-
To see the input types that this cmdlet accepts, see [Cmdlet Input and Output Types](https://go.microsoft.com/fwlink/p/?LinkId=616387). If the Input Type field for a cmdlet is blank, the cmdlet doesn't accept input data.
170+
To see the input types that this cmdlet accepts, see [Cmdlet Input and Output Types](https://go.microsoft.com/fwlink/p/?LinkId=2081749). If the Input Type field for a cmdlet is blank, the cmdlet doesn't accept input data.
171171

172172
## OUTPUTS
173173

174174
###
175-
To see the return types, which are also known as output types, that this cmdlet accepts, see [Cmdlet Input and Output Types](https://go.microsoft.com/fwlink/p/?LinkId=616387). If the Output Type field is blank, the cmdlet doesn't return data.
175+
To see the return types, which are also known as output types, that this cmdlet accepts, see [Cmdlet Input and Output Types](https://go.microsoft.com/fwlink/p/?LinkId=2081749). If the Output Type field is blank, the cmdlet doesn't return data.
176176

177177
## NOTES
178178

exchange/exchange-ps/exchange/Disable-RemoteMailbox.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.reviewer:
1414
## SYNOPSIS
1515
This cmdlet is available only in on-premises Exchange.
1616

17-
Use the Disable-RemoteMailbox cmdlet to remove mailboxes from the cloud-based service but keep the associated user objects in the on-premises Active Directory.
17+
Use the Disable-RemoteMailbox cmdlet to remove user mailboxes from the cloud-based service but keep the associated user objects in the on-premises Active Directory.
1818

1919
For information about the parameter sets in the Syntax section below, see [Exchange cmdlet syntax](https://docs.microsoft.com/powershell/exchange/exchange-cmdlet-syntax).
2020

@@ -41,7 +41,11 @@ If you want to remove both the cloud-based mailbox and the associated on-premise
4141

4242
Directory synchronization must be configured correctly for a mailbox to be removed from the cloud. Removal of the cloud-based mailbox isn't immediate and depends on the directory synchronization schedule.
4343

44-
**Note**: If you are deprovisioning a cloud mailbox and its associated online archive, you must first disable the online archive with the command `Disable-RemoteMailbox <User> -Archive` and then perform a directory synchronization prior to disabling the remote mailbox. Attempting to disable both the online archive and cloud mailbox without a sync between them may result in an ArchiveGuid mismatch and validation error.
44+
**Notes**:
45+
46+
- If you are deprovisioning a cloud mailbox and its associated online archive, you must first disable the online archive with the command `Disable-RemoteMailbox <User> -Archive` and then perform a directory synchronization prior to disabling the remote mailbox. Attempting to disable both the online archive and cloud mailbox without a sync between them may result in an ArchiveGuid mismatch and validation error.
47+
- Due to the current service architecture, you need to convert shared mailboxes to user mailboxes prior to running the Disable-RemoteMailbox cmdlet.
48+
4549

4650
You need to be assigned permissions before you can run this cmdlet. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see [Find the permissions required to run any Exchange cmdlet](https://docs.microsoft.com/powershell/exchange/find-exchange-cmdlet-permissions).
4751

exchange/exchange-ps/exchange/Disable-SafeAttachmentRule.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.reviewer:
1414
## SYNOPSIS
1515
This cmdlet is available only in the cloud-based service.
1616

17-
Use the Disable-SafeAttachmentRule cmdlet to disable safe attachment rules in your cloud-based organization.
17+
Use the Disable-SafeAttachmentRule cmdlet to disable safe attachment rules in your cloud-based organization. This cmdlet is also responsible for disabling complete Safe Attachments policies in the admin center, which consist of the safe attachment rule and the corresponding assigned safe attachment policy in PowerShell.
1818

1919
**Note**: We recommend that you use the Exchange Online PowerShell V2 module to connect to Exchange Online PowerShell. For instructions, see [Connect to Exchange Online PowerShell](https://docs.microsoft.com/powershell/exchange/connect-to-exchange-online-powershell).
2020

exchange/exchange-ps/exchange/Enable-OutlookAnywhere.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,12 +331,12 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
331331
## INPUTS
332332

333333
###
334-
To see the input types that this cmdlet accepts, see [Cmdlet Input and Output Types](https://go.microsoft.com/fwlink/p/?LinkId=616387). If the Input Type field for a cmdlet is blank, the cmdlet doesn't accept input data.
334+
To see the input types that this cmdlet accepts, see [Cmdlet Input and Output Types](https://go.microsoft.com/fwlink/p/?LinkId=2081749). If the Input Type field for a cmdlet is blank, the cmdlet doesn't accept input data.
335335

336336
## OUTPUTS
337337

338338
###
339-
To see the return types, which are also known as output types, that this cmdlet accepts, see [Cmdlet Input and Output Types](https://go.microsoft.com/fwlink/p/?LinkId=616387). If the Output Type field is blank, the cmdlet doesn't return data.
339+
To see the return types, which are also known as output types, that this cmdlet accepts, see [Cmdlet Input and Output Types](https://go.microsoft.com/fwlink/p/?LinkId=2081749). If the Output Type field is blank, the cmdlet doesn't return data.
340340

341341
## NOTES
342342

exchange/exchange-ps/exchange/Enable-SafeAttachmentRule.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.reviewer:
1414
## SYNOPSIS
1515
This cmdlet is available only in the cloud-based service.
1616

17-
Use the Enable-SafeAttachmentRule cmdlet to enable safe attachment rules in your cloud-based organization.
17+
Use the Enable-SafeAttachmentRule cmdlet to enable safe attachment rules in your cloud-based organization. This cmdlet is also responsible for disabling complete Safe Attachments policies in the admin center, which consist of the safe attachment rule and the corresponding assigned safe attachment policy in PowerShell.
1818

1919
**Note**: We recommend that you use the Exchange Online PowerShell V2 module to connect to Exchange Online PowerShell. For instructions, see [Connect to Exchange Online PowerShell](https://docs.microsoft.com/powershell/exchange/connect-to-exchange-online-powershell).
2020

exchange/exchange-ps/exchange/Get-AdvancedThreatProtectionDocumentDetail.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,12 @@ Accept wildcard characters: False
117117
```
118118
119119
### -EventType
120-
The EventType parameter filters the report by the event type. The event type you specify must correspond to the report. For example, you can only specify "Anti-malware engine" or "Advanced Threat Protection" events for malware reports.
120+
The EventType parameter filters the report by the event type. Valid values are:
121+
122+
- Advanced Threat Protection
123+
- Advanced Threat Protection clean
124+
- Anti-malware engine
125+
- Anti-malware engine clean
121126
122127
You can specify multiple values separated by commas.
123128

exchange/exchange-ps/exchange/Get-AdvancedThreatProtectionDocumentReport.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,12 @@ Accept wildcard characters: False
132132
```
133133
134134
### -EventType
135-
The EventType parameter filters the report by the event type. The event type you specify must correspond to the report. For example, you can only specify "Anti-malware engine" or "Advanced Threat Protection" events for malware reports.
135+
The EventType parameter filters the report by the event type. Valid values are:
136+
137+
- Advanced Threat Protection
138+
- Advanced Threat Protection clean
139+
- Anti-malware engine
140+
- Anti-malware engine clean
136141
137142
You can specify multiple values separated by commas.
138143

exchange/exchange-ps/exchange/Get-AdvancedThreatProtectionTrafficReport.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ ms.reviewer:
1414
## SYNOPSIS
1515
This cmdlet is available only in the cloud-based service.
1616

17+
This cmdlet will be deprecated. Use the **Get-MailTrafficATPReport** cmdlet instead.
18+
1719
Use the Get-AdvancedThreatProtectionTrafficReport cmdlet to view the results of Safe Attachments and Safe Links actions in your cloud-based organization for the last 90 days.
1820

1921
**Note**: We recommend that you use the Exchange Online PowerShell V2 module to connect to Exchange Online PowerShell. For instructions, see [Connect to Exchange Online PowerShell](https://docs.microsoft.com/powershell/exchange/connect-to-exchange-online-powershell).
@@ -177,7 +179,12 @@ Accept wildcard characters: False
177179
```
178180
179181
### -EventType
180-
The EventType parameter filters the report by the event type. To view the complete list of valid values for this parameter, run the command: `Get-MailFilterListReport -SelectionTarget EventTypes`. The event type you specify must correspond to the report. For example, you can only specify malware filter events for malware reports.
182+
The EventType parameter filters the report by the event type. Valid values are:
183+
184+
- AdvancedProtectionMalware
185+
- AtpGoodMail
186+
187+
To view the potential list of valid values for this parameter, run the command: `Get-MailFilterListReport -SelectionTarget EventTypes`. The event type you specify must correspond to the report. For example, you can only specify Microsoft Defender for Office 365 (formerly known as Advanced Threat Protection or ATP) event types for Defender for Office 365 reports.
181188

182189
You can specify multiple values separated by commas.
183190

0 commit comments

Comments
 (0)