> 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/account-management/login/wie-richte-ich-saml-sso-mit-microsoft-ein.md).

# How do I set up SAML SSO with Microsoft?

In this article, you will get a step-by-step guide to setting up SAML SSO with Microsoft as the identity provider.

This article provides step-by-step instructions for setting up SAML SSO if you use Microsoft as your identity provider. If you’re looking for instructions on setting up SSO login at sipgate,[ you can find them here.](https://help.sipgate.de/hc/de/articles/13437518031645-Wie-richte-ich-einen-SSO-Login-f%C3%BCr-mein-Unternehmen-ein-)

{% stepper %}
{% step %}
**Open the Identity section**

First, sign in to your Microsoft account as an admin and select the following from the menu on the right: **Show all -->** **Identity** .

![sipgate-Hilfecenter-SSO-Microsoft1.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-855e56adbe67f4bff8cf8250cbc76a24a698ef3a%2Fsipgate-Hilfecenter-SSO-Microsoft1.png?alt=media\&token=0e77c929-d4b1-462e-a064-8fcd0f1cf0f5)
{% endstep %}

{% step %}
**Create an application**

In the Entra admin center, go to the menu on the right and select **Applications** , then click **Create your own application**.

![sipgate-Hilfecenter-SSO-Microsoft2.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-830d873206a8435dbd835a9e8b705ce6ccb3355b%2Fsipgate-Hilfecenter-SSO-Microsoft2.png?alt=media\&token=ab7ce808-a054-4c99-9b31-d13b64848178)

When a new panel opens on the right, enter any name that should include **sipgate** . Leave the remaining settings at their default values. Finally, click the **Create**.

![sipgate-Hilfecenter-SSO-Microsoft3.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-fc9f0c28219f6c61c15035995d74248f110790ac%2Fsipgate-Hilfecenter-SSO-Microsoft3.png?alt=media\&token=76df1bca-4313-448a-8b6b-cc77a360b829)
{% endstep %}

{% step %}
**Choose an SSO method**

The sipgate application has been created successfully. You can find it under **Applications --> Overview** . Next, go to **Set up SSO**.

![sipgate-Hilfecenter-SSO-Microsoft4.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-4565b64f0a69864dc4bb3e20d51d7202748496f5%2Fsipgate-Hilfecenter-SSO-Microsoft4.png?alt=media\&token=d06f3d02-c3b1-4a8e-abcb-ac2c8a2835fe)

Under **Select a single sign-on method** , click **SAML**.

![sipgate-Hilfecenter-SSO-Microsoft5.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-bcc5ac2d22e50650035b61a6c45ceba7be53cd81%2Fsipgate-Hilfecenter-SSO-Microsoft5.png?alt=media\&token=9200d869-a9a4-4b27-bac7-980b5a440b7c)
{% endstep %}

{% step %}
**Enter the IdP details**

In the next step, you’ll see an overview of the setup steps and all the information required to configure SSO at sipgate. This information includes the **SSO URL**, the **Entity ID** and the **certificate**.

To transfer this information to your sipgate account, go to step 4 in the overview, **Set up sipgate** , and copy the following information: the **Login URL** (**SSO URL**) and the **Azure AD Identifier** (**Entity ID**).

![sipgate-Hilfecenter-SSO-Microsoft6.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-f51e027ae960836e0b999bc7617cfaa0d32174fb%2Fsipgate-Hilfecenter-SSO-Microsoft6.png?alt=media\&token=458fcaed-1fe6-4c11-87f0-0087250f1ff4)
{% endstep %}

{% step %}
**Enter the certificate**

In step 3, **SAML Certificates** , follow these steps: Click **Edit** and select **SAML signing certificate**. Then open the certificate's context menu and download the **Base64 certificate** .

![sipgate-Hilfecenter-SSO-Microsoft8.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-897cc3099da6cc9ce11efca911322ffc5866dd4c%2Fsipgate-Hilfecenter-SSO-Microsoft8.png?alt=media\&token=83118336-b257-46f1-a672-4a676d5fe25a)

Open the certificate with the default text editor (a file with the '.cer' extension). Copy the certificate text from the editor and paste it into sipgate under **Certificate** .
{% endstep %}

{% step %}
**Enter the SP details**

Go to section 1, **Basic SAML Configuration** and click **Edit**. Enter the following information from the SSO section in sipgate (Service Provider data): **Entity ID --> Entity ID and ACS URL --> Reply URL (Assertion Consumer Service URL)** and click **Save**.

![sipgate-Hilfecenter-SSO-Microsoft10.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-1853aee52e0621a25487e882fc8a1c384fe70f04%2Fsipgate-Hilfecenter-SSO-Microsoft10.png?alt=media\&token=5f4b9f97-8d81-46b7-9372-3969550ed7ac)
{% endstep %}

{% step %}
**Assign users**

In the next step, go to the left-hand navigation menu and select **Users and groups** **-->** **Add user/group** .

![sipgate-Hilfecenter-SSO-Microsoft11.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-6ec6c1c622570c2054219ab984ae2049016d7659%2Fsipgate-Hilfecenter-SSO-Microsoft11.png?alt=media\&token=7963399c-ed26-4082-a41b-144c5a2a18e8)

To select specific users or groups for SSO, under **Users and groups** click **None selected**.

![sipgate-Hilfecenter-SSO-Microsoft12.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-d2735cf5b7ed495757bf2bfc33a92fecf0e69af1%2Fsipgate-Hilfecenter-SSO-Microsoft12.png?alt=media\&token=8fdec292-1134-4e28-9444-41ad39552788)

Here you can select the groups or users for your SSO application.

![sipgate-Hilfecenter-SSO-Microsoft13.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-8c568f8fd963e57c32c6f097f18dbe3da8ddfcc9%2Fsipgate-Hilfecenter-SSO-Microsoft13.png?alt=media\&token=14750352-2420-4f14-9d75-39e05bb9f9fd)

In the final step, click **Assign.**

![sipgate-Hilfecenter-SSO-Microsoft14.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-556647d667cb00374569846aa50c54d46fd2dd13%2Fsipgate-Hilfecenter-SSO-Microsoft14.png?alt=media\&token=c63d8e20-8e7a-4d46-9626-edd8da38bd3e)
{% endstep %}

{% step %}
**Enable SSO at sipgate**

Once you have completed these steps successfully, the connection between sipgate and Microsoft should be set up. You can then enable SSO login using the toggle in sipgate.

![sipgate-Hilfecenter-SSO7.3.png](https://4045603198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg0qj71PeONPljdPedXLf%2Fuploads%2Fgit-blob-17fe09c3e58bfecae9dbff65946cca9f2607c4f4%2Fsipgate-Hilfecenter-SSO7.3.png?alt=media\&token=dc57eadd-0faa-4012-990c-391389536669)
{% endstep %}
{% endstepper %}

#### Errors and solutions

<details>

<summary></summary>

Error message: "An error occurred. Please try again. Back to login."

**Cause**: The sipgate web user with Microsoft SSO was deleted and then recreated as a new sipgate web user. The old sipgate web user is still linked in the Microsoft SSO database.\
**Workaround**: Ask sipgate Support to delete the Microsoft SSO entry so that the next Microsoft SSO login works.\
**Solution**: We are working on a solution so that deleting a sipgate web user also deletes the Microsoft SSO entry.\
\
**Error**: SSO login fails with the error “AADSTS750054: SAMLRequest or SAMLResponse must be present as query string parameters in HTTP request for SAML Redirect binding.”\
**Cause**: unknown\
**Suggested solution**: In a browser, e.g. Chrome, [sipgate.de](http://sipgate.de) open, press F12, and switch to the **Network** tab. Then log in to sipgate via SSO and look for the POST request to our ACS URL in the Network tab (contains `sipgate-sso-` and the customer number), and send us the SAMLResponse from there via sipgate Support

</details>


---

# 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/account-management/login/wie-richte-ich-saml-sso-mit-microsoft-ein.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.
