locked
Teams enable Enterprise Voice RRS feed

  • Question

  • Dear All,

    trying to enable Calling in Teams through Direct Routing and I'm confused about the fact, that on Technet it says you should use:

    Set-CsUser -Identity "<User name>" -EnterpriseVoiceEnabled $true -HostedVoiceMail $true -OnPremLineURI tel:<E.164 phone number>

    But this command isn't available and on Technet it says it was used for Skype for Business Online which is depricated.

    To the current Situation.

    We have On-Prem AD User syncrhonized to Azure AD. My User has the needed licenses (inlcuding phone system).

    I have created Voiceroutes, PSTNUsages and Diaplplans.

    An get-csonlineUser gives back this:

    OnPremEnterpriseVoiceEnabled : True
    HostedVoiceMail              : False
    EnterpriseVoiceEnabled       : False
    TeamsVoiceRoute              : False
    VoicePolicy                  : HybridVoice
    OnlineVoicemailPolicy        :
    VoiceRoutingPolicy           :
    HostedVoicemailPolicy        : BusinessVoice
    OnlineVoiceRoutingPolicy     : Test Voice Route
    DialPlan                     : CH
    TenantDialPlan               : Test Dialplan
    OnPremLineURI                : tel:mynumber

    If I check Teams Admin Center, I can see my User has Audio conferecning and Phone System = On

    Am I missing something?

    Friday, July 31, 2020 9:31 AM

All replies

  • That's the exact cmdlet you need to use, Set-CsUser, and the SfBO PowerShell is not deprecated (in fact almost all Teams policies are still managed via it).
    Saturday, August 1, 2020 3:16 PM
  • Hi Lutenus,

    Could you provide the link which said that Set-CsUser cmdlet is deprecated for Skype for Business Online?

    According to the official document, Set-CsUser cmdlet also applies to Skype for Business online. For more details, please refer to this link: https://docs.microsoft.com/en-us/powershell/module/skype/set-csuser?view=skype-ps.

    Agree with Vasil, it recommends you use this command to configure Enterprise Voice.


    This Microsoft Online: Microsoft Team Forum will be migrating to a new home on Microsoft Q&A, please refer to this sticky post for more details.

    Best Regards,
    Sharon Zhao


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contacttnsf@microsoft.com.
    Microsoft Online: Microsoft Team will be migrating to a new home on Microsoft Q&A! We invite you to post new questions in the new forum.

    For more information, please refer to the sticky post.


    Monday, August 3, 2020 2:18 AM
  • Then I don't know why I don't have this command available.

    If I execute "get-command -All set-cs*" inside the Remote Session I get these commands:

    PS C:\WINDOWS\system32> get-command -All set-cs*

    CommandType     Name                                               Version    Source
    -----------     ----                                               -------    ------
    Function        Set-CsApplicationAccessPolicy                      1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsAutoAttendant                                1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsCallingLineIdentity                          1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsCallQueue                                    1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsClientPolicy                                 1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsDefaultCatalogApp                            1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsGlobalCatalogApp                             1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsInboundBlockedNumberPattern                  1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsOnlineApplicationInstance                    1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsOnlineDialInConferencingBridge               1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsOnlineDialInConferencingServiceNumber        1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsOnlineDialInConferencingTenantSettings       1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsOnlineDialInConferencingUser                 1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsOnlineDialInConferencingUserDefaultNumber    1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsOnlineEnhancedEmergencyServiceDisclaimer     1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsOnlineLisCivicAddress                        1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsOnlineLisLocation                            1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsOnlineLisPort                                1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsOnlineLisSubnet                              1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsOnlineLisSwitch                              1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsOnlineLisWirelessAccessPoint                 1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsOnlinePSTNGateway                            1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsOnlinePstnUsage                              1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsOnlineSchedule                               1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsOnlineVoicemailPolicy                        1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsOnlineVoicemailUserSettings                  1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsOnlineVoiceRoute                             1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsOnlineVoiceRoutingPolicy                     1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsOnlineVoiceUser                              1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTeamsAppPermissionPolicy                     1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTeamsAppPreset                               1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTeamsAppSetupPolicy                          1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTeamsCallingPolicy                           1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTeamsCallParkPolicy                          1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTeamsChannelsPolicy                          1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTeamsClientConfiguration                     1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTeamsCortanaPolicy                           1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTeamsEducationAssignmentsAppPolicy           1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTeamsEmergencyCallingPolicy                  1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTeamsEmergencyCallRoutingPolicy              1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTeamsFeedbackPolicy                          1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTeamsGuestCallingConfiguration               1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTeamsGuestMeetingConfiguration               1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTeamsGuestMessagingConfiguration             1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTeamsIPPhonePolicy                           1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTeamsMeetingBroadcastConfiguration           1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTeamsMeetingBroadcastPolicy                  1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTeamsMeetingConfiguration                    1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTeamsMeetingPolicy                           1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTeamsMessagingPolicy                         1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTeamsMobilityPolicy                          1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTeamsNotificationAndFeedsPolicy              1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTeamsPinnedApp                               1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTeamsShiftsAppPolicy                         1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTeamsTargetingPolicy                         1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTeamsTranslationRule                         1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTeamsUpgradeConfiguration                    1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTeamsUpgradeStatus                           1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTenantBlockedCallingNumbers                  1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTenantCatalogApp                             1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTenantDialPlan                               1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTenantFederationConfiguration                1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTenantNetworkConfiguration                   1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTenantNetworkRegion                          1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTenantNetworkSite                            1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTenantNetworkSubnet                          1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTenantPublicProvider                         1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsTenantTrustedIPAddress                       1.0        tmp_cz1bhf0f.gbx
    Function        Set-CsVoiceNormalizationRule                       1.0        tmp_cz1bhf0f.gbx

    Or is it because I need to sign-in using -OverrideAdminDomain?

    As we don't have a Hybrid environment, I need to use: "$session = New-CsOnlineSession -Username name -OverrideAdminDomain tenant.onmicrosoft.com

    It seams so streight forward any Hint I get is using this command but not having it available makes it imposible to try this.

    Monday, August 3, 2020 6:05 AM
  • Got approval of Security to use a Cloud Admin User and it seams really to be the way of login in which limited me to use all commands.

    Once I used $session = New-CsOnlineSession -Username name@tenant.onmicrosoft.com I was able to use a lot more commands including set-csUser

    Now I will try enabling Enterprise Voice for the Test Users and try using the Direct Routing.

    Thanks for the Help.

    Redards, Stefane

    Monday, August 3, 2020 9:13 AM
  • Hi Lutenus,

    Is there any update on this case?

    Please feel free to drop us a note if there is any update.

    Have a nice day!


    This Microsoft Online: Microsoft Team Forum will be migrating to a new home on Microsoft Q&A, please refer to this sticky post for more details.

    Best Regards,
    Sharon Zhao


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contacttnsf@microsoft.com.
    Microsoft Online: Microsoft Team will be migrating to a new home on Microsoft Q&A! We invite you to post new questions in the new forum.

    For more information, please refer to the sticky post.


    Wednesday, August 5, 2020 6:18 AM
  • This forum will be locked down on 8/10/2020. We have created a copy of it on Microsoft Q&A Platform. Kindly register the Microsoft Q&A Platform and continue the discussion out there with us.

    [Microsoft Q&A thread link]: https://docs.microsoft.com/en-us/answers/questions/63081/teams-enable-enterprise-voice.html?childToView=63062#answer-63062


    Best Regards,
    Sharon Zhao


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.

    Monday, August 10, 2020 6:40 AM