> For the complete documentation index, see [llms.txt](https://help.sipgate.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.sipgate.de/cloud-telefonanlage/en/connections-and-integrations/ms-teams/sipgate-und-ms-teams-telefonie-fuer-einen-user-im-office-tenant-einrichten.md). Agents can also search and read this documentation through its [MCP server](https://help.sipgate.de/~gitbook/mcp).

# sipgate and MS Teams - set up telephony for one user in the Office tenant

Instructions for setting up sipgate telephony for individual users in MS Teams - via PowerShell or GUI.

Telephony for a user in MS Teams can be set up in two ways:

{% tabs %}
{% tab title="PowerShell" %}
**Using PowerShell and the Microsoft Teams module**

Use the following command to connect to your Office tenant. Authentication takes place in a separate window:

```powershell
Connect-MicrosoftTeams
```

Next, authenticate each user once: adjust the email address, phone number and, if necessary, the "PolicyName".

```powershell
Set-CsPhoneNumberAssignment -Identity UserMail@YourDomain.xy -PhoneNumber +49xx -PhoneNumberType DirectRouting
Grant-CsOnlineVoiceRoutingPolicy -Identity "UserMail@YourDomain.xy" -PolicyName "sipgate"
```

For more information about PowerShell with the Microsoft Teams module, see [this link](https://learn.microsoft.com/de-de/microsoftteams/teams-powershell-install).
{% endtab %}

{% tab title="GUI (without PowerShell)" %}
**In the GUI, without PowerShell**

**Assign a phone number**

Open the Microsoft Teams admin center and, under **Users** select **Manage users** then select the user you want.

![sipgate-Hilfecenter-MSTeams1.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-b0333c984e0d39213f93eb7485fea33de022da3b%2Fsipgate-Hilfecenter-MSTeams1.png?alt=media\&token=c8d39267-5d53-4b4d-a98c-42d1a4d72875)

Next, select **Edit** .

![sipgate-Hilfecenter-MSTeams2.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-2801d7f25ea160562cca8e67c6e6a81f4ad6a468%2Fsipgate-Hilfecenter-MSTeams2.png?alt=media\&token=31767cdc-fbfe-413c-8758-98ce4e48b16f)

A sidebar will then appear on the right side of the window, where you should fill in the following fields:

**Phone number type:** Direct Routing

**Assigned phone number:** The user's phone number in E.164 format, with the international dialing code and without a leading + or 0 (example: 4921110000)

Click **Apply** to complete the entry.

![sipgate-Hilfecenter-MSTeams3.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-c540033ac2428db9cf5b9db9ed71c2c6fcba1b85%2Fsipgate-Hilfecenter-MSTeams3.png?alt=media\&token=9083f410-0704-48de-a926-4494d62f232c)

**Assign a policy**

Next, assign a telephony policy to the user. To do this, go to the user's **Policies** tab and select **Edit** .

![sipgate-Hilfecenter-MSTeams4.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-250db091f28d8822c9918a99723cccff1e9536c2%2Fsipgate-Hilfecenter-MSTeams4.png?alt=media\&token=da48cdc4-e867-45b2-8980-86dccd6c6d57)

A sidebar will now appear, where you can select the **VoIP routing policy** for sipgate.

![sipgate-Hilfecenter-MSTeams5.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-2cc05a115141d46ea80c6c6cc99bdca46793e726%2Fsipgate-Hilfecenter-MSTeams5.png?alt=media\&token=324bc6fc-37f9-4826-a699-024d2bbbebd7)
{% endtab %}
{% endtabs %}

{% hint style="info" %}
Depending on the response time of the MS platform, the changes may take effect immediately or take several hours.
{% endhint %}

For more information, visit our [website](https://www.sipgate.de/funktionen/integrationen/microsoft-teams-integration) or schedule a no-obligation consultation. Please contact us via our [contact form](https://www.sipgate.de/microsoft-teams-beratung-anfordern).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.sipgate.de/cloud-telefonanlage/en/connections-and-integrations/ms-teams/sipgate-und-ms-teams-telefonie-fuer-einen-user-im-office-tenant-einrichten.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
