get-csteamscallingpolicy dose not return all objects.

%3CLINGO-SUB%20id%3D%22lingo-sub-1506193%22%20slang%3D%22en-US%22%3Eget-csteamscallingpolicy%20dose%20not%20return%20all%20objects.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1506193%22%20slang%3D%22en-US%22%3E%3CP%3Ewhen%20trying%20to%20see%20all%20settings%20on%20a%20clients%20tenant%20for%20Microsoft%20teams%2C%20using%20the%20get-csteamscallingpolicy%20doesnt%20seem%20to%20bring%20back%20all%20the%20objects%20that%20are%20avalible%20in%20the%20set-csteamscallingpolicy.%3C%2FP%3E%3CP%3EExample%20I%20run%26nbsp%3BGet-CsTeamsCallingPolicy%20-filter%20%22tag%3A*%22%20%7CFormat-list%20*%20-force%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPSComputerName%20%3A%20admin2a.online.lync.com%3CBR%20%2F%3ERunspaceId%20%3A%26nbsp%3B%3CBR%20%2F%3EPSShowComputerName%20%3A%20False%3CBR%20%2F%3EAllowCalling%20%3A%20True%3CBR%20%2F%3EAllowPrivateCalling%20%3A%20True%3CBR%20%2F%3EAllowGroupCalling%20%3A%20True%3CBR%20%2F%3EKey%20%3A%3CBR%20%2F%3EScopeClass%20%3A%20Tag%3CBR%20%2F%3EAnchor%20%3A%3CBR%20%2F%3EIdentity%20%3A%20Tag%3AAllowCallingPreventForwardingtoPhone%3CBR%20%2F%3ETypedIdentity%20%3A%20Tag%3AAllowCallingPreventForwardingtoPhone%3CBR%20%2F%3EElement%20%3A%20%3CTEAMSCALLINGPOLICY%20allowcalling%3D%22%26quot%3Btrue%26quot%3B%22%20allowprivatecalling%3D%22%26quot%3Btrue%26quot%3B%22%20allowgroupcalling%3D%22%26quot%3Btrue%26quot%3B%26lt%3BBR%22%3E%3C%2FTEAMSCALLINGPOLICY%3Exmlns%3D%22urn%3Aschema%3AMicrosoft.Rtc.Management.Policy.Teams.2017%22%20%2F%26gt%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20I%20can%20do%20a%20Set-csteamscallingpolicy%20and%20configure%20call%20fwd%20options.%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E%5B-Tenant%20%3CSYSTEM.GUID%3E%5D%3C%2FSYSTEM.GUID%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%5B-AllowWebPSTNCalling%20%3CBOOLEAN%3E%5D%20%3C%2FBOOLEAN%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%5B-SafeTransferEnabled%20%3COBJECT%3E%5D%20%3C%2FOBJECT%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%5B-AllowCalling%20%3CBOOLEAN%3E%5D%20%3C%2FBOOLEAN%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%5B-AllowPrivateCalling%20%3CBOOLEAN%3E%5D%20%3C%2FBOOLEAN%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%5B-AllowVoicemail%20%3CSTRING%3E%5D%20%3C%2FSTRING%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%5B-AllowCallGroups%20%3CBOOLEAN%3E%5D%20%3C%2FBOOLEAN%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%5B-AllowDelegation%20%3CBOOLEAN%3E%5D%20%3C%2FBOOLEAN%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%5B-AllowCallForwardingToUser%20%3CBOOLEAN%3E%5D%20%3C%2FBOOLEAN%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%5B-AllowCallForwardingToPhone%20%3CBOOLEAN%3E%5D%20%3C%2FBOOLEAN%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%5B-PreventTollBypass%20%3CBOOLEAN%3E%5D%20%3C%2FBOOLEAN%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%5B-BusyOnBusyEnabledType%20%3CSTRING%3E%5D%20%3C%2FSTRING%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%5B-MusicOnHoldEnabledType%20%3CENUM%3E%5D%5B%5B-Identity%5D%20%3CXDSIDENTITY%3E%5D%20%3C%2FXDSIDENTITY%3E%3C%2FENUM%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%5B-Force%5D%20%5B-WhatIf%5D%20%5B-Confirm%5D%20%5B%3CCOMMONPARAMETERS%3E%5D%3C%2FCOMMONPARAMETERS%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20one%20run%20into%20this%20before%3F%20Thanks%20in%20advance%20for%20any%20help%20on%20this.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBrett%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1506193%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdministrator%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESettings%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
New Contributor

when trying to see all settings on a clients tenant for Microsoft teams, using the get-csteamscallingpolicy doesnt seem to bring back all the objects that are avalible in the set-csteamscallingpolicy.

Example I run Get-CsTeamsCallingPolicy -filter "tag:*" |Format-list * -force

 

PSComputerName : admin2a.online.lync.com
RunspaceId : 
PSShowComputerName : False
AllowCalling : True
AllowPrivateCalling : True
AllowGroupCalling : True
Key :
ScopeClass : Tag
Anchor :
Identity : Tag:AllowCallingPreventForwardingtoPhone
TypedIdentity : Tag:AllowCallingPreventForwardingtoPhone
Element : <TeamsCallingPolicy AllowCalling="true" AllowPrivateCalling="true" AllowGroupCalling="true"
xmlns="urn:schema:Microsoft.Rtc.Management.Policy.Teams.2017" />

 

 

But I can do a Set-csteamscallingpolicy and configure call fwd options. 

[-Tenant <System.Guid>]
[-AllowWebPSTNCalling <Boolean>]
[-SafeTransferEnabled <Object>]
[-AllowCalling <Boolean>]
[-AllowPrivateCalling <Boolean>]
[-AllowVoicemail <String>]
[-AllowCallGroups <Boolean>]
[-AllowDelegation <Boolean>]
[-AllowCallForwardingToUser <Boolean>]
[-AllowCallForwardingToPhone <Boolean>]
[-PreventTollBypass <Boolean>]
[-BusyOnBusyEnabledType <String>]
[-MusicOnHoldEnabledType <Enum>][[-Identity] <XdsIdentity>]
[-Force] [-WhatIf] [-Confirm] [<CommonParameters>]

 

 

 

Any one run into this before? Thanks in advance for any help on this.

 

Brett

0 Replies