Skip to content

Commit 9792aa3

Browse files
committed
Merge branch 'main' into TestSPA-chrisda
2 parents 4725bbe + c73e489 commit 9792aa3

17 files changed

+169
-136
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
@@ -48,7 +48,7 @@ Certificate based authentication (CBA) or app-only authentication as described i
4848
> - [Get-ComplianceCase](/powershell/module/exchange/get-compliancecase)
4949
> - [Get-CaseHoldPolicy](/powershell/module/exchange/get-caseholdpolicy)
5050
>
51-
> - Delegated scenarios are supported in **Exchange Online** using multi-tenant applications. The required steps are called out within the regular instructions in this article.
51+
> - Delegated scenarios are supported in Exchange Online. The recommended method for connecting with delegation is using GDAP and App Consent. For more information, see [Use the Exchange Online PowerShell v3 Module with GDAP and App Consent](/powershell/partnercenter/exchange-online-gdap-app). You can also use multi-tenant applications when CSP relationships are not created with the customer. The required steps for using multi-tenant applications are called out within the regular instructions in this article.
5252
5353
## How does it work?
5454

exchange/exchange-ps/exchange/Get-Label.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ For information about the parameter sets in the Syntax section below, see [Excha
2222

2323
```
2424
Get-Label [[-Identity] <ComplianceRuleIdParameter>]
25-
[-IncludeDetailedLabelActions <System.Boolean>]
25+
[-IncludeDetailedLabelActions]
2626
[-SkipValidations]
2727
[<CommonParameters>]
2828
```
@@ -69,13 +69,10 @@ Accept wildcard characters: False
6969
```
7070
7171
### -IncludeDetailedLabelActions
72-
The IncludeDetailedLabelActions parameter specifies whether to expand label actions into properties for better readability. Valid values are:
73-
74-
- $true: Include detailed label actions.
75-
- $false: Don't include detailed label actions.
72+
The IncludeDetailedLabelActions parameter specifies whether to expand label actions into properties for better readability. You don't need to specify a value with this switch.
7673
7774
```yaml
78-
Type: System.Boolean
75+
Type: SwitchParameter
7976
Parameter Sets: (All)
8077
Aliases:
8178
Applicable: Security & Compliance

exchange/exchange-ps/exchange/New-DlpFingerprint.md

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ For information about the parameter sets in the Syntax section below, see [Excha
2222

2323
```
2424
New-DlpFingerprint [[-FileData] <Byte[]>] -Description <String>
25-
[-Threshold <UInt32>]
2625
[-Confirm]
2726
[-WhatIf]
2827
[<CommonParameters>]
@@ -98,27 +97,6 @@ Accept pipeline input: False
9897
Accept wildcard characters: False
9998
```
10099

101-
### -Threshold
102-
The Threshold parameter specifies the confidence threshold to use for matches. Valid values are 0 to 100:
103-
104-
- The value 0 matches all items, resulting in many false positives.
105-
- The value 100 demands a near-perfect match, but might also result in more false negatives.
106-
107-
The default value is 50.
108-
109-
```yaml
110-
Type: UInt32
111-
Parameter Sets: (All)
112-
Aliases:
113-
Applicable: Security & Compliance
114-
115-
Required: False
116-
Position: Named
117-
Default value: None
118-
Accept pipeline input: False
119-
Accept wildcard characters: False
120-
```
121-
122100
### -WhatIf
123101
The WhatIf switch doesn't work in Security & Compliance PowerShell.
124102

exchange/exchange-ps/exchange/New-Mailbox.md

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -911,16 +911,18 @@ Accept wildcard characters: False
911911
```
912912
913913
### -EnableRoomMailboxAccount
914+
This parameter is functional only in on-premises Exchange.
915+
914916
The EnableRoomMailboxAccount parameter specifies whether to enable the disabled user account that's associated with this room mailbox. Valid values are:
915917
916-
- $true: The disabled account that's associated with the room mailbox is enabled. You also need to use the RoomMailboxPassword with this value. This allows the account to log on to the room mailbox.
917-
- $false: The account that's associated with the room mailbox is disabled. You can't use the account to logon to the room mailbox. This is the default value.
918+
- $true: The disabled account that's associated with the room mailbox is enabled. You also need to use the RoomMailboxPassword with this value. The account is able to log in and access the room mailbox or other resources.
919+
- $false: The account that's associated with the room mailbox is disabled. The account is not able to log in and access the room mailbox or other resources. In on-premises Exchange, this is the default value.
918920
919-
You need to use this parameter with the Room switch.
921+
You need to enable the account for features like the Skype for Business Room System or Microsoft Teams Rooms.
920922
921-
Typically, the account that's associated with a room mailbox is disabled. However, you need to enable the account for features like the Skype for Business Room System or Microsoft Teams Rooms.
923+
You need to use this parameter with the Room switch.
922924
923-
In Exchange Online, a room mailbox with an associated enabled account doesn't require a license.
925+
A room mailbox in Exchange Online is created with associated an account that has an unknown password. This account is active and visible in Azure Active Directory PowerShell and the Microsoft 365 admin center just like a regular user account, but it consumes no licenses. If the password is known or changed, the account can be used to log in and access the mailbox or other resources. To prevent this account from being able to log in after you create the mailbox, use the Set-AzureADUser cmdlet in Azure Active Directory PowerShell. For instructions, see [Block Microsoft 365 user accounts with PowerShell](https://learn.microsoft.com/microsoft-365/enterprise/block-user-accounts-with-microsoft-365-powershell).
924926
925927
```yaml
926928
Type: Boolean
@@ -1190,7 +1192,9 @@ The Room switch is required to create room mailboxes. You don't need to specify
11901192

11911193
Room mailboxes are resource mailboxes that are associated with a specific location (for example, conference rooms).
11921194

1193-
When you use this switch, a logon-disabled account is created with the room mailbox, which prevents users from signing in to the mailbox. When you use the EnableRoomMailboxAccount and RoomMailboxPassword parameters, you can mail-enable the associated account.
1195+
When you use this switch in on-premises Exchange, a disabled account is created with the room mailbox. The account can't be used to sign in to the mailbox or anywhere in the organization. To enable the associated account, use the EnableRoomMailboxAccount and RoomMailboxPassword parameters.
1196+
1197+
When you use this switch in Exchange Online, an account with an unknown password is created with the room mailbox. If the password is known or changed, the account can be used to log in to the mailbox or anywhere in the organization. To prevent this account from being able to log in after you create the room mailbox, use the Set-AzureADUser cmdlet in Azure Active Directory PowerShell. For instructions, see [Block Microsoft 365 user accounts with PowerShell](https://learn.microsoft.com/microsoft-365/enterprise/block-user-accounts-with-microsoft-365-powershell).
11941198

11951199
```yaml
11961200
Type: SwitchParameter
@@ -2006,19 +2010,26 @@ Accept wildcard characters: False
20062010
```
20072011

20082012
### -RoomMailboxPassword
2009-
Use the RoomMailboxPassword parameter to configure the password for a room mailbox that has a logon-enabled account (the EnableRoomMailboxAccount parameter is set to the value $true.)
2013+
This parameter is functional only in on-premises Exchange.
20102014

2011-
To use this parameter, you need to be a member of one of the following role groups:
2015+
Use the RoomMailboxPassword parameter to configure the password for the account that's associated with the room mailbox when that account is enabled and able to log in (the EnableRoomMailboxAccount parameter is set to the value $true).
20122016

2013-
- Exchange Online: The Organization Management role group via the Mail Recipients, Reset Password, and User Options roles, the Help Desk role group via the Reset Password and User Options roles, or the Recipient Management role group via the Mail Recipients and Reset Password roles.
2014-
- On-premises Exchange: The Organization Management role group via the Mail Recipients and User Options roles, the Recipient Management role group via the Mail Recipients role, or the Help Desk role group via the User Options role. The Reset Password role also allows you to use this parameter, but it isn't assigned to any role groups by default.
2017+
To use this parameter in on-premises Exchange, you need to be a member of one of the following role groups:
2018+
2019+
- The Organization Management role group via the Mail Recipients and User Options roles.
2020+
- The Recipient Management role group via the Mail Recipients role.
2021+
- The Help Desk role group via the User Options role.
2022+
2023+
The Reset Password role also allows you to use this parameter, but it isn't assigned to any role groups by default.
20152024

20162025
You can use the following methods as a value for this parameter:
20172026

20182027
- `(ConvertTo-SecureString -String '<password>' -AsPlainText -Force)`.
20192028
- Before you run this command, store the password as a variable (for example, `$password = Read-Host "Enter password" -AsSecureString`), and then use the variable (`$password`) for the value.
20202029
- `(Get-Credential).password` to be prompted to enter the password securely when you run this command.
20212030

2031+
To configure the password for a room mailbox account in Exchange Online, use Set-AzureADUserPassword cmdlet in Azure Active Directory PowerShell. For instructions, see [Manage passwords with PowerShell](https://learn.microsoft.com/microsoft-365/enterprise/manage-passwords-with-microsoft-365-powershell).
2032+
20222033
```yaml
20232034
Type: SecureString
20242035
Parameter Sets: EnableRoomMailboxAccount

exchange/exchange-ps/exchange/New-SharingPolicy.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ This cmdlet is available in on-premises Exchange and in the cloud-based service.
1616

1717
Use the New-SharingPolicy cmdlet to create a sharing policy to regulate how users inside your organization can share calendar and contact information with users outside the organization. Users can only share this information after federation has been configured in Exchange. After federation is configured, users can send sharing invitations that comply with a sharing policy to external recipients in other Exchange Server 2010 or later organizations that have federation enabled. A sharing policy needs to get assigned to a mailbox to be effective. If a mailbox doesn't have a specific sharing policy assigned, a default policy enforces the level of sharing permitted for this mailbox.
1818

19+
Sharing policies provide user-established, people-to-people sharing of both calendar and contact information with different types of external users. Sharing polices allow users to share both their free/busy and contact information (including the Calendar and Contacts folders) with recipients in other external federated Exchange organizations. For recipients that aren't in an external federated organization or are in non-Exchange organizations, sharing policies allow people-to-people sharing of their calendar information with anonymous users through the use of Internet Calendar Publishing.
20+
1921
For information about the parameter sets in the Syntax section below, see [Exchange cmdlet syntax](https://learn.microsoft.com/powershell/exchange/exchange-cmdlet-syntax).
2022

2123
## SYNTAX

exchange/exchange-ps/exchange/New-TenantAllowBlockListItems.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ The Entries parameter specifies the values that you want to add to the Tenant Al
8181

8282
To enter multiple values, use the following syntax: `"Value1","Value2",..."ValueN"`.
8383

84+
For senders, files, and URLs the maximum number of allow entries for each type is 500, and the maximum number of block entries for each type is 500 (1000 entries total for each type).
85+
86+
The maximum number of characters in a file entry is 64 and the maximum number of characters in a URL entry is 250.
87+
8488
You can't mix value types (file, sender, or URL) or allow and block actions in the same command.
8589

8690
In most cases, you can't modify the URL, file, or sender values after you create the entry. The only exception is allow URL entries for phishing simulations (ListType = URL, ListSubType = AdvancedDelivery).

exchange/exchange-ps/exchange/New-TenantAllowBlockListSpoofItems.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Accept wildcard characters: False
6464
The SendingInfrastructure parameter specifies the source of the messages sent by the spoofed sender that's defined in the SpoofedUser parameter. Valid values are:
6565
6666
- An email domain (for example contoso.com). The domain is found in the reverse DNS lookup (PTR record) of the source email server's IP address.
67-
- An IP address using the syntax: \<source IP\>/24 (for example, 192.168.100.100/24). Use the IP address if the source IP address has no PTR record.
67+
- An IP address using the syntax: \<source IP\>/24 (for example, 192.168.100.100/24). Use the IP address if the source IP address has no PTR record. /24 is the only available and maximum subnet depth.
6868
- A verified DKIM domain.
6969
7070
```yaml
@@ -86,6 +86,8 @@ The SpoofedUser parameter specifies the email address or domain for the spoofed
8686
- For domains outside your organization (cross-org), use the domain of the email address that appears in the From field of the message.
8787
- For domains inside your organization (intra-org), use the full email address that appears in the From field of the message.
8888
89+
For spoofed senders, the maximum number of entries is 1024.
90+
8991
```yaml
9092
Type: String
9193
Parameter Sets: (All)

exchange/exchange-ps/exchange/Remove-UserPhoto.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ In on-premises Exchange, it also removes the user's photo from their Active Dire
5050
**Notes**:
5151

5252
- Changes to the user photo won't appear in SharePoint until the affected user visits their profile page (My Site) or any SharePoint page that shows their large thumbnail image.
53-
- **Note**: In Microsoft Graph, the [Remove-MgUserPhoto](https://learn.microsoft.com/powershell/module/microsoft.graph.users/remove-mguserphoto) and [Update-MgUserPhoto](https://learn.microsoft.com/powershell/module/microsoft.graph.users/update-mguserphoto) cmdlets are also available.
53+
- In Microsoft Graph, the [Update-MgUserPhoto](https://learn.microsoft.com/powershell/module/microsoft.graph.users/update-mguserphoto) cmdlet is also available.
5454

5555
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://learn.microsoft.com/powershell/exchange/find-exchange-cmdlet-permissions).
5656

exchange/exchange-ps/exchange/Set-Mailbox.md

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2572,16 +2572,16 @@ Accept wildcard characters: False
25722572
```
25732573

25742574
### -EnableRoomMailboxAccount
2575-
The EnableRoomMailboxAccount parameter specifies whether to enable the disabled user account that's associated with this room mailbox. Valid values are:
2575+
This parameter is functional only in on-premises Exchange.
25762576

2577-
- $true: The disabled account that's associated with the room mailbox is enabled. You also need to use the RoomMailboxPassword with this value. This allows the account to log on to the room mailbox.
2578-
- $false: The account that's associated with the room mailbox is disabled. You can't use the account to logon to the room mailbox. This is the default value.
2577+
The EnableRoomMailboxAccount parameter specifies whether to enable the disabled user account that's associated with this room mailbox. Valid values are:
25792578

2580-
Typically, the account that's associated with a room mailbox is disabled. However, you need to enable the account for features like the Skype for Business Room System or Microsoft Teams Rooms.
2579+
- $true: The disabled account that's associated with the room mailbox is enabled. You also need to use the RoomMailboxPassword with this value. The account is able to log in and access the room mailbox or other resources.
2580+
- $false: The account that's associated with the room mailbox is disabled. The account is not able to log in and access the room mailbox or other resources. In on-premises Exchange, this is the default value.
25812581

2582-
In Exchange Online, a room mailbox with an associated enabled account doesn't require a license.
2582+
You need to enable the account for features like the Skype for Business Room System or Microsoft Teams Rooms.
25832583

2584-
In an on-premises Exchange organization, you also need to enable the corresponding user account in Active Directory Users and Computers or by running the Enable-ADAccount cmdlet in Windows PowerShell.
2584+
A room mailbox in Exchange Online is created with associated an account that has an unknown password. This account is active and visible in Azure Active Directory PowerShell and the Microsoft 365 admin center just like a regular user account, but it consumes no licenses. If the password is known or changed, the account can be used to log in and access the mailbox or other resources. To prevent this account from being able to log in, use the Set-AzureADUser cmdlet in Azure Active Directory PowerShell. For instructions, see [Block Microsoft 365 user accounts with PowerShell](https://learn.microsoft.com/microsoft-365/enterprise/block-user-accounts-with-microsoft-365-powershell).
25852585

25862586
```yaml
25872587
Type: Boolean
@@ -4975,14 +4975,26 @@ Accept wildcard characters: False
49754975
```
49764976

49774977
### -RoomMailboxPassword
4978-
Use the RoomMailboxPassword parameter to change the password for a room mailbox that has an enabled account (the EnableRoomMailboxAccount parameter is set to the value $true.)
4978+
This parameter is functional only in on-premises Exchange.
4979+
4980+
Use the RoomMailboxPassword parameter to configure the password for the account that's associated with the room mailbox when that account is enabled and able to log in (the EnableRoomMailboxAccount parameter is set to the value $true).
4981+
4982+
To use this parameter in on-premises Exchange, you need to be a member of one of the following role groups:
4983+
4984+
- The Organization Management role group via the Mail Recipients and User Options roles.
4985+
- The Recipient Management role group via the Mail Recipients role.
4986+
- The Help Desk role group via the User Options role.
4987+
4988+
The Reset Password role also allows you to use this parameter, but it isn't assigned to any role groups by default.
49794989

49804990
You can use the following methods as a value for this parameter:
49814991

49824992
- `(ConvertTo-SecureString -String '<password>' -AsPlainText -Force)`.
49834993
- Before you run this command, store the password as a variable (for example, `$password = Read-Host "Enter password" -AsSecureString`), and then use the variable (`$password`) for the value.
49844994
- `(Get-Credential).password` to be prompted to enter the password securely when you run this command.
49854995

4996+
To configure the password for a room mailbox account in Exchange Online, use Set-AzureADUserPassword cmdlet in Azure Active Directory PowerShell. For instructions, see [Manage passwords with PowerShell](https://learn.microsoft.com/microsoft-365/enterprise/manage-passwords-with-microsoft-365-powershell).
4997+
49864998
```yaml
49874999
Type: SecureString
49885000
Parameter Sets: (All)

0 commit comments

Comments
 (0)