← Back to Wye
Theme: System
Wye Help

Provision users from Microsoft Entra ID (SCIM)

For Owner, Admin · On the web

Provisioning lets Microsoft Entra ID add, update and deactivate your team in Wye and set their roles from your directory groups. It uses SCIM, the standard Entra's provisioning service speaks.

What you need

  • The Enterprise plan.
  • A Microsoft Entra ID connection that is on, and a verified email domain. See Set up sign-in with Microsoft Entra ID and Verify your email domain.
  • An owner of your company in Wye, and an Entra administrator who can set up provisioning for an app.
  • Provisioning to an app that isn't in Entra's gallery may need a Microsoft Entra ID Premium license (plan one or higher). Check your licenses first.

Google Workspace can't provision custom apps: invite people on the Team page instead.

Create a token in Wye

  1. Open Menu, select Sign-in, then the Provisioning tab (Enterprise only).
  2. Under Provisioning (SCIM), copy the Tenant URL.
  3. Type a label if you like (such as "Entra"), then select Create token.
  4. Copy the secret token now. You won't see it again.

Only owners create and revoke tokens; admins see the section but can't change it. Two tokens can be live at once, so you can rotate: create the new one, paste it into Entra, then revoke the old one. A third is refused with "Revoke a token before you create another."

Set up provisioning in Microsoft Entra ID

In the Microsoft Entra admin center:

  1. Open Enterprise applications and select the Wye app. It appears once someone from your organization has signed in with single sign-on; if not, select New application, then Create your own application, choose Integrate any other application you don't find in the gallery, and select Create.
  2. Open Provisioning, select Get started (or New configuration), and set Provisioning Mode to Automatic.
  3. Under Admin Credentials, paste the Tenant URL into Tenant URL and the token into Secret Token.
  4. Select Test Connection, then Save when it succeeds.
  5. Open Mappings, then Provision Microsoft Entra ID Users, and check these attribute mappings: userName from userPrincipalName (where people's sign-in name isn't their email address, map it from mail instead), externalId from objectId, active from the default Switch([IsSoftDeleted], ...) expression, name.givenName from givenName, name.familyName from surname, and displayName from displayName.
  6. Keep Provision Microsoft Entra ID Groups on, and check displayName from displayName, externalId from objectId, and members from members.
  7. Under Settings, set Scope to Sync only assigned users and groups, and save.
  8. Under Users and groups, assign the people and the groups who should have Wye. If your team already uses Wye, map the groups first (step 10): anyone Wye knows who is in no mapped group loses access at Entra's first sync, until they're in one.
  9. Select Provision on demand and try one person. In Wye, the Team page shows them as "No role from directory" until their group is mapped.
  10. Back in Wye, map the groups to roles on the Provisioning tab of Sign-in (see Map directory groups to roles), then provision on demand again: the person becomes active with those roles, or "Needs a seat" when no seat is free.
  11. In Entra, select Start provisioning. Entra then syncs about every 40 minutes.

What Entra does in Wye

  • Adds people. They need an email on a domain your company verified. Someone who already has a Wye account, for example with another company, is added with it. Someone already on your team is matched by email, and your directory then manages them.
  • Sets roles from the groups they're in. Until then they have no access.
  • Updates names and emails. A name and email change only when the person belongs to your company alone; the email changes only when they have no password either.
  • Deactivates people. When Entra sets someone inactive, or removes them from the app, they lose access to your company at once: their signed-in apps for your company are signed out, and if it was their only company, every session ends. Their history stays, and Entra can bring them back later.

Deactivating someone in Wye

You can deactivate someone your directory manages on the Team page, for example in an emergency. That wins over the directory: Entra doesn't reactivate them until the directory itself sets them inactive and then active again. Their roles stay with the directory; to manage them in Wye, see Map directory groups to roles.

While provisioning is on

  • Letting people from your domain ask to join is off as long as your company has a live token (see Let people from your domain ask to join).
  • Revoking every token stops provisioning. Turning the connection off, changing it, or leaving the Enterprise plan revokes all tokens.

If something fails, see Troubleshoot provisioning.

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.