Team Direct Routing - no dial pad

Brass Contributor

Hello.

 

I enabled user with Direct Routing on Teams.

But that user doesn't have dial pad.

 

What I noticed?

User was migrated from SfB OnPrem to Teams with Teams Only mode - Hybrid mode also.

 

Get-CsonlineUser username | select "*voice*", "*teams*" I got:

EnterpriseVoiceEnabled as False.

 

How to enable that now?

 

 

 

12 Replies

First you have to assign a Cloud PBX license or a E5 license.

 

Second you have to set a phone number and activate user for Enterprise Voice:

Set-CsUser -Identity <user> -OnPremLineURI "tel:+1555123456" -EnterpriseVoiceEnabled $true -HostedVoiceMail $true

 

Assign a Calling Policy 

Grant-CsTeamsCallingPolicy -PolicyName "Tag:AllowCalling" -Identity <user>

 

Assign a Routing Policy

Grant-CsOnlineVoiceRoutingPolicy -Identity <user> -PolicyName "DefaultRoutingPolicy"

User has Microsoft 365 E3 and Microsoft 365 Phone System licenses.

 

User has assigned dial plan and routing policy.

 

But cannot run command similar to that one Set-CsUser -Identity <user> -OnPremLineURI "tel:+1555123456" -EnterpriseVoiceEnabled $true -HostedVoiceMail $true

 

 

Are you connected to Skype for Business Online powershell?

If you type just Set-CsUser -OnPrem and press tab, will it expand to -OnPremLineURI ?

@Linus Cansby Yes I am connected to SfB Online with PowerShell.

 

Adnotacja 2020-01-16 113113.png

 

Nothing happen when I try to type Set-CsUser -OnPrem and press tab

 

 

Make sure you have the latest module installed:

https://docs.microsoft.com/en-us/skypeforbusiness/set-up-your-computer-for-windows-powershell/downlo...

 

Try from another computer if that works better. You can also try this script to connect to Office365 services with powershell

https://www.powershellgallery.com/packages/Office365.Connect

@Linus Cansby 

 

I have the latest version of SfBonline module

Adnotacja 2020-01-20 085020.jpg

@Linus Cansby 

 

And user under get-csuser has now HostedVoiceMail and EnterpriseVoiceEnabled as True

Adnotacja 2020-01-20 090718.jpg

 

But under get-csonlineuser user has them as False:

Adnotacja 2020-01-20 093214.jpg

Get-CsUser is not available for Skype For Business Online, So I guess when you were running Set-CSUser your were running that on your Skype for Business Server, not Online. So try run from another computer not connected to Skype for Business Server.

@Linus Cansby 

 

i used server that has no access to SfB OnPrem.

 

I connected to SfB Online.

And results are the same:

Adnotacja 2020-01-20 141304.jpg

@Linus Cansby 

 

I fixed that issue.

 

I could run Set-CsUser command but I needed SfB license on my account.

@msabat Great that you solved it, Skype license is still needed even if users are in Teams Only mode.

@msabat if should be -LineURI if you are not connected to SFBO module

 

  set-CsUser -Identity "User name"  -LineURI tel:+145555555   -EnterpriseVoiceEnabled $true -HostedVoiceMail $true 

 

to use -OnPremLineURI command Connect to SFBO module using the commands below and make sure you are running PowerShell 3 or later: 

 

Import-Module SkypeOnlineConnector

$CSSession = New-CsOnlineSession -OverrideAdminDomain YOURDOMAINNAME.onmicrosoft.com

Import-PSSession $CSSession -AllowClobber

 

You need Phone system add-on to E3 or Only E5

I hope this helps