Skip to content
Facebook
  • My Portal
  • My PBX
  • My Hosting
  • Help Me
  • Business
    • 1300/1800 Number Plans
    • Business Internet
    • Business PABX Sign Up
    • Business Phone Plans
    • Equipment & Hardware
    • Hosting Pans
    • Microsoft Teams & VoIP
    • Mobile
    • SIP Trunking
  • Corporate
  • Need Help?
    • Guides & Support
    • Log a Ticket
    • Uptime & Outages
  • Contact Us
  • 1300 827 154
Menu
  • Business
    • 1300/1800 Number Plans
    • Business Internet
    • Business PABX Sign Up
    • Business Phone Plans
    • Equipment & Hardware
    • Hosting Pans
    • Microsoft Teams & VoIP
    • Mobile
    • SIP Trunking
  • Corporate
  • Need Help?
    • Guides & Support
    • Log a Ticket
    • Uptime & Outages
  • Contact Us
  • 1300 827 154
  • Residential
    • Mobile
  • Business
    • 1300/1800 Number Plans
    • Business Internet
    • Business PABX Sign Up
    • Business Phone Plans
    • Equipment & Hardware
    • Hosting Pans
    • Microsoft Teams & VoIP
    • Mobile
    • SIP Trunking
  • Corporate
  • Need Help?
    • Guides & Support
    • Log a Ticket
    • Uptime & Outages
  • Contact Us
  • 1300 827 154
Menu
  • Residential
    • Mobile
  • Business
    • 1300/1800 Number Plans
    • Business Internet
    • Business PABX Sign Up
    • Business Phone Plans
    • Equipment & Hardware
    • Hosting Pans
    • Microsoft Teams & VoIP
    • Mobile
    • SIP Trunking
  • Corporate
  • Need Help?
    • Guides & Support
    • Log a Ticket
    • Uptime & Outages
  • Contact Us
  • 1300 827 154

eFax

  • How To Use a Fax Machine
  • eFax Online
  • eFax Messenger
  • eFax By Email
  • Scan to Email – Brother
  • How to Prepare & Upload Voice Prompts to PBX Announcements

Handsets

  • Cisco
    • Manual Configuration of Cisco SPA IP Handsets
  • Yealink
    • Yealink DECT Handsets
    • Yealink Teams Phone Comparison
    • Paging Configuration on Yealink Devices
    • Transferring Calls on Yealink Handsets
    • Yealink SIP IP Phone Comparison
    • PBX Yealink T5 Dect Mode
    • Transfer calls using a Yealink DECT phone (W53H, W56H)
    • How to Change the Logo/Wallpaper on Yealink Handsets
    • Hold and Resume
  • Zoiper
    • Zoiper Softphone Configuration
    • Softphone Error Troubleshooting

Hosted PABX

  • Building Your Phone System
    • Device Twinning
    • How To Use Tabs In Your PBX
    • How to Configure Real Time Call Monitoring
    • How to Import/Export Call flow
    • How to Configure SMS to email
    • How to Restrict Dialing Destinations
    • How to Block or Hide Caller ID
    • How to Prepare & Upload Voice Prompts to PBX Announcements
    • How to set up User(s) with External Number(s)
    • How to Configure Global Blocklists
    • Default Settings Configurations
    • How to Configure Phonebooks
    • How to Configure Inbound Fax-to-Email
    • How to Configure Dial Tone Access (DISA)
    • How to Configure SIP Trunks
    • How to Configure PIN codes
    • How to Configure Blocklist
    • How to Configure Conferencing
    • How to Configure Call Parking
    • How to Configure Queue Wallboards
    • How to Configure Queue Callbacks
    • How to Configure Queue Priority
    • How to Configure Call Queues
    • How to Configure Ring Groups
    • How to Enable Call Recordings
    • How to use Set Caller ID
    • How to Configure CallerID Prefix
    • How to Configure Call Diversions
    • How to Configure DTMF prefix
    • How to Configure Your Automated Voice Menu (IVR)
    • How to Configure Your Automated Voice Menu (IVR)
    • How to Configure Custom Announcements & Prompts
    • How to Configure Geo Routing
    • How to Configure Call Flow Controls
    • How to Configure Time Conditions
    • How to Configure Inbound Email Alerts
    • How to Configure Voicemail
    • How to Configure a User License & Device License
    • How to Configure Web Callback
    • How to Configure Internal Numbers
    • How to Configure Inbound Numbers
  • Webphone
    • Webphone Overview
    • Webphone End User Set Up
    • Webphone Configuration
    • Webphone Troubleshooting

Internet

  • Home Internet troubleshooting
  • Connect Your BYO Modem

Microsoft Teams

  • How to Troubleshoot Microsoft Teams
  • Microsoft 365 Teams
  • Microsoft Teams Audio Conference Integration
  • Skype Communication via Microsoft Teams

On Premise PBX

  • Panasonic
    • How do I configure a Panasonic KX-NS SIP trunk?

SIP Trunks

  • Configuring a SIP trunk to 3CX
  • Home
  • Docs
  • Microsoft Teams
  • How to Troubleshoot Microsoft Teams

How to Troubleshoot Microsoft Teams

Table of contents

  • In this article
  • Introduction
  • Common Powershell Errors
  • Useful Powershell Commands

In this article #

  •  Introduction
  •  Common Powershell Errors
  •  Useful Powershell Commands

Introduction #

At the end of this article, you will be able to troubleshoot some of the common errors when integrating Microsoft Teams. Utilising Microsoft Teams as your main business communication tool, whilst adding the additional functionality of the unified communications of Microsoft Teams, video conferencing, video calling, collaboration and more. Should you need any assistance, feel free to contact our support department.

Common Powershell Errors #

In this section, some Powershell errors have been described in no particular order. If you are experiencing issues when configuring Microsoft Teams, locate the error output and check its resolution. In case the issue persists, feel free to contact our support department.

Error: domain not configured in Microsoft 365

Can not use the "sbc01.domain.com" domain as it was not configured for this tenant
mceclip0.png

Resolution: It means that the domain has not been configured in your Microsoft 365 Admin centre. To configure it, you will need to create a new user under the sbcXXX.YY.voip domain. It can be a random user since it is only required to activate the domain, and please ensure the user has the required license attached to it.

Error: PowerShell not importing and connecting MicrosoftTeams module

The term'Connect-MicrosotTeams' is not recognized as the name of cmdlet, function, script file, or operable program.
mceclip1.png

Resolution: As a resolution, you should first run the following command:

Set-ExecutionPolicy -ExecutionPolicy unrestricted

Then, close and re-open Powershell as administrator user and try running “Connect-MicrosoftTeams” again.

Error: licensing error

Cannot modify the parameter: "EnterpriseVoiceEnabled" because it is restricted for the user service plan: MCOProfessional.

+ CategoryInfo : PermissionDenied: (Set-CsUser:String) [Set-CsUser], UnauthorizedAccessException

+ FullyQualifiedErrorId : UnAuthorized,Microsoft.Rtc.Management.AD.Cmdlets.SetOcsUserCmdlet

+ PSComputerName : api.interfaces.records.teams.microsoft.com

Resolution: Firstly, check the licenses attached to the user. If they are not correct, please assign the correct licenses to the user. Otherwise, if the licenses are correct, we would recommend removing the licenses for an interval between 20-30 minutes. Next, add it back to the user and check if the issue has been fixed.

Useful Powershell Commands #

  • Get-cstenantdialplan: it is useful to find out the current dial plan attached to the user.
  • Get-csonlineuser -identity emailaddress@test.com | fl UserPrincipalName: it checked if Microsoft can locate the user on their system.
  • Get-csonlineuser -identity emailaddress@test.com | fl enterprisevoiceenabled: it checked if Microsoft can locate the user’s voice license on their system.
  • Get-module: it should show the list of installed modules, including the MicrosoftTeams module.
  • Get-csonlinepstngateway: it shows the PSTN gateways that have been configured and their settings.
  • Get-csonlinepstnusage: it shows the global PSTN usage and the usages assigned to it.
  • Get-csonlinevoiceroute: it shows the voice routes that have been configured and their PSTN gateways settings.
  • Get-csonlinevoiceroutingpolicy: it shows the voice routing policies configured for a particular account.
What are your Feelings
Share This Article :
  • Facebook
  • Twitter
  • LinkedIn
  • Pinterest
Still stuck? How can we help?

How can we help?

Updated on 20 June 2023
Table of Contents
  • In this article
  • Introduction
  • Common Powershell Errors
  • Useful Powershell Commands
About Us
  • Contact Us
  • Privacy Policy
  • Service Agreements
Support
  • Guides & Support
  • Uptime & Outages
Portal
  • My PBX
  • My Hosting
  • Help Me

  BGP Telecom is a Telecommunications Industry Ombudsman (TIO) compliant business.

Copyright © 2023 BGP Group Pty. Ltd. | ABN: 25641461574