Zum Inhalt springen
DeutschlandGPT
Organization

Sign-in, SSO & SCIM

Require two-factor authentication and set up SAML 2.0 single sign-on and SCIM user provisioning through one Microsoft Entra enterprise application

On the page Organization settings → Security & compliance → Sign-in & SSO you decide how the members of your organization sign in: whether they must set up two-factor authentication and whether sign-in runs through your identity provider.

Route sign-in through your identity provider with SAML 2.0 single sign-on, and keep your member list in sync automatically with SCIM provisioning if you like. Both run on a single Microsoft Entra enterprise application: you create it once for SSO, then turn on SCIM for the same application.

SSO and SCIM are available to every business organization, including Business trials and Enterprise organizations. The page Sign-in & SSO and creating, pausing or deleting the SCIM token are limited to administrators with full access (for example the system role Admin): the SAML connection decides who may sign in as which member, and the SCIM token grants access to your whole directory. The two settings pages are called Sign-in & SSO and SCIM Provisioning and sit in the group Security & compliance of the organization settings.

Require two-factor authentication

Switch “Require two-factor authentication” in the organization settings

With Require two-factor authentication, every member must set up two-factor authentication before they can use the app. You can only turn it on after enabling two-factor authentication on your own account.

When you confirm with Require, every member without two-factor authentication is signed out immediately, including in the mobile, desktop and Office apps and, unless you exempted them (see below), in connected apps. They can only use the app again after completing the setup. Members who already use it stay signed in.

Until they set it up, their app passwords are refused as well, and so are their connected apps while Also applies to connected apps (OAuth), right below, is on. That switch is on by default. Turn it off to let connected apps, MCP hosts and sync clients keep working; members still have to set up two-factor authentication before they can use the app in the browser. API keys are not affected either way: they are meant for programs, not for signing in.

If a member has lost their authenticator app, they sign in with one of their backup codes and set up the app on a new phone themselves. If they have lost their backup codes too, reset their two-factor authentication on their page under Members.

Members see the requirement in their settings under Security, marked Set by your organization, and can then no longer switch two-factor authentication off.

1. Create the enterprise application in Microsoft Entra

  1. Sign in to the Microsoft Entra admin center.
  2. Go to Identity → Applications → Enterprise applications → New application → Create your own application.
  3. Name it (for example "DeutschlandGPT"), choose Integrate any other application you don't find in the gallery (Non-gallery), and create it.

You configure SAML SSO on this application below. If you use SCIM, it runs on the same application.

2. Configure SAML single sign-on

Verify a domain (in DeutschlandGPT)

Verified domains with status and DNS TXT record

SSO stays locked until at least one domain is verified. On the Sign-in & SSO page, add each domain your users sign in with under Verified Domains (for example example.com). Click a pending domain to see its TXT record (DNS Name and TXT Value), publish it at your DNS provider and click Check, in that window or on the domain's row. Users whose email address matches a verified domain are routed to your organization for SSO. A domain can be verified by only one organization. If another organization has already verified it, Check refuses it with a notice. If members sign in through SSO with an address whose domain is not verified (nor a subdomain of a verified domain), the page lists those domains with their member count and a button to verify them. Administrators with full access also see a notice in the app. A Microsoft tenant's default domain (….onmicrosoft.com) cannot be verified and is shown for information only.

SSO and SCIM cannot create a new member whose address is on a domain that another organization has verified (or on a subdomain of it), for example a consultant from another customer. Invite such a person to your organization instead; once invited, they can sign in through your SSO. Members who already exist are not affected.

ActionDescription
Add domainEnter a domain, then copy the TXT record to your DNS provider
CheckRun a fresh DNS lookup once the record is published
RemoveIn the … menu of a domain, after a confirmation. While SSO is on, the sign-in domain and the last verified domain cannot be removed

Register DeutschlandGPT in Entra

Service provider values to enter in the identity provider

In your enterprise application, open Single sign-on → SAML and fill in the Basic SAML Configuration with the read-only values from the card Service Provider Configuration on the SSO page:

Entra field (Basic SAML Configuration)DeutschlandGPT value
Identifier (Entity ID)SP Entity ID
Reply URL (ACS URL)Assertion Consumer Service (ACS) URL
Sign on URLSign on URL

The card also shows the SP Metadata URL, in case your identity provider can read the configuration from it.

Connect your identity provider (in DeutschlandGPT)

Fill in the card Identity Provider Configuration. The quickest way is Import from metadata URL: paste your Entra app's federation metadata URL and the SSO URL, entity ID and certificate are filled in for you. You can also enter the values by hand.

FieldDescription
IdP SSO URLYour IdP's SAML 2.0 endpoint
IdP Entity IDThe issuer or entity ID from your IdP. Required: without it, sign-in is refused
IdP Signing Certificate (PEM)The signing certificate including its BEGIN/END lines, or use Upload certificate file
IdP Metadata URL (optional, for reference)Stores the metadata URL so you can find it again when the certificate rotates

Click Save configuration.

Enable SSO

Click Enable SAML 2.0. You need a verified domain, and you confirm two statements: the configuration is complete, and every user who needs access is assigned in the identity provider.

While SSO is enabled, members can neither sign in with email and password nor reset a password. Passwords set before work again if you switch back to email & password login.

Sign-in through the IdP can only be tested once SSO is enabled. Your current session stays active, so proceed like this:

  1. Keep the SSO page open in your signed-in browser window and click Enable SAML 2.0.
  2. Open a private browser window and sign in with an address on your verified domain. Alternatively, run Test this application in Entra, provided the Sign on URL is entered.
  3. If sign-in fails, click Switch to email & password login in the first window. Your users sign in as before, and you can correct the configuration.

Existing sessions stay active; new sign-ins go through the IdP. To end current sessions immediately, use Force logout all users below. Only do that once the test has succeeded, because it ends your own session too.

Which role new members get on their first SSO sign-in is set on the Members page under Role on first sign-in (SSO).

3. Enable SCIM provisioning (same application)

SCIM keeps your member list in sync automatically. New employees are created the moment they are assigned in Entra, and departing ones are deactivated. SCIM requires SSO. Set up SSO first and reuse the same enterprise application. Without SSO, the SCIM page only shows Single Sign-On required with a link to Set up Single Sign-On.

While SCIM is active, the Users page shows SCIM user management active. Inviting and editing members happens in Entra, not in DeutschlandGPT.

Create the SCIM token (in DeutschlandGPT)

SCIM provisioning with URL, secret token and the switch to pause it

An administrator with full access (for example the system role Admin) does this step; everyone else sees a note in its place. Open SCIM Provisioning, keep Microsoft Entra ID selected and click Create. The dialog SCIM secret key shows the token once. Store it safely, because you cannot view it again. The page then shows the URL (the tenant URL for Entra) and the masked Secret token.

Connect Entra to DeutschlandGPT

In your enterprise application, open Provisioning → Connect your application and enter:

  1. Tenant URL: the URL from DeutschlandGPT.
  2. Secret Token: the secret token from DeutschlandGPT.
  3. Click Test connection, then Save.

Attribute mapping

Open Provisioning → Mappings → Provision Microsoft Entra ID Users. Keep only the mappings below and delete every other default mapping. Entra ships extras, such as the employee ID, that DeutschlandGPT ignores.

DeutschlandGPT (SCIM) attributeEntra source
userNameuserPrincipalName
activeSwitch([IsSoftDeleted], , "False", "True", "True", "False")
displayNamedisplayName
emails[type eq "work"].valuemail
name.givenNamegivenName
name.familyNamesurname
name.formattedJoin(" ", [givenName], [surname])
externalIdmailNickname

Keep the mapping emails ← mail. Without it, SCIM creates a member with their userPrincipalName as address, even though the person signs in through SSO with their mail address. DeutschlandGPT then recognises the member at SSO sign-in by the UPN (the upn claim or the NameID). If the sign-in carries no UPN, the first SSO sign-in creates a second account.

Save the mappings, assign the users and groups you want provisioned to the application, then set provisioning On.

Changed email addresses

When an address changes in Entra, Entra sends the change for the existing account, and DeutschlandGPT changes that account's address. Chats, licence and roles stay with it, and the next SSO sign-in with the new address opens the same account. If another account in your organisation already uses the new address, the update is refused, and Entra shows the error in its provisioning log. Delete that other account on the Members page first; a deactivated account still holds its address.

Welcome email to new members

With the switch Welcome email to new members on the SCIM Provisioning page, every member SCIM newly creates or later activates gets one email: your organisation has set up their access, and they sign in with their company account via single sign-on. The switch starts off. Members who were already active get no email, not even when you turn it on. During a trial these emails count toward the invitation limit.

Pause or remove SCIM

The switch Manage SCIM integration pauses SCIM, for example when you need to make manual changes in DeutschlandGPT. To remove SCIM for good, pause it first and then click Delete SCIM integration. This cannot be undone. Also switch off or delete the provisioning on the Entra side.

Below the settings, a table lists recent SCIM activity with Resource, Action, Details and Timestamp.

Departing employees (deprovisioning)

When you remove the app assignment in Entra, disable the account or delete the user, SCIM deactivates the account in DeutschlandGPT and releases the licence it held. The member stays in the list with the status Inactive. Inactive members cannot sign in and use no licence.

An inactive account can be deleted permanently on the Members page (permission Remove members from the organization). Deleted accounts lose all access immediately and are removed for good, together with their data, after 30 days. Until then you can bring a deleted account back with Restore under the status filter Deleted. While SCIM is active, it returns as an inactive account.

While SCIM is active, only members that have already been deprovisioned in Entra (status Inactive) can be deleted. Revoke access in Entra first. Otherwise the next synchronisation simply creates the account again.

Signatures (optional hardening)

Settings for signed SAML requests and required signatures

Sign authentication requests signs the SAML requests DeutschlandGPT sends to your IdP. Leave it off unless your IdP explicitly requires signed requests. The switch is greyed out when the platform has no signing key.

Required signatures on incoming responses decides which signatures the IdP's answer must carry:

  • Require signed Response: the outer SAML Response must be signed. This matches Microsoft Entra's default ("Sign SAML response").
  • Require signed Assertion: the inner Assertion must be signed. This binds the signature most tightly to the user's identity claims.

With neither option ticked, a valid signature on either the Response or the Assertion is enough. Completely unsigned responses are always rejected.

Signature algorithm: Sign with SHA-256 or stronger. SHA-1 is no longer considered secure, and a sign-in signed with SHA-1 (signature or digest) is refused. If your IdP still signs with SHA-1, the SSO settings show a warning after the first refused sign-in. Set the signing algorithm of the DeutschlandGPT application in your IdP to SHA-256 (in Microsoft Entra, in the SAML certificate settings of the application).

Force logout all users

Force logout all users ends every active session in the organization at once, along with every member's connected apps (assistants, the CLI, sync clients) and WebDAV app passwords. Use it after a suspected credential leak or to enforce a policy change. Before you do, make sure SSO is tested and every member who needs access is assigned in the identity provider, or they may not get back in.

Was this page helpful?