Adding New Users to Teams

This article will provide a walkthrough on how to add new users to your pre-existing Teams integration with the bvoip phone system.

Integration Notice

If you have not completed the full Teams integration, please refer to the Teams Integrations Setup article, which will guide you through adding users in the integration process. 

Important User Configuration Notice

Ensure the office phone field is configured with the '+1<ext_number>'. If the user has directory-sync, that configuration cannot be made with the script; the user has to do that in his directory-sync server. THIS STEP CANNOT BE IGNORED!

Adding New Users to Teams

  1. Go to the Integrations section.
  2. Select the Microsoft 365 subsection. TeamsIn3
  3. Under each of the following tabs, check the box besides the desired users and click Save: 
    1. User Sync - This tab will automatically create a new extension for each new Microsoft 365 user and sync the phone system extension with updated information from Microsoft 365 users. Extensions are not affected when Microsoft 365 users are deleted.
    2. Contact Sync - This tab will sync Microsoft 365 user's private contacts with personal phonebooks. All Microsoft 365 contacts are imported and kept up to date over a nightly sync.
    3. Calendar Sync - This tab will update the extension's status based on the user's "Show As" status in the user's Outlook calendar.
    4. SSO Sync - This tab will enable users to login into the Web Client and Management Console with a single login from Microsoft. 
    5. Teams Voicemail - This tab will allow users to use their voicemail in Microsoft Teams. If this option is selected, the forwarding rule for the extension will need to be extended to 30 seconds. 
  4. Click on the Save Changes button. 
  5. Go to the Direct Routing Tab.
  6. Click on the Set-Users-Office-Phone.ps1 and Activate-New-Users.ps1 scripts to re-download them. The scripts will need to be re-downloaded everytime a user is added. 
  7. Open PowerShell ISE as Administrator. TeamsIn14
  8. Click on the File icon to open the downloaded scripts in PowerShell. Open them in PowerShell as listed below: 
      1. Download Set-Users-Office-Phone.ps1
      2. Download Activate-New-Users.ps1
  9. Enter the following command :
    Set-ExecutionPolicy Unrestricted
  10. Press the Enter key. A pop-up will appear for Execution Policy Change. 
  11. Click the Yes to All button.
  12. Click the green play button to execute the scripts. They must be executed in the following order within PowerShell ISE:
      1. Download Set-Users-Office-Phone.ps1
      2. Download Activate-New-Users.ps1
  13. Restart the SIP Service. If you need assistance with this step, please refer to our Restarting Phone System Services article