CmdID / PowerShell / Cmdlets / Set
Set-CsPhoneNumberTenantConfiguration
This cmdlet allows the admins to set a tenant default configuration that applies to all telephone numbers within the tenant. Microsoft Teams PowerShell reference
From the Microsoft Teams PowerShell reference 5 parameters Its page in the reference
Parameters
-AssignmentEmailEnabledEnables email notifications for all telephone number assignment operations.-UnassignmentEmailEnabledEnables email notifications for all telephone number unassignment operations.-AssignmentBlockedForeverSets an indefinite block on assignment for all the telephone numbers upon unassignment.-AssignmentBlockedDaysSets a duration based assignment block on all the telephone numbers upon unassignment.-AllowOnPremToOnlineMigrationAllows Direct Routing numbers to be migrated from OnPremises to Online automatically.