Skip to main content
Directory sync is an Enterprise feature on Novu Cloud. It sits under SSO on Settings > Organization > Security, which the organization Owner sees after we enable self-serve. Shared behavior is on Directory sync. The enterprise application comes from Microsoft Entra ID SSO.
Use the same non-gallery enterprise application you created for SAML. Entra pushes users to Novu over SCIM 2.0 on Microsoft’s provisioning schedule. A new assignment often takes several minutes to appear.

Before you start

  • The Entra SSO connection exists. It does not have to be activated. People can be provisioned before they are able to sign in.
  • The email domain is verified on that connection.
  • Someone who can open Provisioning on the enterprise application and assign users or groups.
  • The SCIM endpoint URL and bearer token from the Security tab after you select Start configuration.
The bearer token is shown once. Paste it into Secret Token before you leave the page. Generate new token keeps the previous token working for 10 minutes. After that, Test Connection fails until Entra has the new secret.
Saving the URL and token does not by itself start the schedule. You also set Provisioning Status to On.

Configure provisioning in Entra

1

Set the mode to automatic

In the enterprise application, select Provisioning. Set Provisioning Mode to Automatic.
2

Enter the admin credentials

Under Admin Credentials:Select Test Connection, then Save. Do not turn provisioning on until this test succeeds.
3

Check the attribute mappings

Expand Mappings and open Provision Microsoft Entra ID Users. Confirm these targets:There is no target named email. emails[type eq "work"].value is the row that fills the SCIM emails value Novu reads. Its source has to be mail, the person’s primary mail address. Novu does not fall back to userName when that value looks like an email. If mail is empty, provisioning fails for that user. active is what marks the account enabled or deactivated.
4

Assign who is provisioned and turn it on

Assign the users and groups that should be provisioned. This can be the same assignment you made for SAML. Under Settings, set Scope to Sync only assigned users and groups. Then set Provisioning Status to On and select Save.With that scope, an account that exists in the tenant and is not assigned is not provisioned. Sync all users and groups ignores the assignment and can push the rest of the directory.

What Novu stores

Other Entra attributes are not applied from the Security tab. Group assignment does not set Novu roles. Ask us if you need an Entra group to map to Owner, Admin, Author, or Viewer. Only direct membership would count.

Test a user

Assign a user whose email is on a verified domain, then watch the test step on the Security tab. It lists email, name, time, and Active or Deprovisioned. Complete only closes the wizard. Provisioning is already running once Provisioning Status is On and the connection test has been saved.

When someone leaves

Remove them from the application assignment, or disable the account in Entra, and wait for the next provisioning cycle. Novu deactivates the account and revokes sessions. The account is not deleted. A SCIM delete is treated the same way. If they were also invited from Settings > Team, that membership remains until you remove it there. Deactivate pauses new sync from this directory and withdraws organization access that only this directory granted. It does not delete Novu accounts, the directory, a SCIM bearer token, or a stored Google service account key. A membership created from Settings > Team, or still granted by another directory, stays. Activate resumes sync. Access returns from the directory’s current state, not from a snapshot of who was a member before the pause. Remove deletes the directory after you type the organization name.
  • A membership that came only from this directory is removed.
  • An invitation membership, or access still granted by another directory, stays.
  • The Novu account is not deleted. If this was the only directory for that person, removing it does not sign them out. Deactivate them in the identity provider, and wait until that change has synced, before you remove the directory if they must lose access.
  • For SCIM, the bearer token is deleted. Setting directory sync up again creates a new endpoint and a new token.
  • For Google Workspace, Novu’s copy of the service account key is destroyed. That does not delete the key in Google Cloud. Delete it there if it may have leaked.

If Entra provisioning fails

Compare Tenant URL and Secret Token with the Security tab. Generate a new token if you left the page or the 10-minute overlap has ended.
Confirm they are assigned to this enterprise application, their mail address is on a verified domain, and emails[type eq "work"].value is mapped from mail. Then wait for Microsoft’s cycle. The provisioning logs on the Entra application show the skip reason.
The cycle may not have run. After it has, check Settings > Team for an invited membership that directory sync does not remove.
Email [email protected] with the error from Entra’s provisioning logs and the user’s email if the connection test succeeds and the user still fails to provision.