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
- 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.
- Go to Manage Organization
- Choose Licenses tab
- Select Phone System
- Find the account that you want to change the user
- Click on Assigned User – Manage
- Choose the new user to Reassign
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.
- Click on the Rubik icon
- Choose the Microsoft Teams tab
- 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
**Check the below 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.
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
- Swap new User(s):
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