SCIM provisioning: when disabling a user with active roles, the users roles should be removed as well

Danny Bollaert 20 Reputation points
2024-09-23T21:55:24.3433333+00:00

Use case

I have a couple of applications who want to provision the different type of administrators to the applications using roles. The normal users are not being provisioned with SCIM.

Problem

When a user is removed from every group inside the enterprise application, a trigger event should deactivate/update the user. This update should contain the removal of all roles. Instead, because we do not use attribute-"Active" in our mapping, the user is not updated at all, when the user is deactivated.
Note
The application does receive an update that the user is removed from the group.

Expected Behaviour

When a user is removed from the group, the users loses the role assigned.

Even when the user is deactivated during the process.

Configuration With Active

When you allow active, only the active attribute is being updated.

Configuration flags tried

Result: no effect.

How to replicate it?

I used SCIM gateway loki plugin. This allows me to run an in memory SCIM server.
https://github.com/jelhub/scimgateway/tree/master

Thank you for having a look.
Danny

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,904 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.