SCIM
Cheat sheet · https://pcornel.dk/topic.php?topic=6258
Answer
SCIM (System for Cross-domain Identity Management) 2.0 is a REST and JSON standard for creating, updating and removing users and groups in another system. Identity providers use it to provision and deprovision accounts in SaaS applications.
Remember
SSO authenticates; SCIM provisions. The IdP is the SCIM client, the application is the SCIM server. Matching attribute (usually userName) links the two records; get it wrong and you create duplicates. Deprovisioning is usually active: false, not delete.
First checks
- IdP provisioning logs (e.g. Entra Provisioning logs) — every create, update, disable and the error.
GET /scim/v2/Users?filter=userName eq "anna@example.com"— does the app have the user?GET /scim/v2/ServiceProviderConfig— which features (PATCH, filter, bulk, ETag) the app supports.
Verify in this order
source change (assignment or attribute) → IdP provisioning cycle → scope filter → match on matching attribute → SCIM POST/PATCH/DELETE → HTTP status → provisioning log
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=6258