How do I set up the sipgate MS Teams integration?
Step-by-step guide to setting up the sipgate MS Teams integration - requirements, domains, and configuration.
The sipgate MS Teams integration for your account is activated manually. To do this, simply send an email to support-ms-teams@sipgate.de.
If you use sipgate trunking, it is sufficient to include the account number in the email for which the integration should be booked.
For sipgate business, in addition to the account number, the users for whom the integration should be activated must also be specified.
Prerequisites for the MS Teams integration
You use an Office 365 business or school account
You have a business or trunking contract on sipgate.de (sipgate.co.uk is currently not supported)
On your computer, the PowerShell with the module MicrosoftTeams installed
You have access as "Global Administrator" to the Office tenant
You have access as "Administrator" to the sipgate account
All affected users in the Office tenant have the "Microsoft Teams Phone Standard" license
In the Upgrade settings for MS Teams the coexistence mode is set to "Teams only"
Set up domains in the Office tenant
Open a browser with two tabs:
Tab 1 with the "Microsoft 365 admin center"
Tab 2 with the sipgate Webapp as administrator
Now open the tile MS Teams and click Perform DNS challenge. A widget opens in which you Continue choose.
Now copy the domain displayed there to the clipboard using the copy icon.
Next, switch to the tab with the 365 admin center and open the view Settings ➔ Domains.
Click there on the item " Add domain and on the new page, paste the sipgate subdomain from the clipboard into the field Domain name .
Now select the button below Use this domain to continue.
On the following page Verify your domain ownership select the option Add a TXT record to the domain and confirm this below with the button Continue.
Now on the new page, copy the TXT value to the clipboard via the copy icon and switch to the tab with the sipgate Webapp.
Click in the still-open widget from the sipgate Webapp into the input field TXT Record and paste the TXT value from the clipboard, then confirm with "Next".
Now go back to the tab with the 365 admin center and click there on Verify. If this is not immediately successful, wait a few seconds and repeat the verification.
On the page that now follows with the question "How would you like to connect to your domain?" please open the link More options and enable the option: Skip and do this later (not recommended), then click Next.
On the page now shown, you can complete the setup of this subdomain with Done finish.
Now go back to the tab with the sipgate Webapp and select in the still-open widget Continue .
Repeat the process now for the second subdomain.
A video of the process is linked here: Set up subdomains for VoIP gateway.
Set up Direct Routing
Open PowerShell as administrator and now enter the following commands:
# If the Microsoft Teams module is not yet installed in PowerShell
# please install with the following command
Install-Module MicrosoftTeams
# If it is already installed, the current version can be checked with
Get-InstalledModule
# The following command can be used to update the module if it is outdated
Update-Module MicrosoftTeams
# If an installation or update has been performed, before the next command
# close PowerShell once and restart it
# Use the following command to connect to the Office tenant,
# authentication takes place in a separate window
Connect-MicrosoftTeams
# For 2FA with Connect-MicrosoftTeams -use
# Only if there are no rights to execute the CMDlet 'Connect-MicrosoftTeams',
# then execute "Connect-MicrosoftTeams" again
Set-ExecutionPolicy -ExecutionPolicy Unrestricted
Set-CsOnlinePstnUsage -Identity Global -Usage @{Add="sipgate"}
# subdomain1 and subdomain2 must be replaced with the previously created subdomains. This is a command, even though it is displayed here with line breaks
New-CsOnlineVoiceRoute -Identity "sipgate" -NumberPattern ".*" -OnlinePstnGatewayList subdomain1, subdomain2 -Priority 1 -OnlinePstnUsages "sipgate"
New-CsOnlineVoiceRoutingPolicy "sipgate" -OnlinePstnUsages "sipgate"
# Only for sipgate business NOT FOR TRUNKING
Set-CsTeamsCallingPolicy -Identity Global -MusicOnHoldEnabledType DisabledSet up telephony for users
This is described in a separate article: sipgate and MS Teams - Set up telephony for a user in the Office tenant.
Last updated

