Skip to main content
Quick Summary: When SCIM syncs users from Microsoft Entra ID into SkillsDB, several Entra and Stytch limitations affect how email changes, manager assignments, and group deletions propagate. This page documents each limitation and the workaround.

Overview

Microsoft Entra ID’s SCIM implementation has documented limitations that customers using SkillsDB should understand before enabling provisioning. This page covers:
  • How email changes propagate for internal vs. external (guest) users
  • The manager provisioning race condition on the first sync and how to resolve it
  • Why manager unassignments in Entra may not propagate
  • When SkillsDB deactivates users automatically
  • What happens in SkillsDB when a group is deleted in Entra
  • How SkillsDB prevents circular management hierarchies
Each section is independent. Read the ones that apply to your scenario.

Prerequisites

Before using this page, make sure you have:
  • Setup requirement: An active SCIM connection between Entra and SkillsDB (see SCIM Setup)
  • Permission level: Microsoft Entra administrator access to diagnose or reconfigure provisioning

Provisioning mapping

The SCIM Setup guide requires mapping externalId to objectId in the Entra provisioning attributes. If you enabled SCIM without completing this mapping, do it now — the correction applies to future sync events and does not require recreating existing users.

Email change behavior

Entra handles email changes differently depending on whether the user is internal or external. SkillsDB follows Entra’s behavior.

Internal users

For users created directly in Entra as user accounts, email changes propagate through SCIM. SkillsDB updates the existing user’s email to match.

External users (guests)

For users invited to Entra as guests, the invitation email cannot be changed. To change an external user’s email, Entra requires removing the guest and re-adding them with the new email. When this happens:
  1. SkillsDB receives a deprovisioning event for the old email and deactivates that user
  2. SkillsDB receives a provisioning event for the new email and creates a new user record
The two records are independent. Historical data (assessments, training, assignments) on the old record is preserved but does not carry over to the new one.

Manager provisioning order

On the first-ever SCIM sync, Entra does not guarantee that managers are provisioned before their direct reports. When a direct report arrives first, SkillsDB looks the manager up in the identity provider: if the manager already exists there, SkillsDB creates the manager’s record and links it on the same event. If the manager has not reached the identity provider yet either, the manager cannot be assigned on that event.

How to resolve this

SkillsDB closes this gap on its own. A background sync runs every six hours over every active SCIM-provisioned user, reads the manager from the identity provider, and links the manager when it differs from what SkillsDB holds. The same sync promotes the manager to the Manager role and deactivates users who are no longer in the identity provider or are inactive there. It never clears a manager and writes nothing to the SCIM event log. If you do not want to wait, restart provisioning on the Entra enterprise application after the first sync cycle completes. The restart resends every user, including the manager links, now that all users exist in SkillsDB.
A restart sends a full update for every user. Each update clears the fields SCIM never carries (Employment Type, Home Number, Gender, Notes, Company, Website / Resume Link, Attachments, the profile picture, Next Available Date and others listed in SCIM Setup), and reactivates any user an administrator deactivated by hand in SkillsDB who is still active in Entra (see User deactivation below). To fix a few users only, use Provision on demand for them instead.

Option 1: Restart manually

1

Open the application

In the Azure portal, navigate to Enterprise applications > All applications and select your SCIM application.
2

Go to Provisioning

Select Provisioning > Overview.
3

Restart

Select Restart provisioning.

Option 2: Automate the restart

If you want to restart provisioning on a recurring basis, call the Microsoft Graph API. Every scheduled restart is a full resend, so the warning above applies on each run: the fields SCIM never carries are cleared and hand-deactivated users who are still active in Entra are reactivated each time.
  1. Find your enterprise app’s service principal ID
  2. List provisioning jobs to get the job ID:
  3. Restart the job:
  4. Schedule the call via Azure Logic Apps, Power Automate, an Azure Automation Runbook, GitHub Actions, or an Azure DevOps pipeline.

Manager unassignment

Entra does not propagate null attributes through SCIM. If you remove a user’s manager in Entra without assigning a new one, the manager field becomes null and Entra skips it during the next sync. As a result, the removal may never reach SkillsDB, and the user can keep showing their previous manager. Reassigning a user to a different manager works as expected — the new manager value propagates and SkillsDB updates the record. This is an Entra-side limitation: Entra does not provision null attribute values, so an attribute that is empty on the user is left out of the SCIM request. Microsoft documents it in the known issues for application provisioning.

Workaround

The fix is in Entra: make sure the old manager is no longer held on the user’s provisioned attributes, then trigger a sync (for example, with Provision on Demand). The next SCIM event for that user then carries no manager, and SkillsDB clears the field. SkillsDB cannot clear it for you. The Manager field on a SCIM-provisioned user’s account page is read-only, and the six-hourly background sync re-applies whatever manager the identity provider still holds.

User deactivation

SkillsDB soft-deletes a user (sets them inactive without removing their data) when any of the following occurs in Entra:
  • The user is removed from all provisioned SCIM groups
  • The user is disabled in Entra (account enabled set to off)
  • The user is unassigned from the SCIM application
Deactivated users remain in SkillsDB for reporting and audit purposes. Their historical assessments, training records, and assignments are preserved. If the same user is later re-provisioned through SCIM, SkillsDB reactivates the existing record rather than creating a new one. Reactivation is decided by the user’s active flag alone. A user who was deactivated for losing their last SCIM group, or because their only group was deactivated in SkillsDB, is reactivated by the next SCIM update that still reports them as active in Entra, keeping their lowered permission level. To make a deactivation stick, disable the user in Entra or unassign them from the SCIM application. SkillsDB’s six-hourly background sync also deactivates any SCIM-provisioned user it can no longer find in the identity provider, or who is inactive there. Unlike a deactivation processed from a SCIM event, the background sync leaves the user’s group memberships in place.

Groups deleted in Entra

When a custom SCIM group that SkillsDB knows is deleted in Entra, the group delete event does the following in SkillsDB:
  • The group is marked inactive. Its settings, including career automations, are kept on the inactive group
  • Every membership is ended, with a Member Removed event per user
  • Career automations on the group with unassign-on-removal enabled unassign their careers
  • Each former member’s permission level is recalculated from their remaining active groups, logged as a Permission event when it changed
The group delete event itself does not deactivate anyone. Deactivation happens through the member-removed events your identity provider sends for each user of the deleted group: each one recalculates that user’s permission level and deactivates them if no active SCIM group remains. A member-removed event for a group SkillsDB never registered (a “ghost” group) is handled the same way: the user’s permission level is recalculated from their remaining groups, and they are deactivated if none remain. The two default groups (SkillsdbGlobalAdmins and SkillsdbFullAccess) cannot be deleted through SCIM — the group delete event is ignored, although it is still written to the event log as Group Deleted. The per-member events are still processed, so each user loses the level and is deactivated if it was their only group.

Circular hierarchy prevention

SCIM can transmit manager assignments that would create a circular management chain — for example, User A manages User B, and later User B is assigned as User A’s manager. SkillsDB detects these cases and skips the manager assignment to prevent a cycle. When a circular assignment is detected:
  • On a SCIM event, the assignment is skipped and the user’s manager field is cleared, exactly as if the event carried no manager
  • On the six-hourly background sync, the assignment is skipped and the user’s current manager is left as it is
  • No event is recorded in the SCIM event log for the skipped assignment
  • No error is returned to Entra, so the sync continues for other users
Because the skip is not logged, the only sign of it is a user whose manager is empty in SkillsDB although Entra holds one. If a user’s manager in SkillsDB does not match Entra after a sync, check whether the new manager reports to that user, directly or further down the chain. Fix the reporting lines in Entra, then trigger a sync for the user.

Common Questions

If the user is an external (guest) account in Entra, email changes are not supported by Entra — the user must be removed and re-added with the new email. SkillsDB will deactivate the old record and create a new one. For internal users, email changes sync normally; if they are not appearing in SkillsDB, check the SCIM Event Log for errors.
Entra does not send null attributes through SCIM, so removing a manager without assigning a new one may not propagate. The fix is to assign the correct manager in Entra, or make sure the old manager no longer appears on the user’s provisioned attributes, and then sync. The Manager field is read-only in SkillsDB for SCIM-provisioned users, and the six-hourly background sync re-applies whatever manager your identity provider still holds.
SkillsDB ignores the group delete event for the two default SCIM groups, but still processes the member-removed events Entra sends for each user. Those users lose the Admin or Full Access level and are deactivated if it was their only SCIM group. Recreate the group in Entra and re-add the users to restore their access.
In SkillsDB, navigate to Company > Settings, find the SSO & SCIM row, and select Configure. The Last provisioning event received timestamp confirms events are arriving. Use the Active Users count on each default group row to confirm users are assigned. For a detailed event-by-event view, open the SCIM Event Log with Event log under Navigate in the Actions menu (or press ⌘K on Mac, Ctrl+K on Windows, and search for “View SCIM event log”).
You can, but it does not stick. An administrator can select Deactivate account from the Actions menu on the person’s page, but the next SCIM update for that user, with the account still active in Entra, reactivates it. To keep a SCIM-provisioned user inactive, disable their account in Entra or remove them from the SCIM application.

SCIM Setup

Configure SCIM provisioning between Entra and SkillsDB.

SCIM Groups and Permissions

How default and custom SCIM groups map to SkillsDB permission levels.

SCIM Event Log

Audit trail for every SCIM event — use this to diagnose sync issues.

SCIM Overview

How SCIM fits into the broader SkillsDB identity model.

Need More Help?

If you run into issues that this page does not cover, reach out to your organization’s SkillsDB administrator or contact SkillsDB Support.