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
@@ -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,20 +290,28 @@ 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:
297
308
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.
309
+
*Attributes that have changed in meaning/format*:
310
+
311
+
**OnPremLineURI**: This attribute previously used to refer to both:
312
+
313
+
1. LineURI set via OnPrem AD.
314
+
2. Direct Routing numbers assigned to users via Set-CsUser.
304
315
305
316
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
317
@@ -310,16 +321,22 @@ In the Teams PowerShell Module version 3.0.0 or later, the format of the Assigne
310
321
- All users with an AssignedPlan that starts with MCO: `-Filter "AssignedPlan -eq 'MCO*'"`
311
322
- All users with an AssignedPlan that contains MCO: `-Filter "AssignedPlan -eq '*MCO*'"`
312
323
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.
324
+
**Policy Attributes:**
325
+
326
+
- PolicyProperty comparison works only when "Authority" is provided in the value. For ex: TeamsMessagingPolicy -eq "<Authority>:<Value>"
327
+
"Authority"can contain any of these two values: Host or Tenant for a policy type (PreCanned/Default configurations provided by feature team are refered to as Host configurations while Admin-created configurations are considered Tenant configurations)
328
+
329
+
- 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.
330
+
331
+
332
+
*Dropped Filter operators*:
333
+
334
+
The following filter syntaxes are not supported in Teams PowerShell Module 3.0.0 and above:
314
335
315
-
In the Teams PowerShell Module version 3.0.0 or later, the following PowerShell logical operators are no longer supported:
336
+
- not, -lt, -gt: These operators have been dropped
337
+
- ge, -ne: These operators are not supported with policy properties
338
+
- 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
479
463
-
## INPUTS
464
-
465
480
## OUTPUTS
481
+
482
+
### Note:
483
+
484
+
The following updates are applicable for TeamsOnly customers using Microsoft Teams PowerShell version 3.0.0 and above.
485
+
486
+
_New user attributes_
487
+
488
+
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.
489
+
Some of the commonly used FeatureTypes include:
490
+
- Teams
491
+
- AudioConferencing
492
+
- PhoneSystem
493
+
- CallingPlan
494
+
495
+
_Dropped attributes_
496
+
497
+
The following attributes are no longer relevant to Teams and have been dropped from the output:
498
+
499
+
- AcpInfo
500
+
- AdminDescription
501
+
- ArchivingPolicy
502
+
- AudioVideoDisabled
503
+
- BaseSimpleUrl
504
+
- BroadcastMeetingPolicy
505
+
- CallViaWorkPolicy
506
+
- ClientPolicy
507
+
- ClientUpdateOverridePolicy
508
+
- ClientVersionPolicy
509
+
- CloudMeetingOpsPolicy
510
+
- CloudMeetingPolicy
511
+
- CloudVideoInteropPolicy
512
+
- ContactOptionFlags
513
+
- CountryOrRegionDisplayName
514
+
- Description
515
+
- DistinguishedName
516
+
- EnabledForRichPresence
517
+
- ExchangeArchivingPolicy
518
+
- ExchUserHoldPolicies
519
+
- ExperiencePolicy
520
+
- ExternalUserCommunicationPolicy
521
+
- ExUmEnabled
522
+
- Guid
523
+
- HomeServer
524
+
- HostedVoicemailPolicy
525
+
- IPPBXSoftPhoneRoutingEnabled
526
+
- IPPhone
527
+
- IPPhonePolicy
528
+
- IsByPassValidation
529
+
- IsValid
530
+
- LegalInterceptPolicy
531
+
- LicenseRemovalTimestamp
532
+
- LineServerURI
533
+
- Manager
534
+
- MNCReady
535
+
- Name
536
+
- NonPrimaryResource
537
+
- ObjectCategory
538
+
- ObjectClass
539
+
- ObjectState
540
+
- OnPremHideFromAddressLists
541
+
- OriginalPreferredDataLocation
542
+
- OriginatingServer
543
+
- OriginatorSid
544
+
- OverridePreferredDataLocation
545
+
- PendingDeletion
546
+
- PrivateLine
547
+
- ProvisioningCounter
548
+
- ProvisioningStamp
549
+
- PublishingCounter
550
+
- PublishingStamp
551
+
- Puid
552
+
- RemoteCallControlTelephonyEnabled
553
+
- RemoteMachine
554
+
- SamAccountName
555
+
- ServiceInfo
556
+
- StsRefreshTokensValidFrom
557
+
- SubProvisioningCounter
558
+
- SubProvisioningStamp
559
+
- SubProvisionLineType
560
+
- SyncingCounter
561
+
- TargetRegistrarPool
562
+
- TargetServerIfMoving
563
+
- TeamsInteropPolicy
564
+
- ThumbnailPhoto
565
+
- UpgradeRetryCounter
566
+
- UserAccountControl
567
+
- UserProvisionType
568
+
- UserRoutingGroupId
569
+
- VoicePolicy - Alternative is the CallingPlan and PhoneSystem string in FeatureTypes
570
+
- XForestMovePolicy
571
+
- AddressBookPolicy
572
+
- GraphPolicy
573
+
- PinPolicy
574
+
- PreferredDataLocationOverwritePolicy
575
+
- PresencePolicy
576
+
- SmsServicePolicy
577
+
- TeamsVoiceRoute
578
+
- ThirdPartyVideoSystemPolicy
579
+
- UserServicesPolicy
580
+
- ConferencingPolicy
581
+
- Id
582
+
- MobilityPolicy
583
+
- OnlineDialinConferencingPolicy - Alternative is the AudioConferencing string in FeatureTypes
584
+
- Sid
585
+
- TeamsWorkLoadPolicy
586
+
- VoiceRoutingPolicy
587
+
- ClientUpdatePolicy
588
+
- HomePhone
589
+
- HostedVoiceMail
590
+
- MobilePhone
591
+
- OtherTelephone
592
+
- StreetAddress
593
+
- WebPage
594
+
- AssignedLicenses
595
+
- OnPremisesUserPrincipalName
596
+
- HostedVoiceMail
597
+
- LicenseAssignmentStates
598
+
- OnPremDomainName
599
+
- OnPremSecurityIdentifier
600
+
- OnPremSamAccountName
601
+
- CallerIdPolicy
602
+
- Fax
603
+
- LastName
604
+
- Office
605
+
- Phone
606
+
- WindowsEmailAddress
607
+
608
+
*Attributes renamed*
609
+
610
+
- ObjectId renamed to Identity
611
+
- FirstName renamed to GivenName
612
+
- DirSyncEnabled renamed to UserDirSyncEnabled
613
+
- MCOValidationErrors renamed to UserValidationErrors
614
+
- Enabled renamed to IsSipEnabled
615
+
- TeamsBranchSurvivabilityPolicy renamed to TeamsSurvivableBranchAppliancePolicy
616
+
617
+
*Attributes that have changed in meaning/format*
618
+
619
+
**OnPremLineURI**: This attribute previously used to refer to both:
620
+
1. LineURI set via OnPrem AD.
621
+
2. Direct Routing numbers assigned to users via Set-CsUser.
622
+
623
+
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.
624
+
625
+
**- The output format of AssignedPlan and ProvisionedPlan have now changed from XML to JSON array.**
626
+
627
+
**- The output format of Policies has now changed from String to JSON type UserPolicyDefinition.**
0 commit comments