Swap a new user for the existing DDI number
-
OSS/BSS Answers
Access Control Admin Audit B3Network Master Account Channel App Contract App Customer App Discount App Edge Server File Management Finance App Invoice App Number Management Payment Portal Settings Price List Product App Release V2 SMS Gateway Supplier App Support Center Support Hub Business Hub Sales Hub
- App Model - Organization Management
- App Model - Communication Apps Answers
- License Model - Organization Management
-
License Model - CPaaS Solution Answers
Phone System - Admin Guide Phone System - End-user Guide Mobile App Desktop App Web Phone Auto Attendant - Admin Guide Developer Hub - Admin Guide Microsoft Teams Operator Connect - Admin Guide Microsoft Teams Direct Routing - Admin Guide Contact Center - Supervisor Guide Contact Center - Agent Guide Omni-Channel SIP Trunk CPaaS - SIP Trunk Power SIP Trunk CPaaS Fax Contact Dashboard Campaign File Explorer
- Telcoflow
- Integrations Answers
- Updated Regulations
- Ideas Portal
Table of Contents
There are cases when your agents are left and replaced by newcomers. In that cases, you can assign the existing DDI Number to the new user without purchasing extra.
In order to do so, please follow the steps below:
1. Add new user(s) and Assign licenses on the Microsoft 365 Admin Center
Visit this link for detailed instruction.
2. Create new user(s) to replace the existing user on the CPaaS Portal
a. Create new User(s):
- Go to Manage Organization
- Choose Members tab
- Click Create
- The member will receive the email with the title 'Your account has been created!' with a link to set the password.
Note:
For more detailed instruction, please visit this link.
b. Swap CPaaS user(s):
- Go to Manage Organization > choose the Licenses tab
- Select Phone System
- Find the account that you want to change the user > click on Assigned User > Manage
- Choose the new user > Reassign
Note:
When reassigning user, all of the previous application settings will remain the same.
3. Link the new MS Team account with the current DDI number
Once you finish the above steps, you can link the MS Teams account with the reassigned number.
- Go to Application Settings > View System settings > Microsoft Teams
- Select the DDI number that you want to link with the new user
- Key in the new MS Teams account that is created on step 1
4. Generate PowerShell Script
To generate the Powershell Script:
- On the Microsoft Teams tab, click on the 3 dots icon
- Choose View Script
- Select Copy Script
**Check the next step to know which lines are needed to copy.
5. Run Powershell
Note:
Users must be familiar with Microsoft Powershell script commands to execute the changes without affecting other commands. If unsure please approach a Microsoft certified expert.
Step 1: Open the PowerShell:
Step 2: Paste the generated Power Shell script for swapping new User(s):
You should run the following command:
-
Start Power Shell as Administrator (or with Administrator Privileges):
Install-Module -Name MicrosoftTeams -RequiredVersion 2.3.1
Import-Module MicrosoftTeams -RequiredVersion 2.3.1
$credential = Get-Credential
Connect-MicrosoftTeams -Credential $credential -
Unassign number(s) from the leaving User:
Set-CsUser -Identity <Leaving UserID>@<DomainID> -EnterpriseVoiceEnabled $false
Set-CsUser -Identity <Leaving UserID>@<DomainID> -OnPremLineURI $null -
Swap a new user for the existing DDI number:
Set-CsUser -identity "<New UserID>@<DomainID>" -EnterpriseVoiceEnabled $true -HostedVoicemail $true -OnPremlineURI tel:+<Existing DDI Number>
Grant-CsTeamsCallingPolicy -PolicyName AllowCalling -Identity "<New UserID>@<DomainID>"
Grant-CsOnlineVoiceRoutingPolicy -Identity <New UserID>@<DomainID> -PolicyName B3