Munees Majid
Munees Majid

Reputation: 767

Issue to delete a group by using SCIM in WSO2 IS 5.0

I am using IS 5.0 and I deleted a group named 'developer' in wso2 IS using SCIM service but entry not deleted from table IDN_SCIM_GROUP. when get the details of same user i got error

{"Errors":[{"description":"Groups not found in the user store for the filter: displayNameEqdeveloper","code":"404"}]}

so i created group again with same name 'developer' but i am getting following error

{"Errors":[{"description":"Error when adding SCIM Attributes for the group:     PRIMARY/developer A Group with the same already exists.","code":"500"}]}

Thanks for any suggestion.

Upvotes: 2

Views: 208

Answers (1)

Munees Majid
Munees Majid

Reputation: 767

After adding the SCIMEnabled property in the usersore(demo.xml), this error didn't come. The SCIMUserOperationListener is responsible for managing the group attributes. This listener gets triggered only if SCIMEnabled property is set to true in the user store configuration. You could enable this from the UserStoreManagement UI for secondary user stores and directly edit the user-mgt.xml for primary user stores. (here is the JiRA)

Upvotes: 1

Related Questions