Skip to content

Commit 4d381ca

Browse files
authored
Merge pull request MicrosoftDocs#12391 from klashkevich-microsoft/klashkevich-microsoft-patch-1
Update Teams Calling Policy - Add spend limits parameters
2 parents be30565 + c5d1ceb commit 4d381ca

File tree

2 files changed

+224
-102
lines changed

2 files changed

+224
-102
lines changed

teams/teams-ps/teams/New-CsTeamsCallingPolicy.md

Lines changed: 128 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,40 @@ Use this cmdlet to create a new instance of a Teams Calling Policy.
2020

2121
### Identity (Default)
2222
```
23-
New-CsTeamsCallingPolicy [-Identity] <string> [-Description <string>] [-AllowPrivateCalling <boolean>] [-AllowWebPSTNCalling <boolean>]
24-
[-AllowSIPDevicesCalling <boolean>] [-AllowVoicemail <string>] [-AllowCallGroups <boolean>] [-AllowDelegation <boolean>]
25-
[-AllowCallForwardingToUser <boolean>] [-AllowCallForwardingToPhone <boolean>] [-PreventTollBypass <boolean>]
26-
[-BusyOnBusyEnabledType <string>] [-MusicOnHoldEnabledType <string>] [-AllowCloudRecordingForCalls <boolean>]
27-
[-AllowTranscriptionForCalling <boolean>] [-PopoutForIncomingPstnCalls <string>] [-PopoutAppPathForIncomingPstnCalls <string>]
28-
[-LiveCaptionsEnabledTypeForCalling <string>] [-AutoAnswerEnabledType <string>] [-SpamFilteringEnabledType <string>]
29-
[-CallRecordingExpirationDays <long>] [-AllowCallRedirect <string>] [-Copilot <string>] [-EnableWebPstnMediaBypass <Boolean>]
30-
[-InboundPstnCallRoutingTreatment <string>] [-InboundFederatedCallRoutingTreatment <string>] [-AIInterpreter <string>]
31-
[-VoiceSimulationInInterpretation <string>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
23+
New-CsTeamsCallingPolicy [-Identity] <string>
24+
[-AIInterpreter <string>]
25+
[-AllowCallForwardingToPhone <boolean>]
26+
[-AllowCallForwardingToUser <boolean>]
27+
[-AllowCallGroups <boolean>]
28+
[-AllowCallRedirect <string>]
29+
[-AllowCloudRecordingForCalls <boolean>]
30+
[-AllowDelegation <boolean>]
31+
[-AllowPrivateCalling <boolean>]
32+
[-AllowSIPDevicesCalling <boolean>]
33+
[-AllowTranscriptionForCalling <boolean>]
34+
[-AllowVoicemail <string>]
35+
[-AllowWebPSTNCalling <boolean>]
36+
[-AutoAnswerEnabledType <string>]
37+
[-BusyOnBusyEnabledType <string>]
38+
[-CallingSpendUserLimit <long>]
39+
[-CallRecordingExpirationDays <long>]
40+
[-Confirm]
41+
[-Copilot <string>]
42+
[-Description <string>]
43+
[-EnableSpendLimits <boolean>]
44+
[-EnableWebPstnMediaBypass <Boolean>]
45+
[-Force]
46+
[-InboundFederatedCallRoutingTreatment <string>]
47+
[-InboundPstnCallRoutingTreatment <string>]
48+
[-LiveCaptionsEnabledTypeForCalling <string>]
49+
[-MusicOnHoldEnabledType <string>]
50+
[-PopoutAppPathForIncomingPstnCalls <string>]
51+
[-PopoutForIncomingPstnCalls <string>]
52+
[-PreventTollBypass <boolean>]
53+
[-SpamFilteringEnabledType <string>]
54+
[-VoiceSimulationInInterpretation <string>]
55+
[-WhatIf]
56+
[<CommonParameters>]
3257
```
3358

3459
## DESCRIPTION
@@ -46,13 +71,29 @@ values in the Global policy instance.
4671

4772
## PARAMETERS
4873

74+
### -Identity
75+
Name of the policy instance being created.
76+
77+
```yaml
78+
Type: String
79+
Parameter Sets: (All)
80+
Aliases:
81+
82+
Required: False
83+
Position: 1
84+
Default value: None
85+
Accept pipeline input: False
86+
Accept wildcard characters: False
87+
```
88+
4989
### -AIInterpreter
50-
>[!NOTE]
51-
>This feature has not been released yet and will have no changes if it is enabled or disabled.
90+
> [!NOTE]
91+
> This feature has not been released yet and will have no changes if it is enabled or disabled.
5292
5393
Enables the user to use the AI Interpreter related features
5494
55-
Possible Values:
95+
Possible values:
96+
5697
- Disabled
5798
- Enabled
5899
@@ -224,6 +265,7 @@ Accept wildcard characters: False
224265
Enables inbound calls to be routed to voicemail.
225266
226267
Valid options are:
268+
227269
- AlwaysEnabled: Calls are always forwarded to voicemail on unanswered after ringing for thirty seconds, regardless of the unanswered call forward setting for the user.
228270
- AlwaysDisabled: Calls are never routed to voicemail, regardless of the call forward or unanswered settings for the user. Voicemail isn't available as a call forwarding or unanswered setting in Teams.
229271
- UserOverride: Calls are forwarded to voicemail based on the call forwarding and/or unanswered settings for the user.
@@ -261,6 +303,7 @@ Accept wildcard characters: False
261303
Setting this parameter allows you to enable or disable auto-answer for incoming meeting invites on Teams Phones. This setting applies only to incoming meeting invites and does not include support for other call types.
262304
263305
Valid options are:
306+
264307
- Enabled: Auto-answer is enabled.
265308
- Disabled: Auto-answer is disabled. This is the default setting.
266309
@@ -281,6 +324,7 @@ Accept wildcard characters: False
281324
Setting this parameter lets you configure how incoming calls are handled when a user is already in a call or conference or has a call placed on hold.
282325
283326
Valid options are:
327+
284328
- Enabled: New or incoming calls will be rejected with a busy signal.
285329
- Unanswered: The user's unanswered settings will take effect, such as routing to voicemail or forwarding to another user.
286330
- Disabled: New or incoming calls will be presented to the user.
@@ -299,6 +343,23 @@ Accept pipeline input: False
299343
Accept wildcard characters: False
300344
```
301345
346+
### -CallingSpendUserLimit
347+
The maximum amount a user can spend on outgoing PSTN calls, including all calls made through Pay-as-you-go Calling Plans and any overages on plans with bundled minutes.
348+
349+
Possible values: any positive integer
350+
351+
```yaml
352+
Type: Long
353+
Parameter Sets: (All)
354+
Aliases:
355+
Applicable: Microsoft Teams
356+
Required: False
357+
Position: Named
358+
Default value: None
359+
Accept pipeline input: False
360+
Accept wildcard characters: False
361+
```
362+
302363
### -CallRecordingExpirationDays
303364
Sets the expiration of the recorded 1:1 calls. Default is 60 days.
304365
@@ -315,18 +376,18 @@ Accept pipeline input: False
315376
Accept wildcard characters: False
316377
```
317378
318-
### -Description
319-
Enables administrators to provide explanatory text about the calling policy. For example, the Description might indicate the users to whom the policy should be assigned.
379+
### -Confirm
380+
Prompts you for confirmation before running the cmdlet.
320381
321382
```yaml
322-
Type: String
383+
Type: SwitchParameter
323384
Parameter Sets: (All)
324-
Aliases:
385+
Aliases: cf
325386
Applicable: Microsoft Teams
326387

327388
Required: False
328389
Position: Named
329-
Default value: None
390+
Default value: False
330391
Accept pipeline input: False
331392
Accept wildcard characters: False
332393
```
@@ -352,13 +413,14 @@ Accept pipeline input: False
352413
Accept wildcard characters: False
353414
```
354415
355-
### -EnableWebPstnMediaBypass
356-
Determines if MediaBypass is enabled for PSTN calls on specified Web platforms.
416+
### -Description
417+
Enables administrators to provide explanatory text about the calling policy. For example, the Description might indicate the users to whom the policy should be assigned.
357418
358419
```yaml
359-
Type: Boolean
420+
Type: String
360421
Parameter Sets: (All)
361422
Aliases:
423+
Applicable: Microsoft Teams
362424

363425
Required: False
364426
Position: Named
@@ -367,25 +429,62 @@ Accept pipeline input: False
367429
Accept wildcard characters: False
368430
```
369431
370-
### -Identity
371-
Name of the policy instance being created.
432+
### -EnableSpendLimits
433+
This setting allows an admin to enable or disable spend limits on PSTN calls for their user base.
434+
435+
Possible values:
436+
437+
- True
438+
- False
372439
373440
```yaml
374-
Type: String
441+
Type: Boolean
442+
Parameter Sets: (All)
443+
Aliases:
444+
Applicable: Microsoft Teams
445+
Required: False
446+
Position: Named
447+
Default value: False
448+
Accept pipeline input: False
449+
Accept wildcard characters: False
450+
```
451+
452+
### -EnableWebPstnMediaBypass
453+
Determines if MediaBypass is enabled for PSTN calls on specified Web platforms.
454+
455+
```yaml
456+
Type: Boolean
375457
Parameter Sets: (All)
376458
Aliases:
377459

378460
Required: False
379-
Position: 1
461+
Position: Named
380462
Default value: None
381463
Accept pipeline input: False
382464
Accept wildcard characters: False
383465
```
384466
467+
### -Force
468+
Suppresses any confirmation prompts that would otherwise be displayed before making changes.
469+
470+
```yaml
471+
Type: SwitchParameter
472+
Parameter Sets: (All)
473+
Aliases: wi
474+
Applicable: Microsoft Teams
475+
476+
Required: False
477+
Position: Named
478+
Default value: False
479+
Accept pipeline input: False
480+
Accept wildcard characters: False
481+
```
482+
385483
### -InboundFederatedCallRoutingTreatment
386484
Setting this parameter lets you control how inbound federated calls should be routed.
387485
388486
Valid options are:
487+
389488
- RegularIncoming: No changes are made to default inbound routing. This is the default setting.
390489
- Unanswered: The inbound federated call will be routed according to the called user's unanswered call settings and the call will not be presented to the called user. The called user will see a missed call notification. If the called user has not enabled unanswered call settings the call will be disconnected.
391490
@@ -410,9 +509,9 @@ Accept wildcard characters: False
410509
Setting this parameter lets you control how inbound PSTN calls should be routed.
411510
412511
Valid options are:
512+
413513
- RegularIncoming: No changes are made to default inbound routing. This is the default setting.
414514
- Unanswered: The inbound PSTN call will be routed according to the called user's unanswered call settings and the call will not be presented to the called user. The called user will see a missed call notification. If the called user has not enabled unanswered call settings the call will be disconnected.
415-
416515
- Voicemail: The inbound PSTN call will be routed directly to the called user's voicemail and the call will not be presented to the user. If the called user does not have voicemail enabled the call will be disconnected.
417516
- UserOverride: For now, setting the value to UserOverride is the same as RegularIncoming.
418517
@@ -435,8 +534,8 @@ Accept wildcard characters: False
435534
Determines whether real-time captions are available for the user in Teams calls.
436535
437536
Valid options are:
438-
- DisabledUserOverride: Allows the user to turn on live captions.
439537
538+
- DisabledUserOverride: Allows the user to turn on live captions.
440539
- Disabled: Prohibits the user from turning on live captions.
441540
442541
```yaml
@@ -456,6 +555,7 @@ Accept wildcard characters: False
456555
Setting this parameter allows you to turn on or turn off the music on hold when a caller is placed on hold.
457556
458557
Valid options are:
558+
459559
- Enabled: Music on hold is enabled. This is the default.
460560
- Disabled: Music on hold is disabled.
461561
- UserOverride: For now, setting the value to UserOverride is the same as Enabled.
@@ -525,6 +625,7 @@ Accept wildcard characters: False
525625
Determines Spam filtering mode.
526626

527627
Possible values:
628+
528629
- Enabled: Spam Filtering is fully enabled. Both Basic and Captcha Interactive Voice Response (IVR) checks are performed. In case the call is considered spam, the user will get a "Spam Likely" notification in Teams.
529630
- Disabled: Spam Filtering is completely disabled. No checks are performed. A "Spam Likely" notification will not appear.
530631
- EnabledWithoutIVR: Spam Filtering is partially enabled. Captcha IVR checks are disabled. A "Spam Likely" notification will appear. A call might get dropped if it gets a high score from Basic checks.
@@ -550,6 +651,7 @@ Accept wildcard characters: False
550651
Enables the user to use the voice simulation feature while being AI interpreted.
551652

552653
Possible Values:
654+
553655
- DisabledUserOverride
554656
- Disabled
555657
- Enabled
@@ -568,22 +670,6 @@ Accept pipeline input: False
568670
Accept wildcard characters: False
569671
```
570672

571-
### -Force
572-
Suppresses any confirmation prompts that would otherwise be displayed before making changes.
573-
574-
```yaml
575-
Type: SwitchParameter
576-
Parameter Sets: (All)
577-
Aliases: wi
578-
Applicable: Microsoft Teams
579-
580-
Required: False
581-
Position: Named
582-
Default value: False
583-
Accept pipeline input: False
584-
Accept wildcard characters: False
585-
```
586-
587673
### -WhatIf
588674
Shows what would happen if the cmdlet runs.
589675
The cmdlet is not run.
@@ -601,22 +687,6 @@ Accept pipeline input: False
601687
Accept wildcard characters: False
602688
```
603689

604-
### -Confirm
605-
Prompts you for confirmation before running the cmdlet.
606-
607-
```yaml
608-
Type: SwitchParameter
609-
Parameter Sets: (All)
610-
Aliases: cf
611-
Applicable: Microsoft Teams
612-
613-
Required: False
614-
Position: Named
615-
Default value: False
616-
Accept pipeline input: False
617-
Accept wildcard characters: False
618-
```
619-
620690
### CommonParameters
621691
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).
622692

0 commit comments

Comments
 (0)