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
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 mappingexternalId 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:- SkillsDB receives a deprovisioning event for the old email and deactivates that user
- SkillsDB receives a provisioning event for the new email and creates a new user record
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.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.- Find your enterprise app’s service principal ID
-
List provisioning jobs to get the job ID:
-
Restart the job:
- 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
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
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
Common Questions
Why didn't my user's email change sync to SkillsDB?
Why didn't my user's email change sync to SkillsDB?
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.
A manager I removed in Entra still shows up in SkillsDB. Why?
A manager I removed in Entra still shows up in SkillsDB. Why?
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.
What happens if I delete the SkillsdbGlobalAdmins or SkillsdbFullAccess group in Entra?
What happens if I delete the SkillsdbGlobalAdmins or SkillsdbFullAccess group in Entra?
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.
How do I know if my initial sync worked correctly?
How do I know if my initial sync worked correctly?
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”).
Can I disable a user in SkillsDB without removing them from Entra?
Can I disable a user in SkillsDB without removing them from Entra?
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.
Related Articles
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.