VoIP:VTX Teams Connect: Difference between revisions

From VTX Public Wiki

(Remove subtitle)
Line 3: Line 3:
<table>
<table>
<tr><td>
<tr><td>
[[Image:VTX_Teams_Connect_01.png|thumb|600px|left|VTX Teams Connect]]
[[Image:VTX_Teams_Connect_01.png|thumb|600px|left]]
</td></tr>
</td></tr>
</table>
</table>


= Requirements =
=Requirements=


You will find below all the needed requirements to use '''VTX Teams Connect''' Service
You will find below all the needed requirements to use '''VTX Teams Connect''' Service
* A '''VTX Teams Connect''' service
* A '''Microsoft 365''' domain and accounts with the needed Microsoft licenses ( Microsoft Teams + Microsoft 365 Phone System )
* A '''Microsoft Windows PC/Server with Powershell''' app and the needed modules to assign numbers to users ( we are working on an integration in the Kiosk too )


== VTX Teams Connect ==
*A '''VTX Teams Connect''' service
*A '''Microsoft 365''' domain and accounts with the needed Microsoft licenses ( Microsoft Teams + Microsoft 365 Phone System )
*A '''Microsoft Windows PC/Server with Powershell''' app and the needed modules to assign numbers to users ( we are working on an integration in the Kiosk too )

==VTX Teams Connect==


VTX '''Teams Connect''' service allows a smooth and easy integration between '''Microsoft 365 Teams''' services and the telephony world ( PSTN ) allowing you to use Microsoft service to pass and receive calls using [https://teams.microsoft.com/download Desktop (PC/macOS) or Mobile Teams application (Android/iOS)] or [https://www.vtx.ch dedicated Teams Desktop Phones].
VTX '''Teams Connect''' service allows a smooth and easy integration between '''Microsoft 365 Teams''' services and the telephony world ( PSTN ) allowing you to use Microsoft service to pass and receive calls using [https://teams.microsoft.com/download Desktop (PC/macOS) or Mobile Teams application (Android/iOS)] or [https://www.vtx.ch dedicated Teams Desktop Phones].
We are using redundant Microsoft validated SBC ('''S'''ession '''B'''order '''C'''ontroller) from Audiocodes to integrate Microsoft Cloud with VTX Telephony platform, and we did automatize the integration to allow flexibility for our partners and customers. As a consequence, no telephony trunk setup is needed on your side.
We are using redundant Microsoft validated SBC ('''S'''ession '''B'''order '''C'''ontroller) from Audiocodes to integrate Microsoft Cloud with VTX Telephony platform, and we did automatize the integration to allow flexibility for our partners and customers. As a consequence, no telephony trunk setup is needed on your side.


# Please order a '''VTX Teams Connect''' service contacting your Sales contact or order it from your Kiosk interface ( including the number of channels and numbers you will need )
#Please order a '''VTX Teams Connect''' service contacting your Sales contact or order it from your Kiosk interface ( including the number of channels and numbers you will need )
# You will have a [https://kiosk.vtx.ch VTX Kiosk interface account] from which you will be able to manage and setup your service
#You will have a [https://kiosk.vtx.ch VTX Kiosk interface account] from which you will be able to manage and setup your service




== A Microsoft 365 domain and accounts ==
==A Microsoft 365 domain and accounts==


* '''A Microsoft 365 domain and account'''
*'''A Microsoft 365 domain and account'''
** That will include a Microsoft domain for your enterprise like enterprise.onmicrosoft.com ( or your own enterprise internet name if by example you migrated your emails to Microsoft )
**That will include a Microsoft domain for your enterprise like enterprise.onmicrosoft.com ( or your own enterprise internet name if by example you migrated your emails to Microsoft )
** '''A Microsoft 365 Admin account''' that will be able to buy and affect licenses to your users
**'''A Microsoft 365 Admin account''' that will be able to buy and affect licenses to your users
* A Microsoft 365 Domain provided by VTX to you like <servicenumber>.teams.ipvoip.ch ( ex: 123456.teams.ipvoip.ch )
*A Microsoft 365 Domain provided by VTX to you like <servicenumber>.teams.ipvoip.ch ( ex: 123456.teams.ipvoip.ch )
** To integrate this domain on your account, you can enable it from your Kiosk Interface, FIXME, add link
**To integrate this domain on your account, you can enable it from your Kiosk Interface, FIXME, add link
** This domain will be used by "VTX Team Connect" service to bridge Microsoft Teams Cloud with VTX VoIP platform using
**This domain will be used by "VTX Team Connect" service to bridge Microsoft Teams Cloud with VTX VoIP platform using
* A Microsoft 365 user account teamsadmin@<servicenumber>.teams.ipvoip.ch (using the "VTX Teams Connect" domain provided) with the following Admin Right. It will be used to setup phone numbers on the account using Powershell ( unless VTX can do it for you from the Kiosk )
*A Microsoft 365 user account teamsadmin@<servicenumber>.teams.ipvoip.ch (using the "VTX Teams Connect" domain provided) with the following Admin Right. It will be used to setup phone numbers on the account using Powershell ( unless VTX can do it for you from the Kiosk )
*** A '''Microsoft 365 Phone System''' license ( Temporarily license each time you wish to affect numbers to users )
***A '''Microsoft 365 Phone System''' license ( Temporarily license each time you wish to affect numbers to users )
*** The '''Microsoft Teams''' App ( FIXME: Double check if it is till needed )
***The '''Microsoft Teams''' App ( FIXME: Double check if it is till needed )
*** '''Skype For Business Admin''' Admin right
***'''Skype For Business Admin''' Admin right
*** '''Teams admin''' Admin right
***'''Teams admin''' Admin right
*** '''Teams communication Admin''' Admin right
***'''Teams communication Admin''' Admin right
*** '''Teams communication support engineer''' Admin right
***'''Teams communication support engineer''' Admin right
*** '''Teams communication support specialist''' Admin right
***'''Teams communication support specialist''' Admin right
* For all your users wishing to have a telephone number
*For all your users wishing to have a telephone number
** A '''"Microsoft Teams"''' license ( "Microsoft Teams Commercial Cloud" or Microsoft Teams license included in the E1 or E3 or E5 license )
**A '''"Microsoft Teams"''' license ( "Microsoft Teams Commercial Cloud" or Microsoft Teams license included in the E1 or E3 or E5 license )
** A '''"Microsoft 365 Phone System"''' License for any users that will get a phone number
**A '''"Microsoft 365 Phone System"''' License for any users that will get a phone number




== Microsoft Windows PC/Server with Powershell ==
==Microsoft Windows PC/Server with Powershell==




{{Notice|1=Powershell + Skype for Business Online can be used from one of the Microsoft Server or Desktop version listed here https://docs.microsoft.com/en-us/SkypeForBusiness/set-up-your-computer-for-windows-powershell/set-up-your-computer-for-windows-powershell}}
{{Notice|1=Powershell + Skype for Business Online can be used from one of the Microsoft Server or Desktop version listed here https://docs.microsoft.com/en-us/SkypeForBusiness/set-up-your-computer-for-windows-powershell/set-up-your-computer-for-windows-powershell}}


# '''(Powershell)''' : Install Powershell your PC https://docs.microsoft.com/en-us/powershell/scripting/install/installing-windows-powershell?view=powershell-7
#'''(Powershell)''' : Install Powershell your PC https://docs.microsoft.com/en-us/powershell/scripting/install/installing-windows-powershell?view=powershell-7
# '''(Microsoft Visual Studio C++)''': Install '''Microsoft Visual Studio C++ 2019 x64''' using https://support.microsoft.com/fr-ch/help/2977003/the-latest-supported-visual-c-downloads
#'''(Microsoft Visual Studio C++)''': Install '''Microsoft Visual Studio C++ 2019 x64''' using https://support.microsoft.com/fr-ch/help/2977003/the-latest-supported-visual-c-downloads
# '''(SkypeOnlineConnector Powershell Module)''' Install ''Windows Powershell Skype for Business Online module'''
#'''(SkypeOnlineConnector Powershell Module)'<nowiki/>'' Install ''Windows Powershell Skype for Business Online module'''
## Follow https://docs.microsoft.com/en-us/SkypeForBusiness/set-up-your-computer-for-windows-powershell/set-up-your-computer-for-windows-powershell
##Follow https://docs.microsoft.com/en-us/SkypeForBusiness/set-up-your-computer-for-windows-powershell/set-up-your-computer-for-windows-powershell
## Install Windows Powershell module '''Skype for Business Online module''': https://www.microsoft.com/en-us/download/details.aspx?id=39366
##Install Windows Powershell module '''Skype for Business Online module''': https://www.microsoft.com/en-us/download/details.aspx?id=39366
# (optional) Allow Powershell Execution on your PC to allow to execute '''.ps1''' powershell script provided from Kiosk
#(optional) Allow Powershell Execution on your PC to allow to execute '''.ps1''' powershell script provided from Kiosk




Line 81: Line 82:




=Microsoft Teams Management=


= Microsoft Teams Management =


==Connect to Microsoft 365 Admin Portal==

== Connect to Microsoft 365 Admin Portal ==


{{Notice|1=You can use this interfaces for the Domain Management, User management, License management and Software Management}}
{{Notice|1=You can use this interfaces for the Domain Management, User management, License management and Software Management}}


* '''Main URL''' : https://admin.microsoft.com/
*'''Main URL''' : https://admin.microsoft.com/
* '''Domain Management URL''': https://admin.microsoft.com/Adminportal/Home#/Domains
*'''Domain Management URL''': https://admin.microsoft.com/Adminportal/Home#/Domains
* '''User Management URL''': https://admin.microsoft.com/Adminportal/Home#/users
*'''User Management URL''': https://admin.microsoft.com/Adminportal/Home#/users




= '''VTX Teams Connect''' Kiosk Management =
='''VTX Teams Connect''' Kiosk Management=


== Link your <SERVICE_NUMBER>.teams.ipvoip.ch Domain between Microsoft and VTX Telephony platform ==
==Link your <SERVICE_NUMBER>.teams.ipvoip.ch Domain between Microsoft and VTX Telephony platform==

# Connect to https://kiosk.vtx.ch/VoIP/ManageTeams.aspx and follow the helper. You will declare the domain provided by VTX and link it to your Microsoft account
#Connect to https://kiosk.vtx.ch/VoIP/ManageTeams.aspx and follow the helper. You will declare the domain provided by VTX and link it to your Microsoft account


<table>
<table>
Line 105: Line 106:
</table>
</table>


== Voice Routing : Download and execute the ps1 voice routing ==
==Voice Routing : Download and execute the ps1 voice routing==


{{Notice|1=You will only need to do this once at service setup, then it is not needed anymore}}
{{Notice|1=You will only need to do this once at service setup, then it is not needed anymore}}
Line 111: Line 112:




# Copy paste the text below and create a VTX_Microsoft_Teams_assign_numbers.ps1 file
#Copy paste the text below and create a VTX_Microsoft_Teams_assign_numbers.ps1 file
# Replace the needed variables in bold
#Replace the needed variables in bold
## 123456.teams.ipvoip.ch : Replace it with the domain provided to you by VTX in https://kiosk.vtx.ch/VoIP/ManageTeams.aspx
##123456.teams.ipvoip.ch : Replace it with the domain provided to you by VTX in https://kiosk.vtx.ch/VoIP/ManageTeams.aspx
## first.last@MSDOMAIN.onmicrosoft.com : Replace it with the Microsoft account to which you wish to assign a number
##first.last@MSDOMAIN.onmicrosoft.com : Replace it with the Microsoft account to which you wish to assign a number
## 'tel:+41215661234' : Replace it with the number you wish to assign to your account ( it needs to be a number from your VTX Teams Connect account )
##'tel:+41215661234' : Replace it with the number you wish to assign to your account ( it needs to be a number from your VTX Teams Connect account )




Line 127: Line 128:
Set-CsOnlinePstnUsage -Identity Global -Usage @{Add="CsOnlinePstnUsage-'''123456.teams.ipvoip.ch'''"}
Set-CsOnlinePstnUsage -Identity Global -Usage @{Add="CsOnlinePstnUsage-'''123456.teams.ipvoip.ch'''"}
# https://docs.microsoft.com/en-us/powershell/module/skype/new-csonlinevoiceroute?view=skype-ps
# https://docs.microsoft.com/en-us/powershell/module/skype/new-csonlinevoiceroute?view=skype-ps
New-CsOnlineVoiceRoute -Identity 'CsOnlineVoiceRoute-'''123456.teams.ipvoip.ch'''' -Priority 0 -NumberPattern '^\+\d+' -OnlinePstnGatewayList '''123456.teams.ipvoip.ch''' -OnlinePstnUsages 'CsOnlinePstnUsage-'''123456.teams.ipvoip.ch''''
New-CsOnlineVoiceRoute -Identity 'CsOnlineVoiceRoute-'''123456.teams.ipvoip.ch'<nowiki/>''' -Priority 0 -NumberPattern '^\+\d+' -OnlinePstnGatewayList '''123456.teams.ipvoip.ch''' -OnlinePstnUsages 'CsOnlinePstnUsage-'''123456.teams.ipvoip.ch''''
# https://docs.microsoft.com/en-us/powershell/module/skype/set-csonlinevoiceroutingpolicy?view=skype-ps
# https://docs.microsoft.com/en-us/powershell/module/skype/set-csonlinevoiceroutingpolicy?view=skype-ps
New-CsOnlineVoiceRoutingPolicy -Identity 'CsOnlineVoiceRoutingPolicy-'''123456.teams.ipvoip.ch'''' -OnlinePstnUsages 'CsOnlinePstnUsage-'''123456.teams.ipvoip.ch''''
New-CsOnlineVoiceRoutingPolicy -Identity 'CsOnlineVoiceRoutingPolicy-'''123456.teams.ipvoip.ch'<nowiki/>''' -OnlinePstnUsages 'CsOnlinePstnUsage-'''123456.teams.ipvoip.ch''''
# https://docs.microsoft.com/en-us/powershell/module/skype/set-cscallinglineidentity?view=skype-ps
# https://docs.microsoft.com/en-us/powershell/module/skype/set-cscallinglineidentity?view=skype-ps
Set-CsCallingLineIdentity -Identity Global -EnableUserOverride $True
Set-CsCallingLineIdentity -Identity Global -EnableUserOverride $True
Line 136: Line 137:




== Number Mapping : Assign numbers to Microsoft accounts ==
==Number Mapping : Assign numbers to Microsoft accounts==


{{Notice|1=Soon you will be able to manage and download this file directly from the Kiosk}}
{{Notice|1=Soon you will be able to manage and download this file directly from the Kiosk}}




# Copy paste the text below and create a VTX_Microsoft_Teams_assign_numbers.ps1 file
#Copy paste the text below and create a VTX_Microsoft_Teams_assign_numbers.ps1 file
# Replace the needed variables in bold
#Replace the needed variables in bold
## 123456.teams.ipvoip.ch : Replace it with the domain provided to you by VTX in https://kiosk.vtx.ch/VoIP/ManageTeams.aspx
##123456.teams.ipvoip.ch : Replace it with the domain provided to you by VTX in https://kiosk.vtx.ch/VoIP/ManageTeams.aspx
## first.last@MSDOMAIN.onmicrosoft.com : Replace it with the Microsoft account to which you wish to assign a number
##first.last@MSDOMAIN.onmicrosoft.com : Replace it with the Microsoft account to which you wish to assign a number
## 'tel:+41215661234' : Replace it with the number you wish to assign to your account ( it needs to be a number from your VTX Teams Connect account )
##'tel:+41215661234' : Replace it with the number you wish to assign to your account ( it needs to be a number from your VTX Teams Connect account )




Line 158: Line 159:




=Powershell Management=

= Powershell Management =


{{Notice|1=Unfortunatly, you cannot affect numbers from web interfaces yet, so the IT of your domain will need to use a Windows PC to setup the domain and affect numbers to users}}
{{Notice|1=Unfortunatly, you cannot affect numbers from web interfaces yet, so the IT of your domain will need to use a Windows PC to setup the domain and affect numbers to users}}

Revision as of 13:46, 22 April 2020

With VTX Teams Connect, use Microsoft Teams as your main Telephony Solution

VTX Teams Connect 01.png

Requirements[edit | edit source]

You will find below all the needed requirements to use VTX Teams Connect Service

  • A VTX Teams Connect service
  • A Microsoft 365 domain and accounts with the needed Microsoft licenses ( Microsoft Teams + Microsoft 365 Phone System )
  • A Microsoft Windows PC/Server with Powershell app and the needed modules to assign numbers to users ( we are working on an integration in the Kiosk too )

VTX Teams Connect[edit | edit source]

VTX Teams Connect service allows a smooth and easy integration between Microsoft 365 Teams services and the telephony world ( PSTN ) allowing you to use Microsoft service to pass and receive calls using Desktop (PC/macOS) or Mobile Teams application (Android/iOS) or dedicated Teams Desktop Phones. We are using redundant Microsoft validated SBC (Session Border Controller) from Audiocodes to integrate Microsoft Cloud with VTX Telephony platform, and we did automatize the integration to allow flexibility for our partners and customers. As a consequence, no telephony trunk setup is needed on your side.

  1. Please order a VTX Teams Connect service contacting your Sales contact or order it from your Kiosk interface ( including the number of channels and numbers you will need )
  2. You will have a VTX Kiosk interface account from which you will be able to manage and setup your service


A Microsoft 365 domain and accounts[edit | edit source]

  • A Microsoft 365 domain and account
    • That will include a Microsoft domain for your enterprise like enterprise.onmicrosoft.com ( or your own enterprise internet name if by example you migrated your emails to Microsoft )
    • A Microsoft 365 Admin account that will be able to buy and affect licenses to your users
  • A Microsoft 365 Domain provided by VTX to you like <servicenumber>.teams.ipvoip.ch ( ex: 123456.teams.ipvoip.ch )
    • To integrate this domain on your account, you can enable it from your Kiosk Interface, FIXME, add link
    • This domain will be used by "VTX Team Connect" service to bridge Microsoft Teams Cloud with VTX VoIP platform using
  • A Microsoft 365 user account teamsadmin@<servicenumber>.teams.ipvoip.ch (using the "VTX Teams Connect" domain provided) with the following Admin Right. It will be used to setup phone numbers on the account using Powershell ( unless VTX can do it for you from the Kiosk )
      • A Microsoft 365 Phone System license ( Temporarily license each time you wish to affect numbers to users )
      • The Microsoft Teams App ( FIXME: Double check if it is till needed )
      • Skype For Business Admin Admin right
      • Teams admin Admin right
      • Teams communication Admin Admin right
      • Teams communication support engineer Admin right
      • Teams communication support specialist Admin right
  • For all your users wishing to have a telephone number
    • A "Microsoft Teams" license ( "Microsoft Teams Commercial Cloud" or Microsoft Teams license included in the E1 or E3 or E5 license )
    • A "Microsoft 365 Phone System" License for any users that will get a phone number


Microsoft Windows PC/Server with Powershell[edit | edit source]

  1. (Powershell) : Install Powershell your PC https://docs.microsoft.com/en-us/powershell/scripting/install/installing-windows-powershell?view=powershell-7
  2. (Microsoft Visual Studio C++): Install Microsoft Visual Studio C++ 2019 x64 using https://support.microsoft.com/fr-ch/help/2977003/the-latest-supported-visual-c-downloads
  3. (SkypeOnlineConnector Powershell Module)' Install Windows Powershell Skype for Business Online module
    1. Follow https://docs.microsoft.com/en-us/SkypeForBusiness/set-up-your-computer-for-windows-powershell/set-up-your-computer-for-windows-powershell
    2. Install Windows Powershell module Skype for Business Online module: https://www.microsoft.com/en-us/download/details.aspx?id=39366
  4. (optional) Allow Powershell Execution on your PC to allow to execute .ps1 powershell script provided from Kiosk


Command to use if you wish to be able to execute .ps1 Powershell scripts that will be available from VTX Kiosk Run this command in Powershell as Admin, cf https://docs.microsoft.com/fr-fr/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-6

 PS C:\WINDOWS\system32> Get-ExecutionPolicy
 Restricted
 
 PS C:\WINDOWS\system32> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
 Execution Policy Change
 The execution policy helps protect you from scripts that you do not trust. Changing the execution policy might expose   you to the security risks described in the about_Execution_Policies help topic at https:/go.microsoft.com/fwlink/?LinkID=135170.
 Do you want to change the execution policy?
 [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "N"): Y

 PS C:\WINDOWS\system32> Get-ExecutionPolicy 
 RemoteSigned


Import SkypeOnlineConnector Powershell module

 PS C:\WINDOWS\system32> Import-Module SkypeOnlineConnector
 PS C:\WINDOWS\system32>


Microsoft Teams Management[edit | edit source]

Connect to Microsoft 365 Admin Portal[edit | edit source]


VTX Teams Connect Kiosk Management[edit | edit source]

Link your <SERVICE_NUMBER>.teams.ipvoip.ch Domain between Microsoft and VTX Telephony platform[edit | edit source]

  1. Connect to https://kiosk.vtx.ch/VoIP/ManageTeams.aspx and follow the helper. You will declare the domain provided by VTX and link it to your Microsoft account
VTX Teams Connect - Kiosk Management

Voice Routing : Download and execute the ps1 voice routing[edit | edit source]


  1. Copy paste the text below and create a VTX_Microsoft_Teams_assign_numbers.ps1 file
  2. Replace the needed variables in bold
    1. 123456.teams.ipvoip.ch : Replace it with the domain provided to you by VTX in https://kiosk.vtx.ch/VoIP/ManageTeams.aspx
    2. first.last@MSDOMAIN.onmicrosoft.com : Replace it with the Microsoft account to which you wish to assign a number
    3. 'tel:+41215661234' : Replace it with the number you wish to assign to your account ( it needs to be a number from your VTX Teams Connect account )


# Connect to Microsoft Teams management
# https://docs.microsoft.com/en-us/powershell/module/skype/New-CsOnlineSession?view=skype-ps
# When you create a domain and a user it will take a while before you are able connect via Powershell and perform needed actions. You can speed up connection using the -OverrideAdminDomain MSDOMAIN option with your main Microsoft domain
$Session = New-CsOnlineSession -UserName teamsadmin@123456.teams.ipvoip.ch 
# https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/import-pssession?view=powershell-7
Import-PSSession $Session -AllowClobber 
# https://docs.microsoft.com/en-us/powershell/module/skype/set-csonlinepstnusage?view=skype-ps
Set-CsOnlinePstnUsage -Identity Global -Usage @{Add="CsOnlinePstnUsage-123456.teams.ipvoip.ch"}
# https://docs.microsoft.com/en-us/powershell/module/skype/new-csonlinevoiceroute?view=skype-ps
New-CsOnlineVoiceRoute -Identity 'CsOnlineVoiceRoute-123456.teams.ipvoip.ch' -Priority 0 -NumberPattern '^\+\d+' -OnlinePstnGatewayList 123456.teams.ipvoip.ch -OnlinePstnUsages 'CsOnlinePstnUsage-123456.teams.ipvoip.ch'
# https://docs.microsoft.com/en-us/powershell/module/skype/set-csonlinevoiceroutingpolicy?view=skype-ps
New-CsOnlineVoiceRoutingPolicy -Identity 'CsOnlineVoiceRoutingPolicy-123456.teams.ipvoip.ch' -OnlinePstnUsages 'CsOnlinePstnUsage-123456.teams.ipvoip.ch'
# https://docs.microsoft.com/en-us/powershell/module/skype/set-cscallinglineidentity?view=skype-ps
Set-CsCallingLineIdentity -Identity Global -EnableUserOverride $True
# Logout
Get-PSSession | Remove-PSSession


Number Mapping : Assign numbers to Microsoft accounts[edit | edit source]


  1. Copy paste the text below and create a VTX_Microsoft_Teams_assign_numbers.ps1 file
  2. Replace the needed variables in bold
    1. 123456.teams.ipvoip.ch : Replace it with the domain provided to you by VTX in https://kiosk.vtx.ch/VoIP/ManageTeams.aspx
    2. first.last@MSDOMAIN.onmicrosoft.com : Replace it with the Microsoft account to which you wish to assign a number
    3. 'tel:+41215661234' : Replace it with the number you wish to assign to your account ( it needs to be a number from your VTX Teams Connect account )


# Connect to Microsoft Teams management
$Session = New-CsOnlineSession -UserName teamsadmin@123456.teams.ipvoip.ch
Import-PSSession $Session -AllowClobber
# Assign a number to your user and the Call Routing
Get-CsOnlineUser -Identity first.last@MSDOMAIN.onmicrosoft.com | Set-CsUser -EnterpriseVoiceEnabled $true -OnPremLineURI 'tel:+41215661234'
Get-CsOnlineUser -Identity first.last@MSDOMAIN.onmicrosoft.com | Grant-CsOnlineVoiceRoutingPolicy -PolicyName 'CsOnlineVoiceRoutingPolicy-123456.teams.ipvoip.ch'
# Logout
Get-PSSession | Remove-PSSession


Powershell Management[edit | edit source]