1

I try to filter users in base to a certain attribute, I found an example to do this:

https://identity.sample.com/t/tenantname.com/scim2/Users?filter=EnterpriseUser.organization+Eq+WSO2

When I run the previos query, this is the result:

{
    "schemas": [
        "urn:ietf:params:scim:api:messages:2.0:Error"
    ],
    "scimType": "invalidValue",
    "detail": "Not a valid attribute name/uri",
    "status": "400"
}

The result for a filter using ID, is this:

"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": {
                "organization": "WSO2"               
 }
Community
  • 1
  • 1
BryGom
  • 649
  • 1
  • 11
  • 21

1 Answers1

3

As pointed out by Nipun Thathsara above you should be using a filter like below.

https://identity.sample.com/t/tenantname.com/scim2/Users?filter=urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:organization+Eq+WSO2

This was done to resolve spec compliance issue.

Maduranga Siriwardena
  • 1,341
  • 1
  • 13
  • 27