-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Update Teams Calling Policy - Add spend limits parameters #12391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
4e51de1
cc85be0
27b9033
4ae3d7d
b9ae866
302f4d3
c5d1ceb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,15 +20,40 @@ Use this cmdlet to create a new instance of a Teams Calling Policy. | |
|
||
### Identity (Default) | ||
``` | ||
New-CsTeamsCallingPolicy [-Identity] <string> [-Description <string>] [-AllowPrivateCalling <boolean>] [-AllowWebPSTNCalling <boolean>] | ||
[-AllowSIPDevicesCalling <boolean>] [-AllowVoicemail <string>] [-AllowCallGroups <boolean>] [-AllowDelegation <boolean>] | ||
[-AllowCallForwardingToUser <boolean>] [-AllowCallForwardingToPhone <boolean>] [-PreventTollBypass <boolean>] | ||
[-BusyOnBusyEnabledType <string>] [-MusicOnHoldEnabledType <string>] [-AllowCloudRecordingForCalls <boolean>] | ||
[-AllowTranscriptionForCalling <boolean>] [-PopoutForIncomingPstnCalls <string>] [-PopoutAppPathForIncomingPstnCalls <string>] | ||
[-LiveCaptionsEnabledTypeForCalling <string>] [-AutoAnswerEnabledType <string>] [-SpamFilteringEnabledType <string>] | ||
[-CallRecordingExpirationDays <long>] [-AllowCallRedirect <string>] [-Copilot <string>] [-EnableWebPstnMediaBypass <Boolean>] | ||
[-InboundPstnCallRoutingTreatment <string>] [-InboundFederatedCallRoutingTreatment <string>] [-AIInterpreter <string>] | ||
[-VoiceSimulationInInterpretation <string>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>] | ||
New-CsTeamsCallingPolicy [-Identity] <string> | ||
[-Description <string>] | ||
[-AllowPrivateCalling <boolean>] | ||
[-AllowWebPSTNCalling <boolean>] | ||
[-AllowSIPDevicesCalling <boolean>] | ||
[-AllowVoicemail <string>] | ||
[-AllowCallGroups <boolean>] | ||
[-AllowDelegation <boolean>] | ||
[-AllowCallForwardingToUser <boolean>] | ||
[-AllowCallForwardingToPhone <boolean>] | ||
[-PreventTollBypass <boolean>] | ||
[-BusyOnBusyEnabledType <string>] | ||
[-MusicOnHoldEnabledType <string>] | ||
[-AllowCloudRecordingForCalls <boolean>] | ||
[-AllowTranscriptionForCalling <boolean>] | ||
[-PopoutForIncomingPstnCalls <string>] | ||
[-PopoutAppPathForIncomingPstnCalls <string>] | ||
[-LiveCaptionsEnabledTypeForCalling <string>] | ||
[-AutoAnswerEnabledType <string>] | ||
[-SpamFilteringEnabledType <string>] | ||
[-CallRecordingExpirationDays <long>] | ||
[-AllowCallRedirect <string>] | ||
[-Copilot <string>] | ||
[-EnableWebPstnMediaBypass <Boolean>] | ||
[-InboundPstnCallRoutingTreatment <string>] | ||
[-InboundFederatedCallRoutingTreatment <string>] | ||
[-AIInterpreter <string>] | ||
[-VoiceSimulationInInterpretation <string>] | ||
[-EnableSpendLimits <boolean>] | ||
[-CallingSpendUserLimit <long>] | ||
[-Force] | ||
[-WhatIf] | ||
[-Confirm] | ||
[<CommonParameters>] | ||
``` | ||
|
||
## DESCRIPTION | ||
|
@@ -568,6 +593,42 @@ Accept pipeline input: False | |
Accept wildcard characters: False | ||
``` | ||
|
||
### -EnableSpendLimits | ||
This setting allows an admin to enable or disable spend limits on PSTN calls for their user base. | ||
|
||
Possible values: | ||
- True | ||
- False | ||
|
||
```yaml | ||
Type: Boolean | ||
Parameter Sets: (All) | ||
Aliases: | ||
Applicable: Microsoft Teams | ||
Required: False | ||
Position: Named | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
|
||
### -CallingSpendUserLimit | ||
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. | ||
|
||
Possible values: any positive integer | ||
|
||
```yaml | ||
Type: Long | ||
Parameter Sets: (All) | ||
Aliases: | ||
Applicable: Microsoft Teams | ||
Required: False | ||
Position: Named | ||
Default value: None | ||
|
||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
|
||
### -Force | ||
Suppresses any confirmation prompts that would otherwise be displayed before making changes. | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,6 +47,8 @@ Set-CsTeamsCallingPolicy [-Identity] <string> | |
[-PreventTollBypass <boolean>] | ||
[-SpamFilteringEnabledType <string>] | ||
[-VoiceSimulationInInterpretation <string>] | ||
[-EnableSpendLimits <boolean>] | ||
[-CallingSpendUserLimit <long>] | ||
[-WhatIf] | ||
[<CommonParameters>] | ||
``` | ||
|
@@ -557,6 +559,44 @@ Accept pipeline input: False | |
Accept wildcard characters: False | ||
``` | ||
|
||
### -EnableSpendLimits | ||
This setting allows an admin to enable or disable spend limits on PSTN calls for their user base. | ||
|
||
Possible values: | ||
- True | ||
- False | ||
|
||
```yaml | ||
Type: Boolean | ||
Parameter Sets: (All) | ||
Aliases: | ||
Applicable: Microsoft Teams | ||
|
||
Required: False | ||
Position: Named | ||
Default value: None | ||
|
||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
|
||
### -CallingSpendUserLimit | ||
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. | ||
|
||
Possible values: any positive integer | ||
|
||
```yaml | ||
Type: Long | ||
Parameter Sets: (All) | ||
Aliases: | ||
Applicable: Microsoft Teams | ||
|
||
Required: False | ||
Position: Named | ||
Default value: None | ||
|
||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
|
||
### -Force | ||
Suppresses any confirmation prompts that would otherwise be displayed before making changes. | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add information on the default value for the parameter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated. Added 'False' as the default value.