Set up single sign-on (SSO) with Microsoft Entra ID
Single sign-on (SSO) lets your colleagues log in to QR Suisse with their Microsoft work account (Microsoft Entra ID, formerly Azure Active Directory) instead of a separate QR Suisse password. It is reserved for the Entreprise plan, for company accounts, and takes three steps to set up: verify your domains, connect your Microsoft tenant, then enable it.
In short
- Who can set it up: a member with the Administrator permission, in a company account on the Entreprise plan.
- Supported provider: Microsoft Entra ID (Microsoft 365). Google Workspace is not available yet: write to us if you need it.
- What we receive from Microsoft: your tenant's identifier, the person's technical identifier at Microsoft, their email address, their first name and their last name, plus two technical indicators (is the address in a domain controlled by your tenant? is the person a guest?). QR Suisse reads nothing else in your tenant: no emails, no files, no list of users or groups. The privacy policy describes this processing.
- Session length: 24 hours at most, after which the person signs in again through Microsoft.
- Passwords still work: single sign-on is enabled in optional mode. Your colleagues can log in with their work account or with their QR Suisse password.
Before you start
- Open the Subscription screen, then the Single sign-on (SSO) card and its Set up button. The card is only shown to administrators of a company account on the Entreprise plan.
- You need to be able to edit the DNS zone of each domain used in your colleagues' email addresses.
- Consent at Microsoft must be given by an administrator of your Microsoft tenant. If that is not you, plan to do step 2 with your IT department.
- Your own QR Suisse access must use your work address, the same one as your Microsoft account: the test in step 2 is done with that account.
- These domains must also be verified domains of your Microsoft tenant. Otherwise the test in step 2 fails.
- Keep at least one administrator who can log in with a password, in case Microsoft is unavailable or misconfigured.
Step 1: verify your domains
-
In the Email domain field, enter the domain of your addresses, for example
company.ch(without@orhttps://), then click Add this domain. -
The screen shows "…: awaiting verification" and the DNS record to create with your DNS provider:
Type Name / Host Value TXT _qrsuisse-sso.followed by your domain (for example_qrsuisse-sso.company.ch)the value shown on screen (Copy button) Depending on your DNS provider, the "Name" field expects either the full name or only
_qrsuisse-sso. -
Click Verify now once the record is in place (at least 30 seconds between two checks), or wait for our automatic daily check. DNS propagation can take from a few minutes to 24-48 hours.
-
As soon as the check succeeds, the screen shows "…: verified".
Good to know:
- A domain does not cover its subdomains. If some colleagues have an address at
@swiss.company.ch, add that domain too. - You can add up to 10 domains.
- Public email domains (gmail.com, outlook.com, bluewin.ch…) are refused.
- A domain can be verified by only one QR Suisse account. If the message "This domain cannot be added" appears although the domain is yours, contact support.
- This record is separate from the custom domain record (
_qrsuisse-verify): one never validates the other. - To remove a domain, click Remove this domain below its status. It no longer serves for single sign-on and becomes available to another account again. If you add it again later, a new DNS record will be needed.
Keep the DNS record in place. We check it again every day. If it disappears or changes, the domain switches to "verification failed" and the account's administrators are notified by email. Until it is restored, no new person can be linked through single sign-on for that domain. Members who are already linked can still log in.
Step 2: connect Microsoft Entra ID
- Click Connect Microsoft Entra ID. You are taken to Microsoft.
- An administrator of your Microsoft tenant signs in and gives consent to the "QR Suisse" application. If consent is not given, the screen tells you when you come back.
- Right after consent, the sign-in test starts: Microsoft asks which account to use. Choose your own work account, the one with the same address as your QR Suisse access. If the test is interrupted, the screen shows "Consent received": click Test the sign-in to resume it.
- When the test passes, the screen shows "Microsoft Entra ID connected", with your tenant's identifier, the test date and the address used. Your work account is now linked to your QR Suisse access.
The test is mandatory: it proves that your Microsoft tenant confirms your addresses in your verified domains. Without a successful test, single sign-on cannot be enabled. QR Suisse shows your tenant's technical identifier, not its name. Until single sign-on is enabled, you can run the test again (Test again) or connect another tenant (Connect another tenant). A QR Suisse account is linked to a single Microsoft tenant.
On your side, in Microsoft
After consent, the "QR Suisse" application appears among the enterprise applications of your tenant. These settings stay in your hands:
- Limit access to the people you choose: turn on "Assignment required" on the "QR Suisse" application, then assign the relevant users or groups to it. Without this setting, anyone in your tenant whose address is in a verified domain can get through the Microsoft step. What happens next depends on your choice in step 3.
- Multi-factor authentication and conditional access: they are managed in your tenant. QR Suisse follows Microsoft's decision.
- Removing access: if you remove the consent or the application from your tenant, single sign-on log-ins fail.
Step 3: choose who can log in, then enable
- Under Who can log in with single sign-on?, choose an option (none is selected in advance):
- Only people who are already members or invited in QR Suisse: you keep inviting each person from the Users screen;
- Create a member automatically on their first log-in (address in a verified domain): then tick the permissions each automatically created member receives.
- Tick the box by which you accept, on behalf of your company, the clauses of the terms of use that apply to single sign-on.
- Click Enable single sign-on. The screen shows "Single sign-on active". All the account's administrators are notified by email.
For automatically created members:
- the Administrator and Manager of users permissions are never given automatically;
- Manager of the subscription allows changing or cancelling the subscription, and an API key created by a Manager of API keys keeps working after they leave: tick these knowingly;
- if you tick no permission, these members have no rights until an administrator gives them some;
- at most 50 members can be created automatically per hour. Beyond that, the person is asked to try again later.
You can change this choice at any time under Member creation, with Save. All administrators are notified by email.
How your colleagues log in
- On the QR Suisse log-in page, they choose "Log in with single sign-on (SSO)".
- They enter their work email address and click Continue.
- They sign in at Microsoft, under your tenant's rules (multi-factor authentication included), then land on their dashboard.
Depending on the person's situation:
| Situation | What happens at their first single sign-on log-in |
|---|---|
| Already a member of the account, with the same address | Their access is linked automatically to their work account. They are informed by email |
| Invited, invitation not yet accepted | The invitation is accepted by this log-in |
| Member with the Administrator, Manager of users or Manager of the subscription permission | For security, no automatic link: they log in once with their password, then open My account and click Link my work account |
| Unknown to QR Suisse | Created automatically if you chose so: they receive a welcome email and the administrators are notified by email. Otherwise, the message "You do not have access to QR Suisse yet": invite them from the Users screen |
| Address already used in another QR Suisse account | Log-in refused; the person writes to contact@qrsuisse.ch to sort it out |
| Member disabled in QR Suisse | Log-in refused |
| Guest (B2B) account of your tenant, or personal Microsoft account | Log-in refused |
A session opened with single sign-on lasts 24 hours at most, even if the person stays active. After that, they sign in again through Microsoft.
Automatically created members have no QR Suisse password. If they need one, they can set it with Forgot your password? on the log-in page.
When a colleague leaves the company
QR Suisse receives no information from Microsoft when someone leaves your organisation: removing their access is your responsibility. Do both of the following:
- At Microsoft, disable or delete their account, or remove their assignment to the "QR Suisse" application: no new single sign-on log-in is then possible.
- In QR Suisse, disable their access from the Users screen: they lose access at their next request, including in a session that is already open.
Do not skip step 2. Without it, a session that is already open stays valid for up to 24 hours. And because single sign-on runs in optional mode, a person who has a QR Suisse password can still log in with it.
Also think of the API keys they created: they keep working after the person leaves. Revoke the ones you no longer need from the API keys screen.
If your account leaves the Entreprise plan
- A scheduled move back to the Pro plan changes nothing until its effective date: single sign-on works until then.
- As soon as the account is no longer on the Entreprise plan, single sign-on stops working. Sessions opened with single sign-on are closed at the next request.
- Members who have a password log in as usual. The others set one with Forgot your password?.
Disable single sign-on
Once single sign-on is active, the Disable single sign-on section is at the bottom of step 3. The button first opens a confirmation screen, which shows how many members are linked to a Microsoft account and which of them have no password. Nothing changes until you confirm.
As soon as you confirm:
- the Microsoft sign-in is cut off for the whole account;
- the link between each member and their Microsoft account is deleted in QR Suisse. Nothing is changed at Microsoft. Members, their permissions and their QR codes are kept;
- members log in with their password. Those who have none create one with Forgot your password?;
- members currently logged in with Microsoft are logged out. You stay logged in;
- authorisations given to applications or agents (OAuth) from a session opened with single sign-on are revoked;
- an email notifies all administrators and the members concerned.
Your verified domains stay in place. Member creation goes back to "Only people who are already members or invited in QR Suisse".
To enable single sign-on again, repeat steps 2 and 3: reconnect Microsoft Entra ID, run the sign-in test again, choose again who can log in and accept the clauses of the terms of use again. Each member links their work account again, as at the first activation.
Change Microsoft tenant
Before activation, use Connect another tenant in step 2. Once single sign-on is enabled, the tenant cannot be changed directly: disable single sign-on, then connect the new tenant in step 2 and enable it again.
Frequently asked questions
Does QR Suisse support Google Workspace?
Not yet. Only Microsoft Entra ID is available today. Write to us if you need Google Workspace.
Does QR Suisse offer SAML SSO (Okta, ADFS…)?
No. QR Suisse single sign-on works with Microsoft Entra ID only.
What data does QR Suisse receive from Microsoft?
Your tenant's identifier, the person's technical identifier at Microsoft, their email address, their first name and their last name, plus two technical indicators (is the address in a domain controlled by your tenant? is the person a guest?). QR Suisse reads nothing else in your tenant. The privacy policy describes this processing.
Do my colleagues keep their password?
Yes. Single sign-on is enabled in optional mode: they can log in with their work account or with their QR Suisse password.
How long does a session last?
24 hours at most after logging in, even with activity. After that, the person signs in again through Microsoft.
The test fails with "does not have the same email address": what should I do?
The Microsoft account you chose does not have the same address as your QR Suisse access. Run the test again and choose your own work account.
The test fails with "Your Microsoft tenant does not confirm your address": what should I do?
Check that your address's domain is verified in QR Suisse (step 1) and in your Microsoft tenant. A guest (B2B) account of your tenant cannot be used for the test.
Microsoft refuses a colleague's log-in: why?
Most often, "Assignment required" is on and the person is not assigned to the "QR Suisse" application. Check the assignment in your tenant's enterprise applications.
Can I go back after enabling it?
Yes. An administrator can disable single sign-on at any time, at the bottom of step 3. Members then log in with their password. See "Disable single sign-on" above.
A colleague with administration rights is not linked automatically: is that normal?
Yes. For security, members with the Administrator, Manager of users or Manager of the subscription permission link their work account themselves, from My account, after logging in with their password.