Skip to main content

Set up SSO with Microsoft Entra ID

Give employees and admins 1 work-account login for the Web Portal and the Admin Portal.

Written by Krasto Milchev

➤ Product: OfficeRnD Workplace
➤ Who: Admins, and a Microsoft Entra ID user who can register applications
➤ Where: On the Admin Portal, under Settings > Integrations, and in the Microsoft Entra admin center
➤ Availability: All plans

Without single sign-on (SSO), each employee keeps a separate password for OfficeRnD Workplace and needs an invitation before the first login. With SSO through Microsoft Entra ID, employees and admins log in to Workplace with their Microsoft work account.

SSO works on the Web Portal and the Admin Portal through 1 app registration in Microsoft Entra ID. To create and update employee profiles from Microsoft Entra ID, use SCIM provisioning with SSO.


In this article:

  • Which 4 values to copy from Microsoft Entra ID into Workplace

  • Which client secret value to copy, and which one blocks login

  • What happens to password login after you activate SSO

  • Why SSO stops working, and how to fix it

  • Not covered here: creating employees from Microsoft Entra ID. [Workplace] Microsoft Entra ID SCIM provisioning →


Before you start

Workplace links an SSO login to an employee by email address. Before you start, make sure that you have these items:

  • A Microsoft Entra ID user with permission to register applications.

  • Admin access to Settings in Workplace.

  • The same email address for each employee in Workplace and in Microsoft Entra ID. If the 2 email addresses are different, the employee cannot log in with SSO.

  • A test account that exists in Workplace and in Microsoft Entra ID. Use this account to test SSO before all employees use it.


Set up SSO for the Web Portal

Web Portal SSO connects 1 app registration in Microsoft Entra ID to the SSO Authentication integration in Workplace. You copy values in both directions, so keep Workplace and the Microsoft Entra admin center open in 2 browser tabs.

  1. In Workplace, go to Settings > Integrations, find SSO Authentication and click Activate.

  2. Click Configure and copy the Return URL. Keep this dialog open, because you fill it in at step 7.

  3. In a second tab, open the Microsoft Entra admin center ↗︎ and go to Entra ID > App registrations.

  4. Click New registration.

  5. Enter a name that your team recognizes. For example, enter OfficeRnD Workplace.

  6. Under Supported account types, keep the default Single tenant only - {your tenant name}. With this value, only accounts in your directory can log in.

  7. Under Redirect URI (optional), select Web in the Select a platform drop-down menu. Paste the Return URL from step 2 in the field next to it and click Register.

  8. On the Overview page of the app, copy the Application (client) ID and the Directory (tenant) ID.

  9. Go to Manage > Certificates & secrets > Client secrets and click New client secret. Enter a description, choose an expiry period and click Add.

    Write down the expiry date. SSO stops working on that date until you replace the client secret.

  10. Copy the text in the Value column immediately, because Microsoft Entra ID shows it only once. Do not copy the Secret ID, because login fails with it.

  11. Go back to the Workplace tab, where the SSO dialog from step 2 is still open. Fill in these 4 fields:

    • Title: the text on the login button. Employees see "Login with {Title}". For example, enter Microsoft.

    • Client ID: the Application (client) ID from step 7.

    • Client Secret: the Value from step 9.

    • Discovery URL: this URL, with {Tenant ID} replaced by the Directory (tenant) ID from step 7:
      ​https://login.microsoftonline.com/{Tenant ID}/v2.0/.well-known/openid-configuration

  12. (Optional) Turn on Automatic Account Activation. With this setting on, employees who already exist in Workplace can log in without an invitation. With this setting off, an admin must give portal access to each employee who does not have it yet.

  13. Click Update to save the SSO settings.

  14. Open the Web Portal in a private browser window and log in with your test account. A private window does not use your current admin session, so the test shows what employees see.


Set up SSO for the Admin Portal

Admin Portal SSO uses the same app registration and client secret as the Web Portal, with its own Return URL. Add the Admin Portal Return URL to the app registration as a second redirect URI:

  1. In Workplace, go to Settings > Integrations, click Configure on SSO Authentication and click Activate Admin Portal SSO.

  2. Copy the Return URL under Admin Portal.

  3. In the Microsoft Entra admin center, open the app you have registered and go to Authentication (Preview). Stay on the Redirect URI configuration tab.

  4. Click + Add Redirect URI, select Web and paste the Return URL from step 2.

    Keep the Web Portal redirect URI in the list. If you delete it, employees cannot log in to the Web Portal.

  5. (Optional) Turn on Enforce SSO for All Admins. With this setting on, admins can log in to the Admin Portal only with SSO. With this setting off, admins can use SSO or their Workplace email and password.

  6. Click Configure in Microsoft Entra ID, then click Update in Workplace.

  7. Log in to the Admin Portal with an admin account in a private browser window to test the setup.


(Optional) Limit SSO to selected people

By default, every person in your Microsoft Entra ID directory who also exists in Workplace can log in with SSO. To allow only the people that you select, make assignment required for the app:

  1. In Microsoft Entra ID, go to Manage > Enterprise applications and open the app that you registered for Workplace.

  2. Go to Properties, set Assignment required? to Yes and click Save.

  3. Go to Users and groups, click Add user/group and select the people who can log in.

The Assignment required? setting applies to both portals, so assign your admins too. People who are not assigned see Microsoft error AADSTS50105 when they log in.

You can assign groups only if your tenant has Microsoft Entra ID P1 or P2. Without P1 or P2, Microsoft Entra ID shows "Groups are not available for assignment due to your Active Directory plan level. You can assign individual users to the application." In that case, assign users one by one. Assign users and groups to an application ↗︎


Replace the client secret before it expires

Each client secret in Microsoft Entra ID has an expiry date, and SSO stops working on that date. To keep SSO working, replace the client secret before it expires:

  1. In Microsoft Entra ID, open the app you registered and go to Certificates & secrets.

  2. Click New client secret and copy the new Value.

  3. In Workplace, go to Settings > Integrations and click Configure on SSO Authentication. Paste the new Value into Client Secret and click Update.

  4. Log in with SSO in a private browser window. When the login works, delete the old client secret in Microsoft Entra ID, because the old client secret stays valid until it expires.


FAQs

Can employees still log in with a password after I activate SSO?
After you activate SSO, employees cannot log in to the Web Portal with a Workplace password. Activating SSO turns off password login, the Reset password links and the login token in Workplace invitation emails.

Does SSO create employees in Workplace?
SSO does not create employees in Workplace. An employee must already exist in Workplace, with the same email address as in Microsoft Entra ID. To create and update employees from Microsoft Entra ID, set up SCIM provisioning. Set up SCIM provisioning with Microsoft Entra ID →

Can I connect more than 1 Microsoft Entra ID tenant?
On the Admin Portal, you can set up only 1 SSO integration, so you can connect 1 Microsoft Entra ID tenant. More SSO integrations need the Enterprise Edition plan, and OfficeRnD Support sets them up. Read about multi-tenant SSO and SCIM →

Why did SSO stop working?
SSO login fails in each of these 4 cases:

Cause

Fix

The client secret expired.

Create a new client secret and paste its Value into Client Secret in Workplace.

A redirect URI is missing from the app registration.

Add the Return URL for that portal again under Authentication (Preview).

Assignment required? is Yes, and the person is not assigned. The person sees error AADSTS50105.

Assign the person under Users and groups in Enterprise applications.

The email address in Workplace is different from the email address in Microsoft Entra ID.

Make the 2 email addresses the same.

Why can't I select the Workplace Android app in Intune?
When you add the Workplace Android app from Managed Google Play, Intune can show the Select button as unavailable. Click Select anyway, then click Sync and wait until the app shows under Android Apps. Add the Workplace Android app to Intune →

Did this answer your question?