|
| 1 | +--- |
| 2 | +applicable: Microsoft Teams |
| 3 | +author: pavellatif |
| 4 | +external help file: Microsoft.Teams.ConfigAPI.Cmdlets-help.xml |
| 5 | +Locale: en-US |
| 6 | +manager: roykuntz |
| 7 | +Module Name: MicrosoftTeams |
| 8 | +ms.author: pavellatif |
| 9 | +ms.reviewer: pavellatif |
| 10 | +online version: https://learn.microsoft.com/powershell/module/microsoftteams/remove-csphonenumbertenantconfiguration |
| 11 | +schema: 2.0.0 |
| 12 | +title: Remove-CsPhoneNumberTenantConfiguration |
| 13 | +--- |
| 14 | + |
| 15 | +# Remove-CsPhoneNumberTenantConfiguration |
| 16 | + |
| 17 | +## SYNOPSIS |
| 18 | +This cmdlet allows the admins to remove a tenant default configuration that applies to all telephone numbers within the tenant. |
| 19 | + |
| 20 | +## SYNTAX |
| 21 | + |
| 22 | +``` |
| 23 | +Remove-CsPhoneNumberTenantConfiguration [-AssignmentEmailEnabled] [-UnassignmentEmailEnabled] [-AssignmentBlockedForever] [-AssignmentBlockedDays] [-AllowOnPremToOnlineMigration] |
| 24 | +[<CommonParameters>] |
| 25 | +``` |
| 26 | + |
| 27 | +## DESCRIPTION |
| 28 | + |
| 29 | +This cmdlet allows the teams phone administrators to remove a tenant default configuration that applies to all the telephone numbers within the tenant. |
| 30 | + |
| 31 | +## EXAMPLES |
| 32 | + |
| 33 | +### Example 1 |
| 34 | +```powershell |
| 35 | +PS C:\> Remove-CsPhoneNumberTenantConfiguration -AssignmentEmailEnabled -UnassignmentEmailEnabled |
| 36 | +``` |
| 37 | + |
| 38 | +The above example shows how to remove email notification configuration setting for all the telephone number assignment and unassignment operations within the tenant. |
| 39 | + |
| 40 | +### Example 2 |
| 41 | +```powershell |
| 42 | +PS C:\> Remove-CsPhoneNumberTenantConfiguration -AssignmentBlockedForever |
| 43 | +``` |
| 44 | + |
| 45 | +The above example shows how to remove the indefinite assignment block configuration for all the telephone numbers within the tenant. |
| 46 | + |
| 47 | + |
| 48 | +## PARAMETERS |
| 49 | + |
| 50 | +### -AssignmentEmailEnabled |
| 51 | +Indicates the assignment email notification configuration will be removed. |
| 52 | + |
| 53 | +```yaml |
| 54 | +Type: System.Management.Automation.SwitchParameter |
| 55 | +Parameter Sets: (All) |
| 56 | +Aliases: |
| 57 | + |
| 58 | +Required: False |
| 59 | +Position: Named |
| 60 | +Default value: None |
| 61 | +Accept pipeline input: False |
| 62 | +Accept wildcard characters: False |
| 63 | +``` |
| 64 | +
|
| 65 | +### -UnassignmentEmailEnabled |
| 66 | +Indicates the unassignment email notification configuration will be removed. |
| 67 | +
|
| 68 | +```yaml |
| 69 | +Type: System.Management.Automation.SwitchParameter |
| 70 | +Parameter Sets: (All) |
| 71 | +Aliases: |
| 72 | + |
| 73 | +Required: False |
| 74 | +Position: Named |
| 75 | +Default value: None |
| 76 | +Accept pipeline input: False |
| 77 | +Accept wildcard characters: False |
| 78 | +``` |
| 79 | +
|
| 80 | +### -AssignmentBlockedForever |
| 81 | +Indicates the assignment blocked forever configuration will be removed. |
| 82 | +
|
| 83 | +```yaml |
| 84 | +Type: System.Management.Automation.SwitchParameter |
| 85 | +Parameter Sets: (All) |
| 86 | +Aliases: |
| 87 | + |
| 88 | +Required: False |
| 89 | +Position: Named |
| 90 | +Default value: None |
| 91 | +Accept pipeline input: False |
| 92 | +Accept wildcard characters: False |
| 93 | +``` |
| 94 | +
|
| 95 | +### -AssignmentBlockedDays |
| 96 | +Indicates the assignment blocked days configuration will be removed. |
| 97 | +
|
| 98 | +```yaml |
| 99 | +Type: System.Management.Automation.SwitchParameter |
| 100 | +Parameter Sets: (All) |
| 101 | +Aliases: |
| 102 | + |
| 103 | +Required: False |
| 104 | +Position: Named |
| 105 | +Default value: None |
| 106 | +Accept pipeline input: False |
| 107 | +Accept wildcard characters: False |
| 108 | +``` |
| 109 | +
|
| 110 | +### -AllowOnPremToOnlineMigration |
| 111 | +Indicates the configuration will be removed for allowing OnPremises direct routing numbers to be automatically migrated to online direct routing numbers if an online operation is performed. |
| 112 | +
|
| 113 | +```yaml |
| 114 | +Type: System.Management.Automation.SwitchParameter |
| 115 | +Parameter Sets: (All) |
| 116 | +Aliases: |
| 117 | + |
| 118 | +Required: False |
| 119 | +Position: Named |
| 120 | +Default value: None |
| 121 | +Accept pipeline input: False |
| 122 | +Accept wildcard characters: False |
| 123 | +``` |
| 124 | +
|
| 125 | +### CommonParameters |
| 126 | +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). |
| 127 | +
|
| 128 | +## INPUTS |
| 129 | +
|
| 130 | +### None |
| 131 | +
|
| 132 | +## OUTPUTS |
| 133 | +
|
| 134 | +### None |
| 135 | +
|
| 136 | +## NOTES |
| 137 | +
|
| 138 | +## RELATED LINKS |
| 139 | +
|
| 140 | +- [Set-CsPhoneNumberTenantConfiguration](Set-CsPhoneNumberTenantConfiguration.md) |
| 141 | +- [Get-CsPhoneNumberTenantConfiguration](Get-CsPhoneNumberTenantConfiguration.md) |
0 commit comments