Team Direct Routing - no dial pad

%3CLINGO-SUB%20id%3D%22lingo-sub-1110095%22%20slang%3D%22en-US%22%3ETeam%20Direct%20Routing%20-%20no%20dial%20pad%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1110095%22%20slang%3D%22en-US%22%3E%3CP%3EHello.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20enabled%20user%20with%20Direct%20Routing%20on%20Teams.%3C%2FP%3E%3CP%3EBut%20that%20user%20doesn't%20have%20dial%20pad.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20I%20noticed%3F%3C%2FP%3E%3CP%3EUser%20was%20migrated%20from%20SfB%20OnPrem%20to%20Teams%20with%20Teams%20Only%20mode%20-%20Hybrid%20mode%20also.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGet-CsonlineUser%20username%20%7C%20select%20%22*voice*%22%2C%20%22*teams*%22%20I%20got%3A%3C%2FP%3E%3CP%3EEnterpriseVoiceEnabled%20as%20False.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20to%20enable%20that%20now%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1110095%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESettings%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1110131%22%20slang%3D%22en-US%22%3ERe%3A%20Team%20Direct%20Routing%20-%20no%20dial%20pad%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1110131%22%20slang%3D%22en-US%22%3E%3CP%3EFirst%20you%20have%20to%20assign%20a%20Cloud%20PBX%20license%20or%20a%20E5%20license.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESecond%20you%20have%20to%20set%20a%20phone%20number%20and%20activate%20user%20for%20Enterprise%20Voice%3A%3C%2FP%3E%3CP%3E%3CSPAN%3ESet-CsUser%20-Identity%20%3CEM%3E%3CUSER%3E%3C%2FUSER%3E%3C%2FEM%3E%20-OnPremLineURI%20%22%3C%2FSPAN%3E%3CA%20href%3D%22tel%3A%2B4684425555%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%3Etel%3A%2B1555123456%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%3E%22%20-EnterpriseVoiceEnabled%20%24true%20-HostedVoiceMail%20%24true%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%224%22%3EAssign%20a%20Calling%20Policy%26nbsp%3B%3C%2FFONT%3E%3C%2FP%3E%3CP%3EGrant-CsTeamsCallingPolicy%20-PolicyName%20%22%3CEM%3ETag%3AAllowCalling%3C%2FEM%3E%22%20-Identity%3CEM%3E%20%3CUSER%3E%3C%2FUSER%3E%3C%2FEM%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%224%22%3EAssign%20a%20Routing%20Policy%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EGrant-CsOnlineVoiceRoutingPolicy%20-Identity%20%3CEM%3E%3CUSER%3E%3C%2FUSER%3E%3C%2FEM%3E%20-PolicyName%20%22%3CEM%3EDefaultRoutingPolicy%3C%2FEM%3E%3C%2FSPAN%3E%3CSPAN%3E%22%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1110404%22%20slang%3D%22en-US%22%3ERe%3A%20Team%20Direct%20Routing%20-%20no%20dial%20pad%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1110404%22%20slang%3D%22en-US%22%3E%3CP%3EUser%20has%20Microsoft%20365%20E3%20and%20Microsoft%20365%20Phone%20System%20licenses.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUser%20has%20assigned%20dial%20plan%20and%20routing%20policy.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20cannot%20run%20command%20similar%20to%20that%20one%26nbsp%3B%3CSPAN%3ESet-CsUser%20-Identity%26nbsp%3B%3CEM%3E%3CUSER%3E%3C%2FUSER%3E%3C%2FEM%3E%26nbsp%3B-OnPremLineURI%20%22%3C%2FSPAN%3E%3CA%20href%3D%22tel%3A%2B4684425555%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%3Etel%3A%2B1555123456%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%3E%22%20-EnterpriseVoiceEnabled%20%24true%20-HostedVoiceMail%20%24true%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1110893%22%20slang%3D%22en-US%22%3ERe%3A%20Team%20Direct%20Routing%20-%20no%20dial%20pad%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1110893%22%20slang%3D%22en-US%22%3EAre%20you%20connected%20to%20Skype%20for%20Business%20Online%20powershell%3F%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20you%20type%20just%20Set-CsUser%20-OnPrem%20and%20press%20tab%2C%20will%20it%20expand%20to%20-OnPremLineURI%20%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1112304%22%20slang%3D%22en-US%22%3ERe%3A%20Team%20Direct%20Routing%20-%20no%20dial%20pad%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1112304%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F9476%22%20target%3D%22_blank%22%3E%40Linus%20Cansby%3C%2FA%3E%26nbsp%3BYes%20I%20am%20connected%20to%20SfB%20Online%20with%20PowerShell.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20925px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F165623iA0A706A7416269AA%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Adnotacja%202020-01-16%20113113.png%22%20title%3D%22Adnotacja%202020-01-16%20113113.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENothing%20happen%20when%20I%20try%20to%26nbsp%3B%3CSPAN%3Etype%20Set-CsUser%20-OnPrem%20and%20press%20tab%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1112960%22%20slang%3D%22en-US%22%3ERe%3A%20Team%20Direct%20Routing%20-%20no%20dial%20pad%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1112960%22%20slang%3D%22en-US%22%3E%3CP%3EMake%20sure%20you%20have%20the%20latest%20module%20installed%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fskypeforbusiness%2Fset-up-your-computer-for-windows-powershell%2Fdownload-and-install-the-skype-for-business-online-connector%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fskypeforbusiness%2Fset-up-your-computer-for-windows-powershell%2Fdownload-and-install-the-skype-for-business-online-connector%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETry%20from%20another%20computer%20if%20that%20works%20better.%20You%20can%20also%20try%20this%20script%20to%20connect%20to%20Office365%20services%20with%20powershell%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.powershellgallery.com%2Fpackages%2FOffice365.Connect%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.powershellgallery.com%2Fpackages%2FOffice365.Connect%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1117571%22%20slang%3D%22en-US%22%3ERe%3A%20Team%20Direct%20Routing%20-%20no%20dial%20pad%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1117571%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F9476%22%20target%3D%22_blank%22%3E%40Linus%20Cansby%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20the%20latest%20version%20of%20SfBonline%20module%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20867px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F166106i6E8A31A4FF78A930%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Adnotacja%202020-01-20%20085020.jpg%22%20title%3D%22Adnotacja%202020-01-20%20085020.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1117589%22%20slang%3D%22en-US%22%3ERe%3A%20Team%20Direct%20Routing%20-%20no%20dial%20pad%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1117589%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F9476%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3E%40Linus%20Cansby%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EAnd%20user%20under%20get-csuser%20has%20now%20HostedVoiceMail%20and%20EnterpriseVoiceEnabled%20as%20True%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20665px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F166109i9DD28E6A6DA0A5F0%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Adnotacja%202020-01-20%20090718.jpg%22%20title%3D%22Adnotacja%202020-01-20%20090718.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EBut%20under%20get-csonlineuser%20user%20has%20them%20as%20False%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20818px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F166113iF4154D2ECB2603A7%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Adnotacja%202020-01-20%20093214.jpg%22%20title%3D%22Adnotacja%202020-01-20%20093214.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1118012%22%20slang%3D%22en-US%22%3ERe%3A%20Team%20Direct%20Routing%20-%20no%20dial%20pad%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1118012%22%20slang%3D%22en-US%22%3EGet-CsUser%20is%20not%20available%20for%20Skype%20For%20Business%20Online%2C%20So%20I%20guess%20when%20you%20were%20running%20Set-CSUser%20your%20were%20running%20that%20on%20your%20Skype%20for%20Business%20Server%2C%20not%20Online.%20So%20try%20run%20from%20another%20computer%20not%20connected%20to%20Skype%20for%20Business%20Server.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1124407%22%20slang%3D%22en-US%22%3ERe%3A%20Team%20Direct%20Routing%20-%20no%20dial%20pad%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1124407%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F9476%22%20target%3D%22_blank%22%3E%40Linus%20Cansby%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20fixed%20that%20issue.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20could%20run%20Set-CsUser%20command%20but%20I%20needed%20SfB%20license%20on%20my%20account.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1118064%22%20slang%3D%22en-US%22%3ERe%3A%20Team%20Direct%20Routing%20-%20no%20dial%20pad%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1118064%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F9476%22%20target%3D%22_blank%22%3E%40Linus%20Cansby%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ei%20used%20server%20that%20has%20no%20access%20to%20SfB%20OnPrem.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20connected%20to%20SfB%20Online.%3C%2FP%3E%3CP%3EAnd%20results%20are%20the%20same%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20826px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F166137i052E35A653C2C7FD%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Adnotacja%202020-01-20%20141304.jpg%22%20title%3D%22Adnotacja%202020-01-20%20141304.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
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
Highlighted

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"

Highlighted

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

 

 

Highlighted
Are you connected to Skype for Business Online powershell?

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

@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

 

 

Highlighted

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

Highlighted

@Linus Cansby 

 

I have the latest version of SfBonline module

Adnotacja 2020-01-20 085020.jpg

Highlighted

@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

Highlighted
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.
Highlighted

@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

Highlighted

@Linus Cansby 

 

I fixed that issue.

 

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

Highlighted

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

Highlighted

@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