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/exchange-ps/exchange/New-RetentionComplianceRule.md
+9-2Lines changed: 9 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -67,10 +67,17 @@ To use this cmdlet in Security & Compliance Center PowerShell, you need to be as
67
67
68
68
### Example 1
69
69
```powershell
70
-
New-RetentionComplianceRule -Name SeptOneYear -Policy "Internal Company Policy" -RetentionDuration Unlimited
70
+
New-RetentionComplianceRule -Name InternalCompanyRule -Policy "Internal Company Policy" -RetentionDuration Unlimited
71
71
```
72
72
73
-
This example creates a new retention rule named SeptOneYear and adds it to the existing retention policy named "Internal Company Policy". Content will be held indefinitely.
73
+
This example creates a new case hold rule named InternalCompanyRule and adds it to the existing case hold policy named "Internal Company Policy". Content will be held indefinitely.
This example creates a new retention rule named SeptOneYear and adds it to the existing retention policy named "Internal Company Policy". Content will be held for one year from the day content was last modified before it is deleted.
The SiteIds parameter filters the log entries by the SharePoint site URL.
309
+
The SiteIds parameter filters the log entries by the SharePoint SiteId (GUID). You can enter multiple values separated by commas: `Value1, Value2,…ValueN`.
310
310
311
-
You can enter multiple values separated by commas. If the values contain spaces or otherwise require quotation marks, use the following syntax: `"Value1","Value2",..."ValueN"`.
312
-
313
-
If the site URL contains a dash (-), escape the dash character with another dash. For example, for the site `https://contoso.sharepoint.com/sites/hr-project`, use the value `"https://contoso.sharepoint.com/sites/hr--project"`.
311
+
To obtain the the SiteId for a SharePoint site, append `/_api/site/id` to the URL of the site collection you want to specify. For example, change the URL `https://contoso.sharepoint.com/sites/hr-project` to `https://contoso.sharepoint.com/sites/hr-project/_api/site/id`. An XML payload is returned and the SiteId for the site collection is displayed in the Edm.Guid property; for example: `<d:Id xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss" xmlns:gml="http://www.opengis.net/gml" m:type="Edm.Guid">14ab81b6-f23d-476a-8cac-ad5dbd2910f7</d:Id>`.
Copy file name to clipboardExpand all lines: exchange/exchange-ps/exchange/Set-OrganizationConfig.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1479,7 +1479,7 @@ The DisablePlusAddressInRecipients parameter specifies whether to enable or disa
1479
1479
- $true: Plus addressing is enabled. You can no longer use the plus sign in regular email addresses. The plus sign is only available for plus addressing.
1480
1480
- $false: Plus addressing is disabled. You can use the plus sign in regular email addresses.
1481
1481
1482
-
For more information about plus addressing, see [Plus addressing in Exchange Online](https://docs.microsoft.com/eexchange/recipients-in-exchange-online/plus-addressing-in-exchange-online).
1482
+
For more information about plus addressing, see [Plus addressing in Exchange Online](https://docs.microsoft.com/exchange/recipients-in-exchange-online/plus-addressing-in-exchange-online).
@@ -154,7 +154,7 @@ This parameter has been deprecated from the Teams PowerShell Modules version 3.0
154
154
```yaml
155
155
Type: PSCredential
156
156
Parameter Sets: (All)
157
-
Aliases:
157
+
Aliases:
158
158
Applicable: Microsoft Teams, Skype for Business Online
159
159
160
160
Required: False
@@ -199,6 +199,9 @@ In the Teams PowerShell Module version 3.0.0 or later, filtering functionality i
199
199
- givenName
200
200
- Identity
201
201
- lineUri
202
+
- userPrincipalName
203
+
- CallingLineIdentity
204
+
- ExternalAccessPolicy
202
205
- OnlineAudioConferencingRoutingPolicy
203
206
- OnlineDialOutPolicy
204
207
- OnlineVoicemailPolicy
@@ -287,39 +290,50 @@ In the Teams PowerShell Module version 3.0.0 or later, filtering functionality i
287
290
- TeamsVdiPolicy
288
291
- TeamsVerticalPackagePolicy
289
292
- TeamsVideoInteropServicePolicy
293
+
- TeamsEducationAssignmentsAppPolicy
294
+
- TeamsComplianceRecordingPolicy
295
+
- TeamsWorkLoadPolicy
296
+
- VoiceRoutingPolicy
297
+
- AssignedPlan
298
+
- EnterpriseVoiceEnabled
299
+
- Identity
300
+
- department
301
+
- UserDirSyncEnabled
290
302
- TenantDialPlan
291
303
- Title
292
304
- UsageLocation
293
305
- UserDirSyncEnabled
294
306
- userPrincipalName
295
307
296
-
In the Teams PowerShell Module version 3.0.0 or later, the following attributes have been renamed:
308
+
*Attributes that have changed in meaning/format*:
297
309
298
-
- ObjectId is now Identity.
299
-
- FirstName is now GivenName.
300
-
- DirSyncEnabled is now UserDirSyncEnabled.
301
-
- MCOValidationError is now UserValidationErrors.
302
-
- Enabled is now IsSipEnabled.
303
-
- TeamsBranchSurvivabilityPolicy is now TeamsSurvivableBranchAppliancePolicy.
310
+
**OnPremLineURI**: This attribute previously used to refer to both:
311
+
312
+
1. LineURI set via OnPrem AD.
313
+
2. Direct Routing numbers assigned to users via Set-CsUser.
304
314
305
315
In the Teams PowerShell Module version 3.0.0 or later, the **OnPremLineURI** attribute refers only to the LineURI that's set via OnPrem AD. Previously, **OnPremLineURI** also referred to Direct Routing numbers that were assigned to users via the Set-CsUser cmdlet. Now, Direct Routing numbers are available in the **LineURI** attribute. You can distinguish Direct Routing Numbers from Calling Plan Numbers by looking at the **FeatureTypes** attribute.
306
316
307
317
In the Teams PowerShell Module version 3.0.0 or later, the format of the AssignedPlan and ProvisionedPlan attributes has changed from XML to JSON array. Previous XML filters (For example, `-Filter "AssignedPlan -eq '<some-xml-string>'"`) will no longer work. Instead, you need to update your filters to use one of the following formats:
308
318
309
319
- All users with an AssignedPlan that ends with "MCO": `-Filter "AssignedPlan -eq '*MCO'"`
310
-
- All users with an AssignedPlan that starts with MCO: `-Filter "AssignedPlan -eq 'MCO*'"`
320
+
- All users with an AssignedPlan that starts with MCO: `-Filter "AssignedPlan -eq 'MCO*'"`
311
321
- All users with an AssignedPlan that contains MCO: `-Filter "AssignedPlan -eq '*MCO*'"`
312
322
313
-
In the Teams PowerShell Module version 3.0.0 or later, the output format of Policies has now changed from String to JSON type UserPolicyDefinition.
323
+
**Policy Attributes**:
324
+
325
+
- PolicyProperty comparison works only when "Authority" is provided in the value. For ex: `-Filter "TeamsMessagingPolicy -eq '<Authority>:<Value>'"`
326
+
"Authority"can contain any of these two values: Host or Tenant for a policy type (PreCanned/Default configurations provided by feature team are referred to as Host configurations while Admin-created configurations are considered Tenant configurations)
327
+
328
+
- In the Teams PowerShell Module version 3.0.0 or later, the output format of Policies has now changed from String to JSON type UserPolicyDefinition.
314
329
315
-
In the Teams PowerShell Module version 3.0.0 or later, the following PowerShell logical operators are no longer supported:
330
+
*Dropped Filter operators*:
316
331
317
-
- Not (`-not`)
318
-
- Like (`-like`)
319
-
- Less than (`-lt`)
320
-
- Less than or equal to (`-le`)
321
-
- Greater than (`-gt`)
322
-
- Greater than or equal to (`-ge`)
332
+
The following filter syntaxes are not supported in Teams PowerShell Module 3.0.0 and above:
333
+
334
+
- not, -lt, -gt: These operators have been dropped.
335
+
- ge, -ne: These operators are not supported with policy properties.
336
+
- like: This operator is supported only with wildcard character in the end (e.g., `"like <value>*"`).
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/?LinkID=113216).
462
476
463
-
## INPUTS
464
-
465
477
## OUTPUTS
466
478
479
+
### Notes
480
+
481
+
The following updates are applicable for TeamsOnly customers using Microsoft Teams PowerShell version 3.0.0 and above.
482
+
483
+
*New user attributes*:
484
+
485
+
FeatureTypes – Array of unique strings specifying what features are enabled for a user. This attribute is an alternatitive to several attributes that have been dropped as outlined in the next section.
486
+
Some of the commonly used FeatureTypes include:
487
+
488
+
- Teams
489
+
- AudioConferencing
490
+
- PhoneSystem
491
+
- CallingPlan
492
+
493
+
*Dropped attributes*:
494
+
495
+
The following attributes are no longer relevant to Teams and have been dropped from the output:
496
+
497
+
- AcpInfo
498
+
- AdminDescription
499
+
- ArchivingPolicy
500
+
- AudioVideoDisabled
501
+
- BaseSimpleUrl
502
+
- BroadcastMeetingPolicy
503
+
- CallViaWorkPolicy
504
+
- ClientPolicy
505
+
- ClientUpdateOverridePolicy
506
+
- ClientVersionPolicy
507
+
- CloudMeetingOpsPolicy
508
+
- CloudMeetingPolicy
509
+
- CloudVideoInteropPolicy
510
+
- ContactOptionFlags
511
+
- CountryOrRegionDisplayName
512
+
- Description
513
+
- DistinguishedName
514
+
- EnabledForRichPresence
515
+
- ExchangeArchivingPolicy
516
+
- ExchUserHoldPolicies
517
+
- ExperiencePolicy
518
+
- ExternalUserCommunicationPolicy
519
+
- ExUmEnabled
520
+
- Guid
521
+
- HomeServer
522
+
- HostedVoicemailPolicy
523
+
- IPPBXSoftPhoneRoutingEnabled
524
+
- IPPhone
525
+
- IPPhonePolicy
526
+
- IsByPassValidation
527
+
- IsValid
528
+
- LegalInterceptPolicy
529
+
- LicenseRemovalTimestamp
530
+
- LineServerURI
531
+
- Manager
532
+
- MNCReady
533
+
- Name
534
+
- NonPrimaryResource
535
+
- ObjectCategory
536
+
- ObjectClass
537
+
- ObjectState
538
+
- OnPremHideFromAddressLists
539
+
- OriginalPreferredDataLocation
540
+
- OriginatingServer
541
+
- OriginatorSid
542
+
- OverridePreferredDataLocation
543
+
- PendingDeletion
544
+
- PrivateLine
545
+
- ProvisioningCounter
546
+
- ProvisioningStamp
547
+
- PublishingCounter
548
+
- PublishingStamp
549
+
- Puid
550
+
- RemoteCallControlTelephonyEnabled
551
+
- RemoteMachine
552
+
- SamAccountName
553
+
- ServiceInfo
554
+
- StsRefreshTokensValidFrom
555
+
- SubProvisioningCounter
556
+
- SubProvisioningStamp
557
+
- SubProvisionLineType
558
+
- SyncingCounter
559
+
- TargetRegistrarPool
560
+
- TargetServerIfMoving
561
+
- TeamsInteropPolicy
562
+
- ThumbnailPhoto
563
+
- UpgradeRetryCounter
564
+
- UserAccountControl
565
+
- UserProvisionType
566
+
- UserRoutingGroupId
567
+
- VoicePolicy - Alternative is the CallingPlan and PhoneSystem string in FeatureTypes
568
+
- XForestMovePolicy
569
+
- AddressBookPolicy
570
+
- GraphPolicy
571
+
- PinPolicy
572
+
- PreferredDataLocationOverwritePolicy
573
+
- PresencePolicy
574
+
- SmsServicePolicy
575
+
- TeamsVoiceRoute
576
+
- ThirdPartyVideoSystemPolicy
577
+
- UserServicesPolicy
578
+
- ConferencingPolicy
579
+
- Id
580
+
- MobilityPolicy
581
+
- OnlineDialinConferencingPolicy - Alternative is the AudioConferencing string in FeatureTypes
582
+
- Sid
583
+
- TeamsWorkLoadPolicy
584
+
- VoiceRoutingPolicy
585
+
- ClientUpdatePolicy
586
+
- HomePhone
587
+
- HostedVoiceMail
588
+
- MobilePhone
589
+
- OtherTelephone
590
+
- StreetAddress
591
+
- WebPage
592
+
- AssignedLicenses
593
+
- OnPremisesUserPrincipalName
594
+
- HostedVoiceMail
595
+
- LicenseAssignmentStates
596
+
- OnPremDomainName
597
+
- OnPremSecurityIdentifier
598
+
- OnPremSamAccountName
599
+
- CallerIdPolicy
600
+
- Fax
601
+
- LastName
602
+
- Office
603
+
- Phone
604
+
- WindowsEmailAddress
605
+
606
+
*Attributes renamed*:
607
+
608
+
- ObjectId renamed to Identity
609
+
- FirstName renamed to GivenName
610
+
- DirSyncEnabled renamed to UserDirSyncEnabled
611
+
- MCOValidationErrors renamed to UserValidationErrors
612
+
- Enabled renamed to IsSipEnabled
613
+
- TeamsBranchSurvivabilityPolicy renamed to TeamsSurvivableBranchAppliancePolicy
614
+
615
+
*Attributes that have changed in meaning/format*:
616
+
617
+
**OnPremLineURI**: This attribute previously used to refer to both:
618
+
619
+
1. LineURI set via OnPrem AD.
620
+
2. Direct Routing numbers assigned to users via Set-CsUser.
621
+
622
+
In Teams PowerShell Modules 3.0.0 and above OnPremLineURI will only refer to the LineURI set via OnPrem AD. Direct Routing numbers will be available from the LineURI field. Direct Routing Numbers can be distinguished from Calling Plan Numbers by looking at the FeatureTypes attribute.
623
+
624
+
- **The output format of AssignedPlan and ProvisionedPlan have now changed from XML to JSON array.**
625
+
- **The output format of Policies has now changed from String to JSON type UserPolicyDefinition.**
0 commit comments