To effectively utilize your telephone system resources from Internetport in Microsoft Teams, it's important to be able to assign phone numbers to users. This guide walks you through the process using both PowerShell and the Teams Admin Center, including configuration of voice routing policy, call policies, and enabling voicemail.

Import Numbers via PowerShell Set-CsPhoneNumberAssignment

  1. Step 1: Install Skype Management Tools

    To use the telephone system cmdlets in PowerShell, you need to install Skype Management Tools.

  2. Step 2: Connect to Microsoft Teams PowerShell

    Use the command Connect-MicrosoftTeams to connect to your organization.

  3. Step 3: Assign phone number

    Use the cmdlet Set-CsPhoneNumberAssignment -Identity "user@domain.com" -PhoneNumber +46123456789 -PhoneNumberType DirectRouting to assign a specific number.

Assign Numbers in Teams Admin Center

  1. Step 1: Log in to Teams Admin Center

    Go to Teams Admin Center.

  2. Step 2: Go to Users

    Select "Users" in the left menu.

  3. Step 3: Select a user

    Click on the specific user you want to assign a number to.

  4. Step 4: Assign phone number

    In the "Phone" tab, click "Assign" and select the desired number from the list.

Configure voice routing policy per user

  1. Step 1: Create a new voice routing policy

    Go to "Voice" and select "Voice routing policies," then click "New."

  2. Step 2: Configure rules

    Add outbound call rules according to your needs.

  3. Step 3: Assign policy to user

    Go to "Users," select the specific user, and click "Edit" under "Voice routing policy."

Set up call policies and forwarding

  1. Step 1: Go to Call Queues

    In Teams Admin Center, under "Voice," select "Call queues."

  2. Step 2: Create a new call queue

    Click "New" and configure the settings for your call queue.

  3. Step 3: Configure forwarding

    In user settings under "Phone," click "Edit" and configure forwarding.

Enable voicemail in Teams

  1. Step 1: Go to Voicemail policies

    In Teams Admin Center, under "Voice," select "Voicemail policies."

  2. Step 2: Create a new voicemail policy

    Click "New" and configure the settings for your voicemail policy.

  3. Step 3: Assign policy to user

    Go to "Users," select the specific user, and click "Edit" under "Voicemail policy."

Test calls per user

  1. Step 1: Log in to Microsoft Teams

    Use the specific user account you want to test.

  2. Step 2: Test outbound calls

    Try calling an external number to verify outbound calls.

  3. Step 3: Test inbound calls

    Have another person call the assigned number to verify inbound calls.

Common issues

  • User cannot make or receive calls: Check that the phone number is correctly assigned and that voice routing policies are correctly configured.
  • Error message on connection: Ensure that SIP trunk settings in Teams Admin Center match those specified by Internetport.

If you encounter problems not resolved through this guide, contact support at Internetport support.