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/app-only-auth-powershell-v2.md
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,10 @@ The following examples show how to use the Exchange Online PowerShell V2 module
50
50
When you use the _Certificate_ parameter, the certificate does not need to be installed on the computer where you are running the command. This parameter is applicable for scenarios where the certificate object is stored remotely and fetched at runtime during script execution.
51
51
52
52
> [!TIP]
53
-
> In the **Connect-ExchangeOnline** commands, be sure to use an `.onmicrosoft.com` domain in the _Organization_ parameter value. Otherwise, you might encounter cryptic permission issues when you run commands in the app context.
53
+
>
54
+
> - In the **Connect-ExchangeOnline** commands, be sure to use an `.onmicrosoft.com` domain in the _Organization_ parameter value. Otherwise, you might encounter cryptic permission issues when you run commands in the app context.
55
+
>
56
+
> - App-only authentication does not support delegation. Unattended scripting in delegation scenarios is supported with the Secure App Model. For more information, go [here](https://docs.microsoft.com/powershell/partnercenter/multi-factor-auth#exchange).
Copy file name to clipboardExpand all lines: exchange/exchange-ps/exchange/Add-UnifiedGroupLinks.md
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -34,9 +34,7 @@ Microsoft 365 Groups are group objects that are available across Microsoft 365 s
34
34
35
35
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).
36
36
37
-
>
38
-
[!NOTE]
39
-
> Only members can be owners of a group, so you must first add a user as member before adding it as an owner.
37
+
**Note**: Only members can be owners of a group, so you must first add a user as member before adding it as an owner.
Copy file name to clipboardExpand all lines: exchange/exchange-ps/exchange/Get-ExchangeCertificate.md
+42-42Lines changed: 42 additions & 42 deletions
Original file line number
Diff line number
Diff line change
@@ -53,9 +53,9 @@ By default, this cmdlet returns the following certificate properties in the summ
53
53
- Services: The Exchange services that the certificate is assigned to by using the Enable-ExchangeCertificate cmdlet. Values are None, Federation, IIS, IMAP, POP, SMTP, UM, and UMCallRouter. You'll see the value None in certificates that aren't used with Exchange (for example, the `WMSvc-<ServerName>` certificate that's used for the IIS Web Management Service).
54
54
- Subject: Contains the X.500 value in the certificate's Subject Name field. The important part is the CN= value.
55
55
56
-
If you append | Format-List to the command, the cmdlet returns these additional certificate properties:
56
+
If you append `| Format-List` to the command, the cmdlet returns these additional certificate properties:
57
57
58
-
- AccessRules: The host names or FQDNs in the certificate's Subject Alternative Name field.
58
+
- AccessRules: Typically, this value is multiple instances of the value System.Security.AccessControl.CryptoKeyAccessRule separated by commas.
59
59
- CertificateDomains: The host names or FQDNs in the certificate's Subject Alternative Name field.
60
60
- HasPrivateKey: Whether or not the certificate contains a private key.
61
61
- IsSelfSigned: Whether or not the certificate is self-signed (not issued by a certification authority).
@@ -125,29 +125,54 @@ This example shows which certificate Exchange will select for the domain name ma
125
125
126
126
## PARAMETERS
127
127
128
-
### -DomainController
129
-
The DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory. You identify the domain controller by its fully qualified domain name (FQDN). For example, dc01.contoso.com.
128
+
### -Thumbprint
129
+
The Thumbprint parameter specifies the thumbprint value of the certificate that you want to view.
130
130
131
-
The DomainController parameter isn't supported on Edge Transport servers. An Edge Transport server uses the local instance of Active Directory Lightweight Directory Services (AD LDS) to read and write data.
131
+
The Thumbprint parameter, not the Identity parameter, is the positional parameter for this cmdlet. Therefore, when you specify a thumbprint value by itself, the command uses that value for the Thumbprint parameter.
132
132
133
133
```yaml
134
-
Type: Fqdn
135
-
Parameter Sets: (All)
134
+
Type: String
135
+
Parameter Sets: Thumbprint
136
136
Aliases:
137
137
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
138
138
139
139
Required: False
140
-
Position: Named
140
+
Position: 1
141
+
Default value: None
142
+
Accept pipeline input: True
143
+
Accept wildcard characters: False
144
+
```
145
+
146
+
### -Identity
147
+
The Identity parameter specifies the certificate that you want to view. Valid values are:
148
+
149
+
- `ServerNameOrFQDN\Thumbprint`
150
+
- `Thumbprint`
151
+
152
+
You can't use this parameter with the Server parameter.
153
+
154
+
The Thumbprint parameter, not the Identity parameter, is the positional parameter for this cmdlet. Therefore, when you specify a thumbprint value by itself, the command uses that value for the Thumbprint parameter.
155
+
156
+
```yaml
157
+
Type: ExchangeCertificateIdParameter
158
+
Parameter Sets: Identity
159
+
Aliases:
160
+
Applicable: Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
161
+
162
+
Required: False
163
+
Position: 1
141
164
Default value: None
142
165
Accept pipeline input: False
143
166
Accept wildcard characters: False
144
167
```
145
168
146
-
### -DomainName
147
-
The DomainName parameter filters the results by the fully qualified domain name (FQDN) or server name values in the Subject Name or the Subject Alternative Name fields. You can specify multiple values separated by commas.
169
+
### -DomainController
170
+
The DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory. You identify the domain controller by its fully qualified domain name (FQDN). For example, dc01.contoso.com.
171
+
172
+
The DomainController parameter isn't supported on Edge Transport servers. An Edge Transport server uses the local instance of Active Directory Lightweight Directory Services (AD LDS) to read and write data.
148
173
149
174
```yaml
150
-
Type: MultiValuedProperty
175
+
Type: Fqdn
151
176
Parameter Sets: (All)
152
177
Aliases:
153
178
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
The Identity parameter specifies the certificate that you want to view. Valid values are:
164
-
165
-
- `ServerNameOrFQDN\Thumbprint`
166
-
- `Thumbprint`
167
-
168
-
You can't use this parameter with the Server parameter.
169
-
170
-
The Thumbprint parameter, not the Identity parameter, is the positional parameter for this cmdlet. Therefore, when you specify a thumbprint value by itself, the command uses that value for the Thumbprint parameter.
187
+
### -DomainName
188
+
The DomainName parameter filters the results by the fully qualified domain name (FQDN) or server name values in the Subject Name or the Subject Alternative Name fields. You can specify multiple values separated by commas.
171
189
172
190
```yaml
173
-
Type: ExchangeCertificateIdParameter
174
-
Parameter Sets: Identity
191
+
Type: MultiValuedProperty
192
+
Parameter Sets: (All)
175
193
Aliases:
176
-
Applicable: Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
194
+
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
177
195
178
196
Required: False
179
-
Position: 1
197
+
Position: Named
180
198
Default value: None
181
199
Accept pipeline input: False
182
200
Accept wildcard characters: False
@@ -223,24 +241,6 @@ Accept pipeline input: False
223
241
Accept wildcard characters: False
224
242
```
225
243
226
-
### -Thumbprint
227
-
The Thumbprint parameter specifies the thumbprint value of the certificate that you want to view.
228
-
229
-
The Thumbprint parameter, not the Identity parameter, is the positional parameter for this cmdlet. Therefore, when you specify a thumbprint value by itself, the command uses that value for the Thumbprint parameter.
230
-
231
-
```yaml
232
-
Type: String
233
-
Parameter Sets: Thumbprint
234
-
Aliases:
235
-
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
236
-
237
-
Required: False
238
-
Position: 1
239
-
Default value: None
240
-
Accept pipeline input: True
241
-
Accept wildcard characters: False
242
-
```
243
-
244
244
### CommonParameters
245
245
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/p/?LinkID=113216).
M365 data-at-rest encryption policy cmdlets are accessible to compliance administrator role as part of the Exchange Online infrastructure. For more information, see [Overview of M365 Customer Key at the tenant level](https://docs.microsoft.com/microsoft-365/compliance/customer-key-tenant-level#get-policy-details).
35
35
36
-
You can create and assign a data-at-rest encryption policy at the tenant level by using the appropriate M365DataAtRestEncryptionPolicy cmdlets in Exchange Online PowerShell.
36
+
You can create and assign a Microsoft 365 data-at-rest encryption policy at the tenant level by using the appropriate M365DataAtRestEncryptionPolicy cmdlets in Exchange Online PowerShell.
37
37
38
38
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).
39
39
@@ -44,7 +44,7 @@ You need to be assigned permissions before you can run this cmdlet. Although thi
44
44
Get-M365DataAtRestEncryptionPolicy
45
45
```
46
46
47
-
This example returns a summary list of all data-at-rest encryption policies.
47
+
This example returns a summary list of all Microsoft 365 data-at-rest encryption policies.
48
48
49
49
### Example 2
50
50
```powershell
@@ -56,7 +56,7 @@ This example returns detailed information about the policy named Contoso Corpora
56
56
## PARAMETERS
57
57
58
58
### -Identity
59
-
The Identity parameter specifies the data-at-rest encryption policy that you want to view. You can use any value that uniquely identifies the policy. For example:
59
+
The Identity parameter specifies the Microsoft 365 data-at-rest encryption policy that you want to view. You can use any value that uniquely identifies the policy. For example:
This cmdlet lists the policy that's currently assigned to the tenant.
30
+
This cmdlet lists the Microsoft 365 data-at-rest encryption policy that's currently assigned to the tenant.
31
31
32
32
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).
33
33
@@ -38,14 +38,14 @@ You need to be assigned permissions before you can run this cmdlet. Although thi
38
38
Get-M365DataAtRestEncryptionPolicyAssignment
39
39
```
40
40
41
-
This example returns a summary list of all data-at-rest encryption policy assignments.
41
+
This example returns a summary list of all Microsoft 365 data-at-rest encryption policy assignments.
This example returns detailed information for all data-at-rest encryption policy assignments.
48
+
This example returns detailed information for all Microsoft 365 data-at-rest encryption policy assignments.
49
49
50
50
### CommonParameters
51
51
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/p/?LinkID=113216).
Copy file name to clipboardExpand all lines: exchange/exchange-ps/exchange/Get-RecoverableItems.md
+3-17Lines changed: 3 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -246,30 +246,16 @@ The SourceFolder parameter specifies where to search for deleted items in the ma
246
246
247
247
- DeletedItems: The Deleted Items folder.
248
248
- RecoverableItems: The Recoverable Items\Deletions folder. This folder contains items that have been deleted from the Deleted Items folder (soft-deleted items).
249
-
- PurgedItems: (Cloud only) The Recoverable Items\Purges folder. This folder contains items that have been purged from the Recoverable Items folder (hard-deleted items).
249
+
- PurgedItems: The Recoverable Items\Purges folder. This folder contains items that have been purged from the Recoverable Items folder (hard-deleted items).
250
250
251
251
If you don't use this parameter, the command will search all of these folders.
252
252
253
253
```yaml
254
254
Type: RecoverableItemsFolderType
255
-
Parameter Sets: OnPremises
256
-
Aliases:
257
-
Accepted values: DeletedItems | RecoverableItems
258
-
Applicable: Exchange Server 2016, Exchange Server 2019
The AdvancedSettings parameter enables client-specific features and capabilities on the sensitivity label. The settings that you configure with this parameter only affect apps that are designed for the setting. For more information, see [How to configure advanced settings for the client by using Security & Compliance Center PowerShell](https://docs.microsoft.com/azure/information-protection/rms-client/clientv2-admin-guide-customizations#how-to-configure-advanced-settings-for-the-client-by-using-office-365-security--compliance-center-powershell).
143
+
The AdvancedSettings parameter enables client-specific features and capabilities for a sensitivity label. The settings that you configure with this parameter are supported only by the Azure Information Protection unified labeling client and not by Office apps that support built-in labeling. For more information how to configure these advanced settings, see [Custom configurations for the Azure Information Protection unified labeling client](https://docs.microsoft.com/azure/information-protection/rms-client/clientv2-admin-guide-customizations).
The AdvancedSettings parameter enables client-specific features and capabilities on the sensitivity label policy. The settings that you configure with this parameter only affect apps that are designed for the setting. For more information, see [How to configure advanced settings for the client by using Security & Compliance Center PowerShell](https://docs.microsoft.com/azure/information-protection/rms-client/clientv2-admin-guide-customizations#how-to-configure-advanced-settings-for-the-client-by-using-office-365-security--compliance-center-powershell).
88
+
The AdvancedSettings parameter enables client-specific features and capabilities for the sensitivity label policy. The settings that you configure with this parameter are supported only by the Azure Information Protection unified labeling client and not by Office apps that support built-in labeling. For more information how to configure these advanced settings, see [Custom configurations for the Azure Information Protection unified labeling client](https://docs.microsoft.com/azure/information-protection/rms-client/clientv2-admin-guide-customizations).
Use the New-M365DataAtRestEncryptionPolicy cmdlet to create a new Microsoft 365 data-at-rest encryption policy. For more information, see [Overview of M365 Customer Key at the tenant level](https://docs.microsoft.com/microsoft-365/compliance/customer-key-tenant-level#get-policy-details).
37
+
36
38
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).
37
39
38
40
## EXAMPLES
39
41
40
42
### Example 1
41
43
```powershell
42
-
New-M365DataAtRestEncryptionPolicy -Name "US Mailboxes" -AzureKeyIDs "https://contoso.vault.azure.net/keys/key1/",https://contoso.vault.azure.net/keys/key2/" -Description "Root key for mailboxes located in US territories"
This example creates a data-at-rest encryption policy named US Mailboxes with the specified Azure Key Vault keys and description.
47
+
This example creates a Microsoft 365 data-at-rest encryption policy named Default_Policy with the specified Azure Key Vault keys and description.
46
48
47
49
## PARAMETERS
48
50
49
51
### -Name
50
-
The Name parameter specifies a unique name for the data-at-rest encryption policy. If the value contains spaces, enclose the value in quotation marks (").
52
+
The Name parameter specifies a unique name for the Microsoft 365 data-at-rest encryption policy. If the value contains spaces, enclose the value in quotation marks (").
Copy file name to clipboardExpand all lines: exchange/exchange-ps/exchange/Restore-RecoverableItems.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -308,16 +308,16 @@ The SourceFolder parameter specifies where to search for deleted items in the ma
308
308
309
309
- DeletedItems: The Deleted Items folder.
310
310
- RecoverableItems: The Recoverable Items\Deletions folder. This folder contains items that have been deleted from the Deleted Items folder (soft-deleted items).
311
-
- PurgedItems: (Cloud only) The Recoverable Items\Purges folder. This folder contains items that have been purged from the Recoverable Items folder (hard-deleted items).
311
+
- PurgedItems: The Recoverable Items\Purges folder. This folder contains items that have been purged from the Recoverable Items folder (hard-deleted items).
312
312
313
313
If you don't use this parameter, the command will search all of these folders.
314
314
315
315
```yaml
316
316
Type: RecoverableItemsFolderType
317
-
Parameter Sets: OnPremises
317
+
Parameter Sets: (All)
318
318
Aliases:
319
-
Accepted values: DeletedItems | RecoverableItems
320
-
Applicable: Exchange Server 2016, Exchange Server 2019
0 commit comments