Identitiy search based on end date attribute

Hi experts,

In our environment, I noticed that searching inactive identities based on endDate field is not possible. When I run the query below, it does not return any value despite the endDate identity attribute is already marked as searchable. What could be the possible reasons? Any idea would be appreciated!

Hello @sahincelik
It seems like the issue might be related to how the query is structured or how the endDate field is indexed.
I used the modified date attribute in my query and got accurate results. You can try using your endDate attribute in a similar way—it should work if it’s properly indexed and searchable.
Screenshot 2024-10-10 195751

Your end date is a string not a date, that is the reason.

Read this document that will help you understand the issue

1 Like

How do you know that? Because I already use a transform for startDate and endDate fields, just like described in the guide.

Thanks @rohitmisal45, how should I make an identity attribute indexed?

@sahincelik Get the identity attribute you want to make searchable and got to Identity Attribute API then mark the searchable as true. This will works for your case.

Refer the below link for more info:
put-identity-attribute | SailPoint Developer Community.

Thanks,
Shantha Kumar

This was not the issue for me. Despite the guide says we can use date fields in the “yyyy-MM-dd” format and make it searchable, in reality, it does not work like this. It started working after when I change the dateFormat as “ISO8601”.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.